You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
760 B

3 weeks ago
const _app = getApp<IAppOption>()
Page({
data: {
step: 3,
toastShow: false,
toastType: '',
// toastType: 'oneWrite',
// toastType: 'noWrite', // 用户信息未填全的提醒弹窗
toastParams: {} as any,
},
onLoad() {},
handleSetData(e: WechatMiniprogram.CustomEvent) {
const imgUrl = e.detail[0].imgUrl
this.setData({
uploadImg: imgUrl,
audit: true,
})
},
handleExample(e) {
wx.previewImage({
urls: [e.currentTarget.dataset.url],
})
},
handleToastOk() {
const { toastType } = this.data
},
handleToastCancel(_e = null) {
const { toastType } = this.data
this.setData({
toastShow: false,
toastType: '',
toastParams: '',
})
},
})
export {}