@hlw-uni/mp-vue 1.1.3 → 1.1.5
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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/style.css +36 -28
- package/package.json +8 -7
- package/src/components/hlw-header/index.vue +7 -1
- package/src/components/hlw-tag/index.vue +3 -0
package/dist/index.js
CHANGED
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
|
-
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
495
|
+
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-8497ffe5"]]);
|
|
496
496
|
const _hoisted_1$9 = { class: "hlw-loading" };
|
|
497
497
|
const _hoisted_2$7 = {
|
|
498
498
|
key: 0,
|
|
@@ -1208,7 +1208,7 @@
|
|
|
1208
1208
|
};
|
|
1209
1209
|
}
|
|
1210
1210
|
});
|
|
1211
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1211
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e4ea56ad"]]);
|
|
1212
1212
|
const useThemeStore = pinia.defineStore(
|
|
1213
1213
|
"theme",
|
|
1214
1214
|
() => {
|
package/dist/index.mjs
CHANGED
|
@@ -491,7 +491,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
493
|
});
|
|
494
|
-
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
494
|
+
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-8497ffe5"]]);
|
|
495
495
|
const _hoisted_1$9 = { class: "hlw-loading" };
|
|
496
496
|
const _hoisted_2$7 = {
|
|
497
497
|
key: 0,
|
|
@@ -1207,7 +1207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1207
1207
|
};
|
|
1208
1208
|
}
|
|
1209
1209
|
});
|
|
1210
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1210
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e4ea56ad"]]);
|
|
1211
1211
|
const useThemeStore = defineStore(
|
|
1212
1212
|
"theme",
|
|
1213
1213
|
() => {
|
package/dist/style.css
CHANGED
|
@@ -297,7 +297,7 @@ to {
|
|
|
297
297
|
font-size: var(--font-base, 28rpx);
|
|
298
298
|
color: #bbb;
|
|
299
299
|
}
|
|
300
|
-
.hlw-header[data-v-
|
|
300
|
+
.hlw-header[data-v-8497ffe5] {
|
|
301
301
|
position: sticky;
|
|
302
302
|
top: 0;
|
|
303
303
|
z-index: 999;
|
|
@@ -305,18 +305,18 @@ to {
|
|
|
305
305
|
flex-direction: column;
|
|
306
306
|
overflow: hidden;
|
|
307
307
|
}
|
|
308
|
-
.header-bg-layer[data-v-
|
|
308
|
+
.header-bg-layer[data-v-8497ffe5] {
|
|
309
309
|
position: absolute;
|
|
310
310
|
inset: 0;
|
|
311
311
|
z-index: 0;
|
|
312
312
|
}
|
|
313
|
-
.status-bar-spacer[data-v-
|
|
313
|
+
.status-bar-spacer[data-v-8497ffe5] {
|
|
314
314
|
flex-shrink: 0;
|
|
315
315
|
width: 100%;
|
|
316
316
|
position: relative;
|
|
317
317
|
z-index: 1;
|
|
318
318
|
}
|
|
319
|
-
.header-content-area[data-v-
|
|
319
|
+
.header-content-area[data-v-8497ffe5] {
|
|
320
320
|
flex-shrink: 0;
|
|
321
321
|
width: 100%;
|
|
322
322
|
display: flex;
|
|
@@ -324,29 +324,34 @@ to {
|
|
|
324
324
|
position: relative;
|
|
325
325
|
z-index: 1;
|
|
326
326
|
}
|
|
327
|
-
.header-back[data-v-
|
|
327
|
+
.header-back[data-v-8497ffe5] {
|
|
328
328
|
width: 88rpx;
|
|
329
329
|
height: 100%;
|
|
330
330
|
display: flex;
|
|
331
331
|
align-items: center;
|
|
332
332
|
justify-content: center;
|
|
333
333
|
flex-shrink: 0;
|
|
334
|
+
color: #475569;
|
|
335
|
+
}
|
|
336
|
+
.header-back[data-v-8497ffe5]:active {
|
|
337
|
+
opacity: 0.8;
|
|
334
338
|
}
|
|
335
|
-
.header-back-icon[data-v-
|
|
336
|
-
font-size:
|
|
339
|
+
.header-back-icon[data-v-8497ffe5] {
|
|
340
|
+
font-size: var(--font-md, 32rpx);
|
|
341
|
+
color: inherit;
|
|
337
342
|
}
|
|
338
|
-
.header-title[data-v-
|
|
343
|
+
.header-title[data-v-8497ffe5] {
|
|
339
344
|
flex: 1;
|
|
340
345
|
overflow: hidden;
|
|
341
346
|
}
|
|
342
|
-
.header-title--center[data-v-
|
|
347
|
+
.header-title--center[data-v-8497ffe5] {
|
|
343
348
|
text-align: center;
|
|
344
349
|
}
|
|
345
|
-
.header-title--left[data-v-
|
|
350
|
+
.header-title--left[data-v-8497ffe5] {
|
|
346
351
|
text-align: left;
|
|
347
352
|
padding-left: 4rpx;
|
|
348
353
|
}
|
|
349
|
-
.header-title-text[data-v-
|
|
354
|
+
.header-title-text[data-v-8497ffe5] {
|
|
350
355
|
display: block;
|
|
351
356
|
overflow: hidden;
|
|
352
357
|
text-overflow: ellipsis;
|
|
@@ -356,7 +361,7 @@ to {
|
|
|
356
361
|
font-weight: 500;
|
|
357
362
|
color: #14181f;
|
|
358
363
|
}
|
|
359
|
-
.header-placeholder[data-v-
|
|
364
|
+
.header-placeholder[data-v-8497ffe5] {
|
|
360
365
|
width: 88rpx;
|
|
361
366
|
flex-shrink: 0;
|
|
362
367
|
}
|
|
@@ -948,7 +953,7 @@ to {
|
|
|
948
953
|
border-radius: 6rpx;
|
|
949
954
|
background: var(--primary-color, #3b82f6);
|
|
950
955
|
transition: width 0.2s;
|
|
951
|
-
}.hlw-tag[data-v-
|
|
956
|
+
}.hlw-tag[data-v-e4ea56ad] {
|
|
952
957
|
display: inline-flex;
|
|
953
958
|
align-items: center;
|
|
954
959
|
justify-content: center;
|
|
@@ -959,71 +964,74 @@ to {
|
|
|
959
964
|
border: 2rpx solid transparent;
|
|
960
965
|
box-sizing: border-box;
|
|
961
966
|
}
|
|
962
|
-
.hlw-tag--medium[data-v-
|
|
967
|
+
.hlw-tag--medium[data-v-e4ea56ad] {
|
|
963
968
|
min-height: 36rpx;
|
|
964
969
|
padding: 4rpx 16rpx;
|
|
965
970
|
font-size: var(--font-xs, 20rpx);
|
|
966
971
|
border-radius: var(--radius-sm, 8rpx);
|
|
967
972
|
}
|
|
968
|
-
.hlw-tag--small[data-v-
|
|
973
|
+
.hlw-tag--small[data-v-e4ea56ad] {
|
|
969
974
|
min-height: 28rpx;
|
|
970
975
|
padding: 2rpx 10rpx;
|
|
971
976
|
font-size: 18rpx;
|
|
972
977
|
border-radius: 6rpx;
|
|
973
978
|
}
|
|
974
|
-
.hlw-tag--round[data-v-
|
|
979
|
+
.hlw-tag--round[data-v-e4ea56ad] {
|
|
975
980
|
border-radius: 999rpx;
|
|
976
981
|
}
|
|
977
|
-
.hlw-tag--primary[data-v-
|
|
982
|
+
.hlw-tag--primary[data-v-e4ea56ad] {
|
|
978
983
|
background: var(--primary-color, #3b82f6);
|
|
979
984
|
color: #fff;
|
|
980
985
|
border-color: var(--primary-color, #3b82f6);
|
|
981
986
|
}
|
|
982
|
-
.hlw-tag--primary.hlw-tag--plain[data-v-
|
|
987
|
+
.hlw-tag--primary.hlw-tag--plain[data-v-e4ea56ad] {
|
|
983
988
|
background: transparent;
|
|
984
989
|
color: var(--primary-color, #3b82f6);
|
|
985
990
|
}
|
|
986
|
-
.hlw-tag--success[data-v-
|
|
991
|
+
.hlw-tag--success[data-v-e4ea56ad] {
|
|
987
992
|
background: #10b981;
|
|
988
993
|
color: #fff;
|
|
989
994
|
border-color: #10b981;
|
|
990
995
|
}
|
|
991
|
-
.hlw-tag--success.hlw-tag--plain[data-v-
|
|
996
|
+
.hlw-tag--success.hlw-tag--plain[data-v-e4ea56ad] {
|
|
992
997
|
background: transparent;
|
|
993
998
|
color: #10b981;
|
|
994
999
|
}
|
|
995
|
-
.hlw-tag--warning[data-v-
|
|
1000
|
+
.hlw-tag--warning[data-v-e4ea56ad] {
|
|
996
1001
|
background: #f59e0b;
|
|
997
1002
|
color: #fff;
|
|
998
1003
|
border-color: #f59e0b;
|
|
999
1004
|
}
|
|
1000
|
-
.hlw-tag--warning.hlw-tag--plain[data-v-
|
|
1005
|
+
.hlw-tag--warning.hlw-tag--plain[data-v-e4ea56ad] {
|
|
1001
1006
|
background: transparent;
|
|
1002
1007
|
color: #f59e0b;
|
|
1003
1008
|
}
|
|
1004
|
-
.hlw-tag--danger[data-v-
|
|
1009
|
+
.hlw-tag--danger[data-v-e4ea56ad] {
|
|
1005
1010
|
background: #ef4444;
|
|
1006
1011
|
color: #fff;
|
|
1007
1012
|
border-color: #ef4444;
|
|
1008
1013
|
}
|
|
1009
|
-
.hlw-tag--danger.hlw-tag--plain[data-v-
|
|
1014
|
+
.hlw-tag--danger.hlw-tag--plain[data-v-e4ea56ad] {
|
|
1010
1015
|
background: transparent;
|
|
1011
1016
|
color: #ef4444;
|
|
1012
1017
|
}
|
|
1013
|
-
.hlw-tag--info[data-v-
|
|
1018
|
+
.hlw-tag--info[data-v-e4ea56ad] {
|
|
1014
1019
|
background: #64748b;
|
|
1015
1020
|
color: #fff;
|
|
1016
1021
|
border-color: #64748b;
|
|
1017
1022
|
}
|
|
1018
|
-
.hlw-tag--info.hlw-tag--plain[data-v-
|
|
1023
|
+
.hlw-tag--info.hlw-tag--plain[data-v-e4ea56ad] {
|
|
1019
1024
|
background: transparent;
|
|
1020
1025
|
color: #64748b;
|
|
1021
1026
|
}
|
|
1022
|
-
.hlw-tag-text[data-v-
|
|
1027
|
+
.hlw-tag-text[data-v-e4ea56ad] {
|
|
1023
1028
|
display: block;
|
|
1029
|
+
font-size: inherit;
|
|
1030
|
+
font-weight: inherit;
|
|
1031
|
+
color: inherit;
|
|
1024
1032
|
line-height: 1.2;
|
|
1025
1033
|
}
|
|
1026
|
-
.hlw-tag-close[data-v-
|
|
1034
|
+
.hlw-tag-close[data-v-e4ea56ad] {
|
|
1027
1035
|
font-size: 1em;
|
|
1028
1036
|
line-height: 1;
|
|
1029
1037
|
display: inline-flex;
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hlw-uni/mp-vue",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "hlw-uni Vue 组件库 — 供小程序业务方使用的 UI 组件集合",
|
|
5
|
-
"main": "
|
|
6
|
-
"module": "
|
|
7
|
-
"types": "
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"import": "./
|
|
11
|
-
"require": "./
|
|
12
|
-
"types": "./
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
13
|
},
|
|
14
|
+
"./dist/*": "./dist/*",
|
|
14
15
|
"./src/*": "./src/*"
|
|
15
16
|
},
|
|
16
17
|
"files": [
|
|
@@ -172,10 +172,16 @@ const totalNavBarHeight = computed(() => statusBarHeight.value + NAV_BAR_CONTENT
|
|
|
172
172
|
align-items: center;
|
|
173
173
|
justify-content: center;
|
|
174
174
|
flex-shrink: 0;
|
|
175
|
+
color: #475569;
|
|
176
|
+
|
|
177
|
+
&:active {
|
|
178
|
+
opacity: 0.8;
|
|
179
|
+
}
|
|
175
180
|
}
|
|
176
181
|
|
|
177
182
|
.header-back-icon {
|
|
178
|
-
font-size:
|
|
183
|
+
font-size: var(--font-md, 32rpx);
|
|
184
|
+
color: inherit;
|
|
179
185
|
}
|
|
180
186
|
|
|
181
187
|
.header-title {
|