新增订单管理,api

This commit is contained in:
唐明明
2022-01-04 11:28:04 +08:00
parent 6319631d7e
commit 219bc6027a
384 changed files with 53537 additions and 569 deletions

42
node_modules/uview-ui/components/u-slider/mpwxs.js generated vendored Normal file
View File

@@ -0,0 +1,42 @@
export default {
data() {
return {
sliderRect: {},
info: {
width: null,
left: null,
step: this.step,
disabled: this.disabled,
min: this.min,
max: this.max,
value: this.value
}
}
},
mounted() {
this.init()
},
methods: {
init() {
this.getSliderRect()
},
// 获取slider尺寸
getSliderRect() {
// 获取滑块条的尺寸信息
uni.$u.sleep().then(() => {
this.$uGetRect('.u-slider').then((rect) => {
this.info.width = rect.width
this.info.left = rect.left
})
})
},
// 此方法由wxs调用用于修改v-model绑定的值
updateValue(value) {
this.$emit('input', value)
},
// 此方法由wxs调用发出事件
emitEvent(e) {
this.$emit(e.event, e.value ? e.value : this.value)
}
}
}