zhaoxiaohai %!s(int64=3) %!d(string=hai) anos
pai
achega
a93b24abad
Modificáronse 3 ficheiros con 6 adicións e 1 borrados
  1. 1 0
      app.js
  2. 2 1
      pages/businessPartner/applyFor.js
  3. 3 0
      pages/businessPartner/index.js

+ 1 - 0
app.js

@@ -20,6 +20,7 @@ App({
         "fclienttype": "MOBILE"
       }
     }).then(res => {
+      console.log(res)
       that.globalData.bannerDataList = res.data;
     })
 

+ 2 - 1
pages/businessPartner/applyFor.js

@@ -155,7 +155,8 @@ Page({
                         let requestList = that.data.requestList;
                         requestList.splice(i, 1);
                         that.setData({
-                            requestList
+                            requestList,
+                            showBtn: -1
                         })
                     })
                 } else {

+ 3 - 0
pages/businessPartner/index.js

@@ -44,6 +44,9 @@ Page({
     /* 跳转商户 */
     jumpForDetails() {
         const data = this.data.cooperationList[this.data.showIndex];
+        this.setData({
+            showIndex: -1
+        })
         wx.navigateTo({
             url: '/pages/businessPartner/details?data=' + JSON.stringify(data),
         })