Blame view

member-miniapp/styles/subpage.scss 5.37 KB
5c34676a   “wangming”   对会员端进行了设计
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  @import '@/styles/mixins.scss';
  
  .subpage-content {
    padding-bottom: calc(96rpx + env(safe-area-inset-bottom)) !important;
  }
  
  .subpage-nav {
    display: flex;
    align-items: center;
    margin-bottom: 28rpx;
  }
  
  .subpage-back {
    width: 72rpx;
    height: 72rpx;
    margin-right: 20rpx;
    border-radius: 24rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42rpx;
    color: $brand-primary-deep;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: $shadow-soft;
d8035736   “wangming”   Refactor project ...
25
26
27
28
29
30
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
  }
  
  .subpage-back:active {
    transform: scale(0.95);
    box-shadow: 0 12rpx 26rpx rgba(54, 77, 64, 0.08);
5c34676a   “wangming”   对会员端进行了设计
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
  }
  
  .subpage-title-wrap {
    flex: 1;
  }
  
  .subpage-title {
    display: block;
    font-size: 44rpx;
    font-weight: 700;
    color: $text-primary;
  }
  
  .subpage-subtitle {
    display: block;
    margin-top: 10rpx;
    font-size: 24rpx;
    color: $text-secondary;
    line-height: 1.7;
  }
  
  .subpage-card {
    @include outlined-card(0.9);
    padding: 34rpx;
    margin-bottom: 24rpx;
d8035736   “wangming”   Refactor project ...
56
57
58
59
60
61
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, border-color 320ms ease;
  }
  
  .subpage-card:active {
    transform: translateY(2rpx) scale(0.996);
    box-shadow: 0 18rpx 36rpx rgba(54, 77, 64, 0.08);
5c34676a   “wangming”   对会员端进行了设计
62
63
64
65
66
67
68
  }
  
  .subpage-hero {
    position: relative;
    overflow: hidden;
    padding: 36rpx;
    margin-bottom: 28rpx;
d8035736   “wangming”   Refactor project ...
69
70
71
72
73
74
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease;
  }
  
  .subpage-hero:active {
    transform: translateY(-4rpx);
    box-shadow: 0 22rpx 42rpx rgba(54, 77, 64, 0.1);
5c34676a   “wangming”   对会员端进行了设计
75
76
77
78
79
80
81
82
83
84
85
  }
  
  .subpage-hero::before {
    content: '';
    position: absolute;
    right: -80rpx;
    top: -24rpx;
    width: 300rpx;
    height: 300rpx;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 140, 118, 0.055), rgba(100, 140, 118, 0));
d8035736   “wangming”   Refactor project ...
86
    animation: lfFloatSoft 10.8s ease-in-out infinite;
