directional.js
941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Page({
data: {
IMGURL: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/hmd/',
IMGURKBASE: 'equity/version/1_0_0/',
show:false,
statusMap:{
0:{
img:'direct_vip_icon'
},
1:{
img:'direct_sliver_vip_icon'
},
2:{
img:'direct_gold_vip_icon'
},
},
status:0
},
onLoad() {
},
// getScreenInfo(){
// const system = wx.p.storage.get('system_info')
// this.setData({
// screenW:system.safeArea.width,
// screenH:system.safeArea.height
// })
// }
toGetMemeber(){
this.toShowSuccess()
},
toShowSuccess() {
this.setData({
show: true
})
wx.setPageStyle({
style: {
overflow: 'hidden'
}
})
},
// 关闭弹框放开页面滚动
toCloseModal() {
this.setData({
show: false
})
wx.setPageStyle({
style: {
overflow: 'unset'
}
})
},
})