瀏覽代碼

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

master
suizhijia 5 年之前
父節點
當前提交
a226e273fa
共有 2 個檔案被更改,包括 8 行新增6 行删除
  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 查看文件

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 查看文件

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…
取消
儲存