directional.js 941 Bytes
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'
      }
    })
  },
})