[绑定关系,弹框]

This commit is contained in:
唐明明
2023-07-08 10:04:14 +08:00
parent cc5d559bef
commit f870682e25
12 changed files with 133 additions and 20 deletions

View File

@@ -33,15 +33,22 @@ Page({
buttonLeft: 100,
progress: 100, // 进度条的宽度这里的单位是px所以在wxml文件中要改为rpx
precent: 50 // 这个是百分比
precent: 50, // 这个是百分比
refertoStatus: false
},
onLoad(options) {
console.log(options)
this.setData({
Type: options.type
})
if(this.data.Type == '1' || this.data.Type == '2') {
this.setData({
refertoStatus: true
})
}
this.setData({
imageId: options.image_id
})
@@ -158,4 +165,13 @@ Page({
isFixedTop: parseInt(e.scrollTop)
});
},
/**
* 关闭弹框,跳转首页
*/
refertoTap() {
this.setData({
refertoStatus: false
})
}
})