Browse Source

首页和星探计划页面,修改:1:点击立即领取后即刻关闭弹窗,2:填写信息后回到当前页

master
suizhijia 5 years ago
parent
commit
a226e273fa
2 changed files with 8 additions and 6 deletions
  1. +4
    -3
      496_dongfengqichen/pages/index/index.js
  2. +4
    -3
      496_dongfengqichen/pages/star/star.js

+ 4
- 3
496_dongfengqichen/pages/index/index.js View File

this.setData({ this.setData({
addressShow: !this.data.addressShow addressShow: !this.data.addressShow
}) })
if (this.data.addressShow) {
app.globalData.skipType = 'mycenter';
}
this.hiddenMask();
// if (this.data.addressShow) {
// app.globalData.skipType = 'mycenter';
// }
}, },
getAddress: function () {//获取地址 getAddress: function () {//获取地址
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => {

+ 4
- 3
496_dongfengqichen/pages/star/star.js View File

this.setData({ this.setData({
addressShow: !this.data.addressShow addressShow: !this.data.addressShow
}) })
if (this.data.addressShow) {
app.globalData.skipType = 'mycenter';
}
this.hiddenMask();
// if (this.data.addressShow) {
// app.globalData.skipType = 'mycenter';
// }
}, },
getAddress: function () {//获取地址 getAddress: function () {//获取地址
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => {

Loading…
Cancel
Save