5c34676a   “wangming”   对会员端进行了设计
87
88
89
90
91
92
93
94
95
96
97
  }
  
  .subpage-hero::after {
    content: '';
    position: absolute;
    right: 26rpx;
    top: 36rpx;
    width: 168rpx;
    height: 168rpx;
    border-radius: 50%;
    border: 2rpx solid rgba(210, 191, 156, 0.12);
d8035736   “wangming”   Refactor project ...
98
    animation: lfPulseSoft 8.4s ease-in-out infinite;
5c34676a   “wangming”   对会员端进行了设计
99
100
101
102
103
104
105
106
107
  }
  
  .hero-kicker {
    position: relative;
    z-index: 2;
    display: inline-block;
    font-size: 20rpx;
    letter-spacing: 4rpx;
    color: rgba(143, 118, 86, 0.82);
d8035736   “wangming”   Refactor project ...
108
    animation: lfRevealUp 760ms cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
5c34676a   “wangming”   对会员端进行了设计
109
110
111
112
113
114
115
116
117
118
  }
  
  .hero-title {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 14rpx;
    font-size: 40rpx;
    line-height: 1.35;
    font-weight: 700;
d8035736   “wangming”   Refactor project ...
119
    animation: lfRevealUp 760ms cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
5c34676a   “wangming”   对会员端进行了设计
120
121
122
123
124
125
126
127
128
129
  }
  
  .hero-desc {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 14rpx;
    font-size: 24rpx;
    line-height: 1.8;
    color: $text-secondary;
d8035736   “wangming”   Refactor project ...
130
    animation: lfRevealUp 760ms cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
5c34676a   “wangming”   对会员端进行了设计
131
132
133
134
135
136
137
138
139
140
141
  }
  
  .meta-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 18rpx -8rpx 0;
  }
  
  .meta-pill {
    margin: 8rpx;
    @include chip-soft;
d8035736   “wangming”   Refactor project ...
142
143
144
145
146
    transition: transform 240ms ease, box-shadow 240ms ease;
  }
  
  .meta-pill:active {
    transform: scale(0.97);
5c34676a   “wangming”   对会员端进行了设计
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
  }
  
  .meta-pill.rose {
    @include chip-rose;
  }
  
  .info-list {
    padding: 8rpx 0;
  }
  
  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18rpx 0;
    border-bottom: 1rpx solid rgba(100, 140, 118, 0.08);
  }
  
  .info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  
  .info-label {
    width: 160rpx;
    font-size: 24rpx;
    color: $text-secondary;
  }
  
  .info-value {
    flex: 1;
    text-align: right;
    font-size: 24rpx;
    line-height: 1.5;
    color: $text-primary;
    font-weight: 400;
  }
  
  .section-gap {
    margin-bottom: 28rpx;
  }
  
  .soft-panel {
    padding: 24rpx;
    border-radius: 28rpx;
    background: rgba(210, 191, 156, 0.1);
    box-shadow: $shadow-soft;
d8035736   “wangming”   Refactor project ...
194
    transition: transform 280ms ease, box-shadow 280ms ease;
5c34676a   “wangming”   对会员端进行了设计
195
196
197
198
199
200
  }
  
  .cta-row {
    display: flex;
    gap: 18rpx;
    margin-top: 8rpx;
d8035736   “wangming”   Refactor project ...
201
    animation: lfRevealUp 780ms cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
5c34676a   “wangming”   对会员端进行了设计
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
  }
  
  .cta-row .primary-button,
  .cta-row .secondary-button {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 92rpx;
    padding: 0 24rpx;
    justify-content: center;
    text-align: center;
    border-radius: 44rpx;
  }
  
  .cta-row .primary-button {
    box-shadow: 0 24rpx 54rpx rgba(36, 74, 61, 0.16);
  }
  
  .cta-row .secondary-button {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(210, 191, 156, 0.24);
    box-shadow: 0 16rpx 34rpx rgba(54, 77, 64, 0.07);
  }
  
  .empty-tip {
    text-align: center;
    font-size: 24rpx;
    color: $text-secondary;
  }
  
d8035736   “wangming”   Refactor project ...
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
  .empty-card {
    text-align: center;
  }
  
  .empty-title,
  .empty-desc {
    display: block;
  }
  
  .empty-title {
    font-size: 32rpx;
    font-weight: 700;
    color: $text-primary;
  }
  
  .empty-desc {
    margin-top: 14rpx;
    font-size: 24rpx;
    line-height: 1.8;
    color: $text-secondary;
  }
  
  .empty-button {
    width: 100%;
    margin-top: 28rpx;
    animation: lfRevealUp 780ms cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
  }
  
5c34676a   “wangming”   对会员端进行了设计
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
  /* 统一二级/三级页面文字层级 */
  .hero-kicker,
  .address-kicker,
  .wish-badge,
  .auth-kicker {
    font-size: 20rpx;
    letter-spacing: 4rpx;
  }
  
  .wish-name,
  .order-name,
  .address-main,
  .setting-title,
  .flow-title,
  .panel-title {
    font-size: 30rpx;
    line-height: 1.5;
    font-weight: 700;
    color: $text-primary;
  }
  
  .wish-desc,
  .product-desc,
  .detail-copy,
  .spec-item,
  .address-detail,
  .setting-desc,
  .flow-desc,
  .panel-desc,
  .empty-desc,
  .note-desc {
    font-size: 24rpx;
    line-height: 1.8;
    color: $text-secondary;
  }
  
  .wish-price,
  .order-amount,
  .product-price {
    font-weight: 700;
    color: $brand-primary-deep;
  }