text-to-audio-result.wxss
3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
/**text-to-audio-result.wxss**/
/* 防止横向滚动 */
page {
width: 100%;
height: 100%;
overflow-x: hidden;
box-sizing: border-box;
}
/* 动态背景样式 */
.bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
filter: blur(120px);
z-index: -1;
}
.ball {
position: absolute;
border-radius: 50%;
}
.ball-1 {
width: 400rpx;
height: 400rpx;
background-color: #4472c4;
animation: move-1 8s ease-in-out infinite;
}
.ball-2 {
width: 500rpx;
height: 500rpx;
background-color: #00b050;
animation: move-2 10s ease-in-out infinite;
}
@keyframes move-1 {
0% {
transform: translate(0, 0);
}
25% {
transform: translate(500rpx, 600rpx);
}
50% {
transform: translate(-300rpx, 1000rpx);
}
75% {
transform: translate(-400rpx, 400rpx);
}
100% {
transform: translate(0, 0);
}
}
@keyframes move-2 {
0% {
transform: translate(100rpx, 100rpx);
}
25% {
transform: translate(-500rpx, -200rpx);
}
50% {
transform: translate(400rpx, 800rpx);
}
75% {
transform: translate(600rpx, 200rpx);
}
100% {
transform: translate(100rpx, 100rpx);
}
}
/* 全局移除按钮边框 */
button {
border: none !important;
outline: none !important;
}
button::after {
border: none !important;
}
button::before {
border: none !important;
}
/* 音频卡片 */
.audio-card {
margin-bottom: 20rpx;
padding: 30rpx;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10rpx);
border-radius: 24rpx;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
}
.audio-card:active {
transform: translateY(-2rpx);
box-shadow: 0 12rpx 48rpx rgba(0, 0, 0, 0.12);
}
.audio-text {
font-size: 32rpx;
line-height: 1.6;
color: #333;
margin-bottom: 24rpx;
word-break: break-all;
}
.audio-footer {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.audio-info {
display: flex;
align-items: center;
gap: 16rpx;
font-size: 24rpx;
color: #999;
}
.audio-type {
padding: 4rpx 12rpx;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 8rpx;
font-size: 22rpx;
}
.audio-date {
color: #999;
}
.audio-actions {
display: flex;
gap: 16rpx;
}
.btn-action {
flex: 1;
height: 64rpx;
line-height: 64rpx;
font-size: 26rpx;
border-radius: 32rpx;
transition: all 0.3s ease;
}
.btn-play {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.4);
}
.btn-play:active {
transform: scale(0.95);
box-shadow: 0 2rpx 8rpx rgba(102, 126, 234, 0.4);
}
.btn-download {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
color: white;
box-shadow: 0 4rpx 16rpx rgba(240, 147, 251, 0.4);
}
.btn-download:active {
transform: scale(0.95);
box-shadow: 0 2rpx 8rpx rgba(240, 147, 251, 0.4);
}
.btn-delete {
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
color: white;
box-shadow: 0 4rpx 16rpx rgba(255, 107, 107, 0.4);
}
.btn-delete:active {
transform: scale(0.95);
box-shadow: 0 2rpx 8rpx rgba(255, 107, 107, 0.4);
}
/* 空状态 */
.empty-state {
padding: 120rpx 60rpx;
text-align: center;
}
.empty-icon {
font-size: 120rpx;
margin-bottom: 32rpx;
opacity: 0.6;
}
.empty-text {
font-size: 32rpx;
color: #666;
margin-bottom: 16rpx;
font-weight: 600;
}
.empty-desc {
font-size: 28rpx;
color: #999;
}