mali-applet-ui 0.1.12 → 0.1.13
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.
|
@@ -64,6 +64,7 @@ export default {
|
|
|
64
64
|
line-height: 1.5;
|
|
65
65
|
vertical-align: middle;
|
|
66
66
|
background: transparent;
|
|
67
|
+
font-size: $uni-font-size-base;
|
|
67
68
|
&.status-primary {
|
|
68
69
|
color: $uni-color-primary;
|
|
69
70
|
}
|
|
@@ -87,6 +88,7 @@ export default {
|
|
|
87
88
|
line-height: 80rpx;
|
|
88
89
|
border: 1px solid #e5e5e5;
|
|
89
90
|
border-radius: 10rpx;
|
|
91
|
+
font-size: 30rpx;
|
|
90
92
|
&+.ml-button {
|
|
91
93
|
margin-left: 20rpx;
|
|
92
94
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<view class="ml-form-item-content-warpper">
|
|
11
11
|
<slot>
|
|
12
12
|
<ml-input v-if="matchComponent('MlInput')" :value="itemValue" border @change="modelEvent"></ml-input>
|
|
13
|
-
<ml-number-input v-if="matchComponent('MlNumberInput')" :value="itemValue" border @change="modelEvent"></ml-number-input>
|
|
13
|
+
<ml-number-input v-else-if="matchComponent('MlNumberInput')" :value="itemValue" border @change="modelEvent"></ml-number-input>
|
|
14
14
|
<ml-date-picker v-else-if="matchComponent('MlDatePicker')" :value="itemValue" border @change="modelEvent"></ml-date-picker>
|
|
15
15
|
<ml-select-picker v-else-if="matchComponent('MlSelectPicker')" :value="itemValue" :options="renderOpts.options" border @change="modelEvent"></ml-select-picker>
|
|
16
16
|
<ml-textarea v-else-if="matchComponent('MlTextarea')" :value="itemValue" :rows="renderOpts.rows || 3" :showVoice="renderOpts.showVoice || true" border @change="modelEvent"></ml-textarea>
|
package/package.json
CHANGED
package/utils/applet.js
CHANGED
|
@@ -13,4 +13,17 @@ export function getAppId () {
|
|
|
13
13
|
// #endif
|
|
14
14
|
|
|
15
15
|
return appId
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 获取版本号
|
|
20
|
+
*/
|
|
21
|
+
export function getAppVersion () {
|
|
22
|
+
let version = ''
|
|
23
|
+
|
|
24
|
+
// #ifdef MP-WEIXIN
|
|
25
|
+
version.getAccountInfoSync().miniProgram.version
|
|
26
|
+
|
|
27
|
+
// #endif
|
|
28
|
+
return version
|
|
16
29
|
}
|