commit | author | age
|
d3f921
|
1 |
<template> |
41b36f
|
2 |
<a-layout> |
019990
|
3 |
<a-layout-header class="scrolling-navbar" |
I |
4 |
:style="{position:'fixed',height:'60px',marginBottom:'35px',zIndex: 999, width: '100%' }"> |
|
5 |
<tag-Header /> |
41b36f
|
6 |
</a-layout-header> |
I |
7 |
|
b505f3
|
8 |
<router-view></router-view> |
41b36f
|
9 |
|
I |
10 |
<a-layout-footer> |
019990
|
11 |
<AplayerBox /> |
41b36f
|
12 |
<tagFooter /> |
I |
13 |
</a-layout-footer> |
f9c38e
|
14 |
|
b505f3
|
15 |
<a-back-top> |
I |
16 |
<a-icon type="up" />回到顶部 |
|
17 |
</a-back-top> |
|
18 |
|
41b36f
|
19 |
</a-layout> |
d3f921
|
20 |
</template> |
I |
21 |
|
|
22 |
<script> |
41b36f
|
23 |
import tagHeader from "../fixed/header.vue" |
I |
24 |
import tagFooter from "../fixed/footer.vue" |
019990
|
25 |
import AplayerBox from "../mini/Aplayer.vue" |
d3f921
|
26 |
export default { |
I |
27 |
components: { |
41b36f
|
28 |
tagHeader, |
I |
29 |
tagFooter, |
019990
|
30 |
AplayerBox, |
d3f921
|
31 |
}, |
I |
32 |
data() { |
|
33 |
return { |
|
34 |
|
|
35 |
} |
56a4b8
|
36 |
}, |
d629d9
|
37 |
methods: { |
b505f3
|
38 |
|
d629d9
|
39 |
// 下载文件 |
L |
40 |
down: function() { |
|
41 |
console.log(111); |
|
42 |
this.$axios({ |
|
43 |
"url": "http://192.168.40.149:9000/test2/save/%E6%B5%8B%E8%AF%95%E9%83%A8/%E6%96%87%E4%BB%B6%E7%BB%84/OIP-C.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin/20220113/us-east-1/s3/aws4_request&X-Amz-Date=20220113T085350Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=36db32d3fe577716ada0655379327e837efdfd3a133be6051281ae9eaad8e04f", |
|
44 |
"method": "get", |
|
45 |
"responseType": "blob" |
|
46 |
|
|
47 |
}).then((res) => { |
|
48 |
|
|
49 |
let blob = new Blob([res.data], { |
|
50 |
type: "application/octet-stream" |
|
51 |
}); |
|
52 |
let url = window.URL.createObjectURL(blob) |
|
53 |
let link = document.createElement('a') |
41b36f
|
54 |
link.download = "inleft.jpg" |
I |
55 |
|
d629d9
|
56 |
link.style.display = 'none' |
L |
57 |
link.href = url |
|
58 |
document.body.appendChild(link) |
|
59 |
link.click() |
|
60 |
}) |
|
61 |
} |
|
62 |
|
|
63 |
} |
d3f921
|
64 |
} |
I |
65 |
</script> |
|
66 |
|
|
67 |
<style lang="less"> |
41b36f
|
68 |
.app { |
ad2b70
|
69 |
.ant-layout {} |
L |
70 |
|
|
71 |
.ant-layout-header { |
d629d9
|
72 |
backdrop-filter: saturate(180%) blur(1em); |
019990
|
73 |
-webkit-backdrop-filter: blur(5px); |
d629d9
|
74 |
background: linear-gradient(90deg, rgba(247, 149, 51, 0.101961) 0, rgba(243, 112, 85, 0.101961) 15%, rgba(239, 78, 123, 0.101961) 30%, rgba(161, 102, 171, 0.101961) 44%, rgba(80, 115, 184, 0.101961) 58%, rgba(16, 152, 173, 0.101961) 72%, rgba(7, 179, 155, 0.101961) 86%, rgba(109, 186, 130, 0.101961) 100%); |
d3f921
|
75 |
} |
I |
76 |
|
|
77 |
.ant-layout-footer { |
ad2b70
|
78 |
background-color: #edf1f299; |
L |
79 |
padding: 0px; |
41b36f
|
80 |
padding-top: 20px; |
ad2b70
|
81 |
|
L |
82 |
p { |
|
83 |
margin: auto; |
|
84 |
color: #757575; |
|
85 |
} |
|
86 |
|
|
87 |
a { |
|
88 |
opacity: 0.8; |
|
89 |
color: #757575; |
|
90 |
} |
d3f921
|
91 |
} |
I |
92 |
|
f9c38e
|
93 |
.ant-timeline-item-head { |
I |
94 |
background-color: transparent !important; |
|
95 |
} |
|
96 |
|
d3f921
|
97 |
} |
I |
98 |
|
|
99 |
span, |
|
100 |
p { |
|
101 |
font-size: 17px; |
|
102 |
letter-spacing: 0.8px; |
ad2b70
|
103 |
line-height: 22px; |
L |
104 |
} |
019990
|
105 |
|
aab811
|
106 |
.scrolling-navbar { |
019990
|
107 |
will-change: background, padding, height; |
I |
108 |
-webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out; |
|
109 |
transition: background 0.5s ease-in-out, padding 0.5s ease-in-out; |
aab811
|
110 |
} |
ad2b70
|
111 |
|
L |
112 |
.fade { |
|
113 |
-webkit-animation-name: "fade"; |
|
114 |
-webkit-animation-duration: 2s; |
|
115 |
-webkit-animation-iteration-count: 1; |
d3f921
|
116 |
} |
I |
117 |
|
|
118 |
.fadeInLeft { |
|
119 |
-webkit-animation-name: "fadeInLeft"; |
|
120 |
-webkit-animation-duration: 1s; |
|
121 |
-webkit-animation-iteration-count: 1; |
|
122 |
} |
|
123 |
|
|
124 |
.fadeInRight { |
|
125 |
-webkit-animation-name: "fadeInRight"; |
|
126 |
-webkit-animation-duration: 1s; |
|
127 |
-webkit-animation-iteration-count: 1; |
|
128 |
} |
|
129 |
|
|
130 |
|
|
131 |
// 动画 |
|
132 |
@-webkit-keyframes fadeInLeft { |
|
133 |
0% { |
|
134 |
opacity: 0; |
|
135 |
-webkit-transform: translateX(-120px); |
|
136 |
} |
|
137 |
|
|
138 |
100% { |
|
139 |
opacity: 1; |
|
140 |
-webkit-transform: translateX(0); |
|
141 |
} |
|
142 |
} |
|
143 |
|
|
144 |
@keyframes fadeInLeft { |
|
145 |
0% { |
|
146 |
opacity: 0; |
|
147 |
transform: translateX(-120px); |
|
148 |
} |
|
149 |
|
|
150 |
100% { |
|
151 |
opacity: 1; |
|
152 |
transform: translateX(0); |
|
153 |
} |
|
154 |
} |
|
155 |
|
|
156 |
@-webkit-keyframes fadeInRight { |
|
157 |
0% { |
|
158 |
opacity: 0; |
|
159 |
-webkit-transform: translateX(120px); |
|
160 |
} |
|
161 |
|
|
162 |
100% { |
|
163 |
opacity: 1; |
|
164 |
-webkit-transform: translateX(0); |
|
165 |
} |
|
166 |
} |
|
167 |
|
|
168 |
@keyframes fadeInRight { |
|
169 |
0% { |
|
170 |
opacity: 0; |
|
171 |
transform: translateX(120px); |
|
172 |
} |
|
173 |
|
|
174 |
100% { |
|
175 |
opacity: 1; |
|
176 |
transform: translateX(0); |
|
177 |
} |
|
178 |
} |
|
179 |
|
|
180 |
@-webkit-keyframes fade { |
|
181 |
0% { |
|
182 |
opacity: 0; |
|
183 |
} |
|
184 |
|
|
185 |
100% { |
|
186 |
opacity: 1; |
|
187 |
} |
|
188 |
} |
|
189 |
|
|
190 |
@keyframes fade { |
|
191 |
0% { |
|
192 |
opacity: 0; |
|
193 |
} |
|
194 |
|
|
195 |
100% { |
|
196 |
opacity: 1; |
|
197 |
} |
|
198 |
} |
|
199 |
</style> |