mali-applet-ui 1.0.169 → 1.0.171
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/lib/components/ml-button/ml-button.vue +4 -0
- package/lib/components/ml-drawer/ml-drawer.vue +1 -0
- package/lib/components/ml-form-group/ml-form-group.vue +0 -1
- package/lib/components/ml-form-item/ml-form-item.vue +1 -0
- package/lib/components/ml-list-item/ml-list-item.vue +2 -2
- package/package.json +2 -3
- package/theme.scss +8 -8
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
:disabled="disabled"
|
|
6
6
|
:open-type="openType"
|
|
7
7
|
:style="styles"
|
|
8
|
+
@getphonenumber="phoneNumberEvent"
|
|
8
9
|
@tap.stop="tapEvent"
|
|
9
10
|
@click="clickEvent">
|
|
10
11
|
<slot>{{ content }}</slot>
|
|
@@ -63,6 +64,9 @@ export default {
|
|
|
63
64
|
this.$emit('click', {})
|
|
64
65
|
},
|
|
65
66
|
clickEvent () {
|
|
67
|
+
},
|
|
68
|
+
phoneNumberEvent (e) {
|
|
69
|
+
this.$emit('getphonenumber', e)
|
|
66
70
|
}
|
|
67
71
|
}
|
|
68
72
|
}
|
|
@@ -221,17 +221,17 @@ export default {
|
|
|
221
221
|
}
|
|
222
222
|
.ml-list-item-left-icon,
|
|
223
223
|
.ml-list-item-right-icon {
|
|
224
|
-
width: 60rpx;
|
|
225
|
-
text-align: center;
|
|
226
224
|
display: flex;
|
|
227
225
|
flex-direction: row;
|
|
228
226
|
align-items: center;
|
|
229
227
|
flex-shrink: 0;
|
|
230
228
|
}
|
|
231
229
|
.ml-list-item-left-icon {
|
|
230
|
+
padding-right: 16rpx;
|
|
232
231
|
font-size: 38rpx;
|
|
233
232
|
}
|
|
234
233
|
.ml-list-item-right-icon {
|
|
234
|
+
padding-left: 16rpx;
|
|
235
235
|
font-size: 30rpx;
|
|
236
236
|
}
|
|
237
237
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mali-applet-ui",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "码里云小程序组件库",
|
|
3
|
+
"version": "1.0.171",
|
|
4
|
+
"description": "vue2 码里云小程序组件库",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
7
7
|
"config",
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"modal",
|
|
10
10
|
"store",
|
|
11
11
|
"storage",
|
|
12
|
-
"iconfont.css",
|
|
13
12
|
"index.js",
|
|
14
13
|
"theme.scss"
|
|
15
14
|
],
|
package/theme.scss
CHANGED
|
@@ -12,15 +12,15 @@ $ml-theme-warning-color: #f0ad4e;
|
|
|
12
12
|
$ml-theme-error-color: #dd524d;
|
|
13
13
|
|
|
14
14
|
// 字体
|
|
15
|
-
$ml-base-font-size:
|
|
15
|
+
$ml-base-font-size: 34rpx;
|
|
16
16
|
// 副标题字体
|
|
17
|
-
$ml-subhead-font-size:
|
|
17
|
+
$ml-subhead-font-size: 30rpx;
|
|
18
18
|
// 描述字体
|
|
19
|
-
$ml-describe-font-size:
|
|
19
|
+
$ml-describe-font-size: 28rpx;
|
|
20
20
|
|
|
21
21
|
// 页面间隔宽度
|
|
22
|
-
$ml-page-interval-margin:
|
|
23
|
-
$ml-page-toolbar-left-width:
|
|
22
|
+
$ml-page-interval-margin: 16rpx;
|
|
23
|
+
$ml-page-toolbar-left-width: 120rpx;
|
|
24
24
|
|
|
25
25
|
// 全局色调
|
|
26
26
|
$ml-gray-color: #F0F2F5;
|
|
@@ -33,11 +33,11 @@ $ml-dark-blue-color: #5e7092;
|
|
|
33
33
|
$ml-white-color: #ffffff;
|
|
34
34
|
|
|
35
35
|
// 边框圆角
|
|
36
|
-
$ml-border-radius:
|
|
36
|
+
$ml-border-radius: 8rpx;
|
|
37
37
|
// 按钮间隔宽度
|
|
38
|
-
$ml-button-interval-margin:
|
|
38
|
+
$ml-button-interval-margin: 16rpx;
|
|
39
39
|
// 输入框清除按钮颜色
|
|
40
40
|
$ml-input-clear-icon-color: rgba(23, 26, 29, 0.4);
|
|
41
|
-
$ml-input-clear-icon-font-size:
|
|
41
|
+
$ml-input-clear-icon-font-size: 44rpx;
|
|
42
42
|
// 输入框提示文本颜色
|
|
43
43
|
$ml-input-color-placeholder: rgba(23, 26, 29, 0.7);
|