@hlw-uni/mp-core 1.0.0 → 1.0.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/dist/components/Avatar.d.ts +7 -0
- package/dist/components/Empty.d.ts +2 -0
- package/dist/components/Loading.d.ts +2 -0
- package/dist/components/MenuList.d.ts +10 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1048 -274
- package/dist/index.mjs +775 -3
- package/package.json +2 -3
- package/dist/assets/index.css +0 -191
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hlw-uni/mp-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "UniApp 运行时核心包 — composables、Pinia stores、工具函数、UI 组件",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -30,8 +30,7 @@
|
|
|
30
30
|
"pinia": "^2.1.7",
|
|
31
31
|
"typescript": "^4.9.4",
|
|
32
32
|
"vite": "5.2.8",
|
|
33
|
-
"vite-plugin-dts": "^4.5.4"
|
|
34
|
-
"@vitejs/plugin-vue": "^5.1.0"
|
|
33
|
+
"vite-plugin-dts": "^4.5.4"
|
|
35
34
|
},
|
|
36
35
|
"dependencies": {
|
|
37
36
|
"md5": "^2.3.0"
|
package/dist/assets/index.css
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
.hlw-avatar[data-v-87dd25f7] {
|
|
2
|
-
border-radius: 50%;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
flex-shrink: 0;
|
|
5
|
-
}
|
|
6
|
-
.hlw-avatar--small[data-v-87dd25f7] {
|
|
7
|
-
width: 64rpx;
|
|
8
|
-
height: 64rpx;
|
|
9
|
-
}
|
|
10
|
-
.hlw-avatar--medium[data-v-87dd25f7] {
|
|
11
|
-
width: 88rpx;
|
|
12
|
-
height: 88rpx;
|
|
13
|
-
}
|
|
14
|
-
.hlw-avatar--large[data-v-87dd25f7] {
|
|
15
|
-
width: 120rpx;
|
|
16
|
-
height: 120rpx;
|
|
17
|
-
}
|
|
18
|
-
.hlw-avatar__image[data-v-87dd25f7] {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
}
|
|
22
|
-
.hlw-avatar__placeholder[data-v-87dd25f7] {
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
background-color: #2979ff;
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
}
|
|
30
|
-
.hlw-avatar__initial[data-v-87dd25f7] {
|
|
31
|
-
color: #ffffff;
|
|
32
|
-
font-size: 36rpx;
|
|
33
|
-
font-weight: 600;
|
|
34
|
-
}.hlw-empty[data-v-d78ade08] {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
padding: 60rpx 0;
|
|
40
|
-
}
|
|
41
|
-
.hlw-empty__image[data-v-d78ade08] {
|
|
42
|
-
width: 200rpx;
|
|
43
|
-
height: 200rpx;
|
|
44
|
-
}
|
|
45
|
-
.hlw-empty__icon[data-v-d78ade08] {
|
|
46
|
-
font-size: 100rpx;
|
|
47
|
-
line-height: 1;
|
|
48
|
-
margin-bottom: 24rpx;
|
|
49
|
-
}
|
|
50
|
-
.hlw-empty__text[data-v-d78ade08] {
|
|
51
|
-
font-size: 28rpx;
|
|
52
|
-
color: #c0c4cc;
|
|
53
|
-
margin-top: 16rpx;
|
|
54
|
-
}.hlw-loading[data-v-6bf3a5a2] {
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
}
|
|
60
|
-
.hlw-loading__spinner[data-v-6bf3a5a2] {
|
|
61
|
-
position: relative;
|
|
62
|
-
width: 40px;
|
|
63
|
-
height: 40px;
|
|
64
|
-
}
|
|
65
|
-
.hlw-loading__dot[data-v-6bf3a5a2] {
|
|
66
|
-
position: absolute;
|
|
67
|
-
width: 8px;
|
|
68
|
-
height: 8px;
|
|
69
|
-
background-color: #2979ff;
|
|
70
|
-
border-radius: 50%;
|
|
71
|
-
animation: hlw-loading-fade-6bf3a5a2 1.2s infinite ease-in-out;
|
|
72
|
-
}
|
|
73
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(1) {
|
|
74
|
-
top: 0px;
|
|
75
|
-
left: 8px;
|
|
76
|
-
opacity: 1;
|
|
77
|
-
}
|
|
78
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(2) {
|
|
79
|
-
top: 0px;
|
|
80
|
-
left: 20px;
|
|
81
|
-
opacity: 0.92;
|
|
82
|
-
}
|
|
83
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(3) {
|
|
84
|
-
top: 0px;
|
|
85
|
-
left: 32px;
|
|
86
|
-
opacity: 0.84;
|
|
87
|
-
}
|
|
88
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(4) {
|
|
89
|
-
top: 10px;
|
|
90
|
-
left: 32px;
|
|
91
|
-
opacity: 0.76;
|
|
92
|
-
}
|
|
93
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(5) {
|
|
94
|
-
top: 20px;
|
|
95
|
-
left: 32px;
|
|
96
|
-
opacity: 0.68;
|
|
97
|
-
}
|
|
98
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(6) {
|
|
99
|
-
top: 20px;
|
|
100
|
-
left: 20px;
|
|
101
|
-
opacity: 0.6;
|
|
102
|
-
}
|
|
103
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(7) {
|
|
104
|
-
top: 20px;
|
|
105
|
-
left: 8px;
|
|
106
|
-
opacity: 0.52;
|
|
107
|
-
transform: scale(0.84);
|
|
108
|
-
}
|
|
109
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(8) {
|
|
110
|
-
top: 10px;
|
|
111
|
-
left: 8px;
|
|
112
|
-
opacity: 0.44;
|
|
113
|
-
transform: scale(0.76);
|
|
114
|
-
}
|
|
115
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(9) {
|
|
116
|
-
top: 10px;
|
|
117
|
-
left: 20px;
|
|
118
|
-
opacity: 0.36;
|
|
119
|
-
transform: scale(0.68);
|
|
120
|
-
}
|
|
121
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(10) {
|
|
122
|
-
top: 0px;
|
|
123
|
-
left: 20px;
|
|
124
|
-
opacity: 0.28;
|
|
125
|
-
transform: scale(0.6);
|
|
126
|
-
}
|
|
127
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(11) {
|
|
128
|
-
top: 0px;
|
|
129
|
-
left: 8px;
|
|
130
|
-
opacity: 0.2;
|
|
131
|
-
transform: scale(0.52);
|
|
132
|
-
}
|
|
133
|
-
.hlw-loading__dot[data-v-6bf3a5a2]:nth-child(12) {
|
|
134
|
-
top: 10px;
|
|
135
|
-
left: 8px;
|
|
136
|
-
opacity: 0.12;
|
|
137
|
-
transform: scale(0.44);
|
|
138
|
-
}
|
|
139
|
-
.hlw-loading__text[data-v-6bf3a5a2] {
|
|
140
|
-
margin-top: 12rpx;
|
|
141
|
-
font-size: 24rpx;
|
|
142
|
-
color: #606266;
|
|
143
|
-
}
|
|
144
|
-
@keyframes hlw-loading-fade-6bf3a5a2 {
|
|
145
|
-
0%, 80%, 100% {
|
|
146
|
-
transform: scale(0.6);
|
|
147
|
-
opacity: 0.4;
|
|
148
|
-
}
|
|
149
|
-
40% {
|
|
150
|
-
transform: scale(1);
|
|
151
|
-
opacity: 1;
|
|
152
|
-
}
|
|
153
|
-
}.hlw-menu-list[data-v-1dfe912b] {
|
|
154
|
-
background-color: #ffffff;
|
|
155
|
-
border-radius: 8rpx;
|
|
156
|
-
}
|
|
157
|
-
.hlw-menu-list__item[data-v-1dfe912b] {
|
|
158
|
-
display: flex;
|
|
159
|
-
align-items: center;
|
|
160
|
-
justify-content: space-between;
|
|
161
|
-
padding: 28rpx 32rpx;
|
|
162
|
-
border-bottom: 1rpx solid #ebedf0;
|
|
163
|
-
}
|
|
164
|
-
.hlw-menu-list__item[data-v-1dfe912b]:last-child {
|
|
165
|
-
border-bottom: none;
|
|
166
|
-
}
|
|
167
|
-
.hlw-menu-list__left[data-v-1dfe912b] {
|
|
168
|
-
display: flex;
|
|
169
|
-
align-items: center;
|
|
170
|
-
gap: 16rpx;
|
|
171
|
-
}
|
|
172
|
-
.hlw-menu-list__icon[data-v-1dfe912b] {
|
|
173
|
-
font-size: 40rpx;
|
|
174
|
-
}
|
|
175
|
-
.hlw-menu-list__label[data-v-1dfe912b] {
|
|
176
|
-
font-size: 28rpx;
|
|
177
|
-
color: #303133;
|
|
178
|
-
}
|
|
179
|
-
.hlw-menu-list__right[data-v-1dfe912b] {
|
|
180
|
-
display: flex;
|
|
181
|
-
align-items: center;
|
|
182
|
-
gap: 8rpx;
|
|
183
|
-
}
|
|
184
|
-
.hlw-menu-list__value[data-v-1dfe912b] {
|
|
185
|
-
font-size: 28rpx;
|
|
186
|
-
color: #606266;
|
|
187
|
-
}
|
|
188
|
-
.hlw-menu-list__arrow[data-v-1dfe912b] {
|
|
189
|
-
font-size: 32rpx;
|
|
190
|
-
color: #c0c4cc;
|
|
191
|
-
}
|