uview-plus 3.6.29 → 3.7.0
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/README.md +20 -5
- package/changelog.md +312 -0
- package/components/u-album/album.js +1 -1
- package/components/u-avatar/avatar.js +4 -4
- package/components/u-avatar-group/avatarGroup.js +4 -4
- package/components/u-back-top/backtop.js +4 -4
- package/components/u-badge/badge.js +4 -4
- package/components/u-button/button.js +4 -4
- package/components/u-calendar/calendar.js +4 -4
- package/components/u-canvas/u-canvas.vue +146 -0
- package/components/u-car-keyboard/carKeyboard.js +4 -4
- package/components/u-cascader/u-cascader.vue +19 -10
- package/components/u-cate-tab/u-cate-tab.vue +14 -4
- package/components/u-cell/cell.js +4 -4
- package/components/u-cell-group/cellGroup.js +4 -4
- package/components/u-checkbox/checkbox.js +4 -4
- package/components/u-checkbox-group/checkboxGroup.js +4 -4
- package/components/u-circle-progress/circleProgress.js +4 -4
- package/components/u-code/code.js +3 -3
- package/components/u-code-input/codeInput.js +4 -4
- package/components/u-col/col.js +4 -4
- package/components/u-collapse/collapse.js +4 -4
- package/components/u-collapse-item/collapseItem.js +4 -4
- package/components/u-column-notice/columnNotice.js +4 -4
- package/components/u-count-down/countDown.js +4 -4
- package/components/u-count-to/countTo.js +4 -4
- package/components/u-cropper/u-cropper.vue +6 -3
- package/components/u-datetime-picker/datetimePicker.js +4 -4
- package/components/u-divider/divider.js +4 -4
- package/components/u-dragsort/u-dragsort.vue +85 -72
- package/components/u-empty/empty.js +4 -4
- package/components/u-form/form.js +4 -4
- package/components/u-form-item/formItem.js +4 -4
- package/components/u-gap/gap.js +4 -4
- package/components/u-grid/grid.js +4 -4
- package/components/u-grid/u-grid.vue +1 -1
- package/components/u-grid-item/gridItem.js +4 -4
- package/components/u-icon/icon.js +4 -4
- package/components/u-image/image.js +4 -4
- package/components/u-index-anchor/indexAnchor.js +4 -4
- package/components/u-index-list/indexList.js +4 -4
- package/components/u-input/input.js +1 -1
- package/components/u-input/u-input.vue +5 -2
- package/components/u-keyboard/keyboard.js +4 -4
- package/components/u-line/line.js +4 -4
- package/components/u-line-progress/lineProgress.js +4 -4
- package/components/u-link/link.js +4 -4
- package/components/u-list/list.js +4 -4
- package/components/u-list/u-list.vue +4 -1
- package/components/u-list-item/listItem.js +4 -4
- package/components/u-loading-icon/loadingIcon.js +4 -4
- package/components/u-loading-page/loadingPage.js +4 -4
- package/components/u-loadmore/loadmore.js +4 -4
- package/components/u-modal/modal.js +5 -5
- package/components/u-navbar/navbar.js +4 -4
- package/components/u-no-network/noNetwork.js +4 -4
- package/components/u-no-network/u-no-network.vue +7 -3
- package/components/u-notice-bar/noticeBar.js +4 -4
- package/components/u-notify/notify.js +4 -4
- package/components/u-number-box/numberBox.js +4 -4
- package/components/u-number-keyboard/numberKeyboard.js +4 -4
- package/components/u-overlay/overlay.js +4 -4
- package/components/u-parse/props.js +1 -1
- package/components/u-picker/picker.js +4 -4
- package/components/u-picker/props.js +4 -0
- package/components/u-picker/u-picker.vue +1 -1
- package/components/u-popup/popup.js +4 -4
- package/components/u-qrcode/qrcode.js +17 -67
- package/components/u-qrcode/u-qrcode.vue +178 -85
- package/components/u-radio/radio.js +4 -4
- package/components/u-radio-group/radioGroup.js +3 -3
- package/components/u-rate/rate.js +4 -4
- package/components/u-read-more/readMore.js +4 -4
- package/components/u-row/row.js +4 -4
- package/components/u-row-notice/rowNotice.js +4 -4
- package/components/u-scroll-list/scrollList.js +4 -4
- package/components/u-search/search.js +7 -5
- package/components/u-search/u-search.vue +2 -2
- package/components/u-section/section.js +4 -4
- package/components/u-select/u-select.vue +4 -1
- package/components/u-signature/u-signature.vue +1 -0
- package/components/u-skeleton/skeleton.js +4 -4
- package/components/u-slider/slider.js +4 -4
- package/components/u-status-bar/statusBar.js +4 -4
- package/components/u-steps/steps.js +4 -4
- package/components/u-steps/u-steps.vue +1 -1
- package/components/u-steps-item/stepsItem.js +4 -4
- package/components/u-sticky/sticky.js +4 -4
- package/components/u-subsection/subsection.js +4 -4
- package/components/u-swipe-action/swipeAction.js +4 -4
- package/components/u-swipe-action-item/swipeActionItem.js +4 -4
- package/components/u-swiper/swiper.js +4 -4
- package/components/u-swiper-indicator/swipterIndicator.js +4 -4
- package/components/u-switch/switch.js +4 -4
- package/components/u-tabbar/tabbar.js +4 -4
- package/components/u-tabbar-item/tabbarItem.js +4 -4
- package/components/u-tabs/tabs.js +4 -4
- package/components/u-tag/tag.js +4 -4
- package/components/u-text/text.js +4 -4
- package/components/u-textarea/textarea.js +4 -4
- package/components/u-toast/toast.js +4 -4
- package/components/u-toolbar/toolbar.js +4 -4
- package/components/u-tooltip/tooltip.js +4 -4
- package/components/u-transition/transition.js +4 -4
- package/components/u-upload/upload.js +4 -4
- package/libs/function/index.js +9 -4
- package/libs/util/gcanvas/bridge/bridge-weex.js +2 -1
- package/libs/util/gcanvas/env/image.js +24 -16
- package/package.json +2 -2
- package/types/comps/radio.d.ts +6 -2
- package/types/func.d.ts +317 -0
- package/types/index.d.ts +73 -105
- package/components/u-scroll-list/other.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<up-popup :show="popupShow" mode="bottom" :popup="false"
|
|
3
|
-
:mask="true" :closeable="
|
|
3
|
+
:mask="true" :closeable="closeable" :safe-area-inset-bottom="true"
|
|
4
4
|
close-icon-color="#ffffff" :z-index="uZIndex"
|
|
5
5
|
:maskCloseAble="maskCloseAble" @close="close">
|
|
6
6
|
<view class="up-p-t-30 up-p-l-20 up-m-b-10" v-if="headerDirection =='column'">
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
* @property {String} labelKey 指定选项标签为选项对象中的哪个属性值
|
|
62
62
|
* @property {String} childrenKey 指定选项的子选项为选项对象中的哪个属性值
|
|
63
63
|
* @property {Boolean} autoClose 是否在选择最后一级时自动关闭并触发confirm(默认false)
|
|
64
|
+
* @property {Boolean} closeable 是否显示关闭图标(默认true)
|
|
64
65
|
*/
|
|
65
66
|
import { t } from '../../libs/i18n'
|
|
66
67
|
export default {
|
|
@@ -124,6 +125,11 @@
|
|
|
124
125
|
optionsCols: {
|
|
125
126
|
type: [Number],
|
|
126
127
|
default: 2
|
|
128
|
+
},
|
|
129
|
+
// 是否显示关闭图标
|
|
130
|
+
closeable: {
|
|
131
|
+
type: Boolean,
|
|
132
|
+
default: true
|
|
127
133
|
}
|
|
128
134
|
},
|
|
129
135
|
data() {
|
|
@@ -142,6 +148,7 @@
|
|
|
142
148
|
data: {
|
|
143
149
|
handler() {
|
|
144
150
|
this.initLevelList();
|
|
151
|
+
this.setDefaultValue();
|
|
145
152
|
},
|
|
146
153
|
immediate: true
|
|
147
154
|
},
|
|
@@ -150,7 +157,8 @@
|
|
|
150
157
|
},
|
|
151
158
|
modelValue: {
|
|
152
159
|
handler() {
|
|
153
|
-
|
|
160
|
+
// 初始化选中值
|
|
161
|
+
this.setDefaultValue();
|
|
154
162
|
},
|
|
155
163
|
immediate: true
|
|
156
164
|
}
|
|
@@ -192,15 +200,9 @@
|
|
|
192
200
|
}
|
|
193
201
|
},
|
|
194
202
|
// 新增confirm事件
|
|
195
|
-
emits: ['update:modelValue', 'change', 'confirm'],
|
|
203
|
+
emits: ['update:modelValue', 'update:show', 'change', 'confirm', 'cancel'],
|
|
196
204
|
methods: {
|
|
197
205
|
t,
|
|
198
|
-
init() {
|
|
199
|
-
// 初始化选中值
|
|
200
|
-
if (this.modelValue && this.modelValue.length > 0) {
|
|
201
|
-
this.setDefaultValue();
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
206
|
initLevelList() {
|
|
205
207
|
// 初始化第一级数据
|
|
206
208
|
if (this.data && this.data.length > 0) {
|
|
@@ -209,14 +211,20 @@
|
|
|
209
211
|
}
|
|
210
212
|
},
|
|
211
213
|
setDefaultValue() {
|
|
214
|
+
// 检查data是否为空
|
|
215
|
+
if (!this.data || this.data.length == 0) return;
|
|
216
|
+
// 检查modelValue是否为空
|
|
217
|
+
if (!this.modelValue || this.modelValue.length == 0) return;
|
|
212
218
|
// 根据默认值设置选中项
|
|
213
219
|
// 根据modelValue获取indexs给selectedValueIndexs
|
|
214
220
|
this.selectedValueIndexs = [];
|
|
221
|
+
this.levelList = []; // 设置层级数据为空
|
|
215
222
|
let currentLevelData = this.data;
|
|
216
223
|
|
|
217
224
|
for (let i = 0; i < this.modelValue.length; i++) {
|
|
218
225
|
const value = this.modelValue[i];
|
|
219
226
|
const index = currentLevelData.findIndex(item => item[this.valueKey] === value);
|
|
227
|
+
this.levelList[i] = currentLevelData; // 设置每一层级的数据
|
|
220
228
|
|
|
221
229
|
if (index !== -1) {
|
|
222
230
|
this.selectedValueIndexs.push(index);
|
|
@@ -234,6 +242,7 @@
|
|
|
234
242
|
}
|
|
235
243
|
},
|
|
236
244
|
close() {
|
|
245
|
+
this.$emit('cancel');
|
|
237
246
|
this.$emit('update:show', false);
|
|
238
247
|
},
|
|
239
248
|
tabsChange(item) {
|
|
@@ -332,4 +341,4 @@
|
|
|
332
341
|
.u-cascader-action {
|
|
333
342
|
border-top: 1px solid #eee;
|
|
334
343
|
}
|
|
335
|
-
</style>
|
|
344
|
+
</style>
|
|
@@ -83,14 +83,18 @@
|
|
|
83
83
|
deep: true,
|
|
84
84
|
handler(newVal, oldVal) {
|
|
85
85
|
// this.observer();
|
|
86
|
-
sleep(30)
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
sleep(30).then(() => {
|
|
87
|
+
this.getMenuItemTop();
|
|
88
|
+
this.leftMenuStatus(this.innerCurrent);
|
|
89
|
+
})
|
|
89
90
|
}
|
|
90
91
|
},
|
|
91
92
|
current(nval) {
|
|
92
93
|
this.innerCurrent = nval;
|
|
93
94
|
this.leftMenuStatus(this.innerCurrent);
|
|
95
|
+
sleep(30).then(() => {
|
|
96
|
+
this.swichMenu(this.innerCurrent)
|
|
97
|
+
})
|
|
94
98
|
},
|
|
95
99
|
height() {
|
|
96
100
|
// console.log('height change');
|
|
@@ -120,6 +124,10 @@
|
|
|
120
124
|
this.innerCurrent = this.current;
|
|
121
125
|
this.leftMenuStatus(this.innerCurrent);
|
|
122
126
|
this.getMenuItemTop()
|
|
127
|
+
// 设置默认index
|
|
128
|
+
sleep(50).then(() => {
|
|
129
|
+
this.swichMenu(this.innerCurrent)
|
|
130
|
+
})
|
|
123
131
|
},
|
|
124
132
|
methods: {
|
|
125
133
|
addUnit,
|
|
@@ -129,7 +137,9 @@
|
|
|
129
137
|
if(this.arr.length == 0) {
|
|
130
138
|
await this.getMenuItemTop();
|
|
131
139
|
}
|
|
132
|
-
this.scrollIntoView
|
|
140
|
+
if (this.scrollIntoView != 'item' + index) {
|
|
141
|
+
this.scrollIntoView = 'item' + index;
|
|
142
|
+
}
|
|
133
143
|
}
|
|
134
144
|
|
|
135
145
|
if (index == this.innerCurrent) return;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/cell.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// cell组件的props
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/cellGroup.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// cell-group组件的props
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/checkbox.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// checkbox组件
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/checkboxGroup.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// checkbox-group组件
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/circleProgress.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// circleProgress 组件
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
8
|
* @FilePath : /uview-plus/libs/config/props/code.js
|
|
9
9
|
*/
|
|
10
10
|
import { t } from '../../libs/i18n'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/codeInput.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// codeInput 组件
|
package/components/u-col/col.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/col.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// col 组件
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/collapse.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// collapse 组件
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/collapseItem.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// collapseItem 组件
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/columnNotice.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// columnNotice 组件
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/countDown.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// u-count-down 计时器组件
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/countTo.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// countTo 组件
|
|
@@ -76,7 +76,8 @@
|
|
|
76
76
|
expHeight: '',
|
|
77
77
|
// 是否允许调整裁剪框大小
|
|
78
78
|
letChangeSize: false,
|
|
79
|
-
|
|
79
|
+
// 底部安全区大小
|
|
80
|
+
safeAreaInsetsBottom: 0,
|
|
80
81
|
};
|
|
81
82
|
},
|
|
82
83
|
watch: {
|
|
@@ -151,6 +152,7 @@
|
|
|
151
152
|
this.platform = sysInfo.platform;
|
|
152
153
|
this.pixelRatio = sysInfo.pixelRatio;
|
|
153
154
|
this.windowWidth = sysInfo.windowWidth;
|
|
155
|
+
this.safeAreaInsetsBottom = sysInfo.safeAreaInsets.bottom;
|
|
154
156
|
// #ifdef H5
|
|
155
157
|
this.drawTop = sysInfo.windowTop;
|
|
156
158
|
this.windowHeight = sysInfo.windowHeight + sysInfo.windowBottom;
|
|
@@ -162,12 +164,12 @@
|
|
|
162
164
|
this.cvsStyleHeight = this.windowHeight - tabHeight + 'px';
|
|
163
165
|
} else {
|
|
164
166
|
this.windowHeight = sysInfo.windowHeight + this.moreHeight;
|
|
165
|
-
this.cvsStyleHeight = this.windowHeight - tabHeight + 6 + 'px';
|
|
167
|
+
this.cvsStyleHeight = this.windowHeight - tabHeight - this.safeAreaInsetsBottom + 6 + 'px';
|
|
166
168
|
}
|
|
167
169
|
// #endif
|
|
168
170
|
// #ifdef MP
|
|
169
171
|
this.windowHeight = sysInfo.windowHeight + this.moreHeight;
|
|
170
|
-
this.cvsStyleHeight = this.windowHeight - tabHeight - 2 + 'px';
|
|
172
|
+
this.cvsStyleHeight = this.windowHeight - tabHeight - this.safeAreaInsetsBottom - 2 + 'px';
|
|
171
173
|
// #endif
|
|
172
174
|
this.pxRatio = this.windowWidth/750;
|
|
173
175
|
|
|
@@ -1226,3 +1228,4 @@
|
|
|
1226
1228
|
}
|
|
1227
1229
|
}
|
|
1228
1230
|
</style>
|
|
1231
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/datetimePicker.js
|
|
9
9
|
*/
|
|
10
10
|
import { t } from '../../libs/i18n'
|
|
11
11
|
export default {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author : LQ
|
|
3
3
|
* @Description :
|
|
4
|
-
* @version :
|
|
4
|
+
* @version : 3.0
|
|
5
5
|
* @Date : 2021-08-20 16:44:21
|
|
6
|
-
* @LastAuthor :
|
|
7
|
-
* @lastTime :
|
|
8
|
-
* @FilePath : /
|
|
6
|
+
* @LastAuthor : jry
|
|
7
|
+
* @lastTime : 2025-12-19 08:55:21
|
|
8
|
+
* @FilePath : /uview-plus/libs/config/props/divider.js
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
// divider组件
|