@hlw-uni/mp-vue 1.0.9 → 1.0.11

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 CHANGED
@@ -278,7 +278,7 @@
278
278
  };
279
279
  }
280
280
  });
281
- const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-312d1ac1"]]);
281
+ const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-9a6c839c"]]);
282
282
  const _hoisted_1$2 = { class: "hlw-loading" };
283
283
  const _hoisted_2$2 = {
284
284
  key: 0,
package/dist/index.mjs CHANGED
@@ -275,7 +275,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
275
275
  };
276
276
  }
277
277
  });
278
- const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-312d1ac1"]]);
278
+ const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-9a6c839c"]]);
279
279
  const _hoisted_1$2 = { class: "hlw-loading" };
280
280
  const _hoisted_2$2 = {
281
281
  key: 0,
package/dist/style.css CHANGED
@@ -57,7 +57,7 @@
57
57
  font-size: 28rpx;
58
58
  color: #bbb;
59
59
  }
60
- .hlw-header[data-v-312d1ac1] {
60
+ .hlw-header[data-v-9a6c839c] {
61
61
  position: sticky;
62
62
  top: 0;
63
63
  z-index: 999;
@@ -65,18 +65,18 @@
65
65
  flex-direction: column;
66
66
  overflow: hidden;
67
67
  }
68
- .header-bg-layer[data-v-312d1ac1] {
68
+ .header-bg-layer[data-v-9a6c839c] {
69
69
  position: absolute;
70
70
  inset: 0;
71
71
  z-index: 0;
72
72
  }
73
- .status-bar-spacer[data-v-312d1ac1] {
73
+ .status-bar-spacer[data-v-9a6c839c] {
74
74
  flex-shrink: 0;
75
75
  width: 100%;
76
76
  position: relative;
77
77
  z-index: 1;
78
78
  }
79
- .header-content-area[data-v-312d1ac1] {
79
+ .header-content-area[data-v-9a6c839c] {
80
80
  flex-shrink: 0;
81
81
  width: 100%;
82
82
  display: flex;
@@ -84,7 +84,7 @@
84
84
  position: relative;
85
85
  z-index: 1;
86
86
  }
87
- .header-back[data-v-312d1ac1] {
87
+ .header-back[data-v-9a6c839c] {
88
88
  width: 88rpx;
89
89
  height: 100%;
90
90
  display: flex;
@@ -92,21 +92,21 @@
92
92
  justify-content: center;
93
93
  flex-shrink: 0;
94
94
  }
95
- .header-back-icon[data-v-312d1ac1] {
95
+ .header-back-icon[data-v-9a6c839c] {
96
96
  font-size: 36rpx;
97
97
  }
98
- .header-title[data-v-312d1ac1] {
98
+ .header-title[data-v-9a6c839c] {
99
99
  flex: 1;
100
100
  overflow: hidden;
101
101
  }
102
- .header-title--center[data-v-312d1ac1] {
102
+ .header-title--center[data-v-9a6c839c] {
103
103
  text-align: center;
104
104
  }
105
- .header-title--left[data-v-312d1ac1] {
105
+ .header-title--left[data-v-9a6c839c] {
106
106
  text-align: left;
107
107
  padding-left: 4rpx;
108
108
  }
109
- .header-title-text[data-v-312d1ac1] {
109
+ .header-title-text[data-v-9a6c839c] {
110
110
  display: block;
111
111
  overflow: hidden;
112
112
  text-overflow: ellipsis;
@@ -114,8 +114,9 @@
114
114
  letter-spacing: 1rpx;
115
115
  font-size: 26rpx;
116
116
  font-weight: 500;
117
+ color: #14181f;
117
118
  }
118
- .header-placeholder[data-v-312d1ac1] {
119
+ .header-placeholder[data-v-9a6c839c] {
119
120
  width: 88rpx;
120
121
  flex-shrink: 0;
121
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hlw-uni/mp-vue",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "hlw-uni Vue 组件库 — 供小程序业务方使用的 UI 组件集合",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -14,10 +14,7 @@
14
14
  </view>
15
15
 
16
16
  <!-- 标题 -->
17
- <view
18
- class="header-title"
19
- :class="props.titleAlign === 'left' ? 'header-title--left' : 'header-title--center'"
20
- >
17
+ <view class="header-title" :class="props.titleAlign === 'left' ? 'header-title--left' : 'header-title--center'">
21
18
  <slot name="title">
22
19
  <text class="header-title-text" :style="titleStyle">{{ props.title }}</text>
23
20
  </slot>
@@ -175,6 +172,7 @@ const totalNavBarHeight = computed(() => statusBarHeight.value + NAV_BAR_CONTENT
175
172
  letter-spacing: 1rpx;
176
173
  font-size: 26rpx;
177
174
  font-weight: 500;
175
+ color: #14181f;
178
176
  }
179
177
 
180
178
  .header-placeholder {
package/src/env.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare module '*.vue' {
2
+ import type { DefineComponent } from 'vue'
3
+ const component: DefineComponent<object, object, unknown>
4
+ export default component
5
+ }