@hlw-uni/mp-vue 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -185,7 +185,7 @@ const totalNavBarHeight = computed(() => statusBarHeight.value + NAV_BAR_CONTENT
|
|
|
185
185
|
align-items: center;
|
|
186
186
|
justify-content: center;
|
|
187
187
|
flex-shrink: 0;
|
|
188
|
-
color: #475569;
|
|
188
|
+
color: var(--text-secondary, #475569);
|
|
189
189
|
|
|
190
190
|
&:active {
|
|
191
191
|
opacity: 0.8;
|
|
@@ -219,7 +219,7 @@ const totalNavBarHeight = computed(() => statusBarHeight.value + NAV_BAR_CONTENT
|
|
|
219
219
|
letter-spacing: 1rpx;
|
|
220
220
|
font-size: var(--font-base, 28rpx);
|
|
221
221
|
font-weight: 500;
|
|
222
|
-
color: #14181f;
|
|
222
|
+
color: var(--text-primary, #14181f);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.header-placeholder {
|
|
@@ -200,7 +200,7 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
|
|
|
200
200
|
--hlw-menu-icon-box-size: calc(var(--hlw-menu-icon-size) + 40rpx);
|
|
201
201
|
--hlw-menu-grid-icon-size: var(--font-lg, 36rpx);
|
|
202
202
|
--hlw-menu-grid-icon-box-size: calc(var(--hlw-menu-grid-icon-size) + 52rpx);
|
|
203
|
-
background: #
|
|
203
|
+
background: var(--surface-card, #ffffff);
|
|
204
204
|
border-radius: var(--radius-lg, 24rpx);
|
|
205
205
|
border: 1rpx solid var(--border-color, #e2e8f0);
|
|
206
206
|
overflow: hidden;
|
|
@@ -217,7 +217,7 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
|
|
|
217
217
|
text {
|
|
218
218
|
font-size: var(--font-sm, 24rpx);
|
|
219
219
|
font-weight: 600;
|
|
220
|
-
color: #94a3b8;
|
|
220
|
+
color: var(--text-subtle, #94a3b8);
|
|
221
221
|
letter-spacing: 1rpx;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
@@ -235,7 +235,7 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
|
|
|
235
235
|
padding: 24rpx 32rpx;
|
|
236
236
|
|
|
237
237
|
&--active {
|
|
238
|
-
background: #f8fafc;
|
|
238
|
+
background: var(--surface-card-muted, #f8fafc);
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
|
|
@@ -295,7 +295,7 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
|
|
|
295
295
|
padding: 12rpx 8rpx;
|
|
296
296
|
|
|
297
297
|
&--active {
|
|
298
|
-
background: #f8fafc;
|
|
298
|
+
background: var(--surface-card-muted, #f8fafc);
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
|
|
@@ -320,7 +320,7 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
|
|
|
320
320
|
|
|
321
321
|
.hlw-menu-grid-label {
|
|
322
322
|
font-size: var(--font-sm, 24rpx);
|
|
323
|
-
color: #334155;
|
|
323
|
+
color: var(--text-secondary, #334155);
|
|
324
324
|
text-align: center;
|
|
325
325
|
}
|
|
326
326
|
|
|
@@ -389,12 +389,12 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
|
|
|
389
389
|
.hlw-menu-label {
|
|
390
390
|
font-size: var(--font-base, 28rpx);
|
|
391
391
|
font-weight: 500;
|
|
392
|
-
color: #334155;
|
|
392
|
+
color: var(--text-secondary, #334155);
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
.hlw-menu-value {
|
|
396
396
|
font-size: var(--font-sm, 24rpx);
|
|
397
|
-
color: #94a3b8;
|
|
397
|
+
color: var(--text-subtle, #94a3b8);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
.hlw-menu-tag {
|
|
@@ -436,14 +436,14 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
|
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.hlw-menu-arrow {
|
|
439
|
-
color: #d1d5db;
|
|
439
|
+
color: var(--text-disabled, #d1d5db);
|
|
440
440
|
font-size: var(--font-sm, 24rpx);
|
|
441
441
|
}
|
|
442
442
|
.hlw-menu-spin {
|
|
443
443
|
animation: icon-spin 1s linear infinite;
|
|
444
444
|
}
|
|
445
445
|
.hlw-menu-muted {
|
|
446
|
-
color: #94a3b8;
|
|
446
|
+
color: var(--text-subtle, #94a3b8);
|
|
447
447
|
font-size: var(--font-sm, 24rpx);
|
|
448
448
|
}
|
|
449
449
|
|
|
@@ -82,7 +82,7 @@ function onCancel() {
|
|
|
82
82
|
.hlw-modal {
|
|
83
83
|
width: 80%;
|
|
84
84
|
max-width: 600rpx;
|
|
85
|
-
background: #
|
|
85
|
+
background: var(--surface-card, #ffffff);
|
|
86
86
|
border-radius: var(--radius-xl, 32rpx);
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
animation: hlw-scale-in 0.25s ease;
|
|
@@ -93,12 +93,12 @@ function onCancel() {
|
|
|
93
93
|
text-align: center;
|
|
94
94
|
font-size: var(--font-md, 32rpx);
|
|
95
95
|
font-weight: 600;
|
|
96
|
-
color: #1e293b;
|
|
96
|
+
color: var(--text-primary, #1e293b);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.hlw-modal-body {
|
|
100
100
|
font-size: var(--font-base, 28rpx);
|
|
101
|
-
color: #475569;
|
|
101
|
+
color: var(--text-secondary, #475569);
|
|
102
102
|
text-align: center;
|
|
103
103
|
line-height: 1.6;
|
|
104
104
|
}
|
|
@@ -115,10 +115,10 @@ function onCancel() {
|
|
|
115
115
|
font-size: var(--font-base, 28rpx);
|
|
116
116
|
font-weight: 500;
|
|
117
117
|
|
|
118
|
-
&:active { background: #f8fafc; }
|
|
118
|
+
&:active { background: var(--surface-card-muted, #f8fafc); }
|
|
119
119
|
|
|
120
120
|
&--cancel {
|
|
121
|
-
color: #64748b;
|
|
121
|
+
color: var(--text-muted, #64748b);
|
|
122
122
|
border-right: 1rpx solid var(--border-color-light, #f1f5f9);
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -180,7 +180,7 @@ onBeforeUnmount(() => {
|
|
|
180
180
|
left: 0;
|
|
181
181
|
right: 0;
|
|
182
182
|
bottom: 0;
|
|
183
|
-
background: #ffffff;
|
|
183
|
+
background: var(--surface-card, #ffffff);
|
|
184
184
|
border-radius: var(--radius-xl, 32rpx) var(--radius-xl, 32rpx) 0 0;
|
|
185
185
|
display: flex;
|
|
186
186
|
flex-direction: column;
|
|
@@ -213,7 +213,7 @@ onBeforeUnmount(() => {
|
|
|
213
213
|
.hlw-sheet-title {
|
|
214
214
|
font-size: var(--font-md, 32rpx);
|
|
215
215
|
font-weight: 700;
|
|
216
|
-
color: #0f172a;
|
|
216
|
+
color: var(--text-primary, #0f172a);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.hlw-sheet-close {
|
|
@@ -224,7 +224,7 @@ onBeforeUnmount(() => {
|
|
|
224
224
|
height: 56rpx;
|
|
225
225
|
border-radius: 50%;
|
|
226
226
|
background: var(--border-color-light, #f1f5f9);
|
|
227
|
-
color: #64748b;
|
|
227
|
+
color: var(--text-muted, #64748b);
|
|
228
228
|
display: flex;
|
|
229
229
|
align-items: center;
|
|
230
230
|
justify-content: center;
|