Kaynağa Gözat

bug修复

guessPrice
suizhijia 5 yıl önce
ebeveyn
işleme
65641cf058
3 değiştirilmiş dosya ile 9 ekleme ve 4 silme
  1. +1
    -1
      496_dongfengqichen/pages/coupon/coupon.js
  2. +1
    -1
      496_dongfengqichen/pages/coupon/coupon.wxml
  3. +7
    -2
      496_dongfengqichen/pages/yuyue/yuyue.js

+ 1
- 1
496_dongfengqichen/pages/coupon/coupon.js Dosyayı Görüntüle

@@ -70,7 +70,7 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
app.globalData.nowPage = '0';
},

/**

+ 1
- 1
496_dongfengqichen/pages/coupon/coupon.wxml Dosyayı Görüntüle

@@ -17,7 +17,7 @@
</view>
</view>
<image class="lookCar" bindtap="cutPage" src="{{imgUrl+'/newImages2/36.png'}}"></image>
<yuyue bindyuyue="placingControl" wx:if="{{placing}}"></yuyue>
<yuyue enterType="coupon" bindyuyue="placingControl" wx:if="{{placing}}"></yuyue>
<tabBar></tabBar>
</view>


+ 7
- 2
496_dongfengqichen/pages/yuyue/yuyue.js Dosyayı Görüntüle

@@ -5,7 +5,10 @@ Component({
* 组件的属性列表
*/
properties: {

enterType:{
type:String,
value:''
}
},

/**
@@ -42,6 +45,7 @@ Component({
userData:null
},
ready:function(){
console.log(this.data.enterType);
if (app.globalData.openid) {
this.loadFun();
} else {
@@ -213,7 +217,7 @@ Component({
this.data.subscribeData.mobile = sourceMobile;
this.data.appointment = true;
if (res.code == 200) {
if (app.globalData.nowPage=='0'){
if (this.data.enterType=='coupon'){
wx.reLaunch({
url: '/pages/index/index'
})
@@ -348,6 +352,7 @@ Component({
})
app.submitUserMsg(e.detail.userInfo.avatarUrl, e.detail.userInfo.nickName);
}
this.subscribeFun();
}
}
})

Yükleniyor…
İptal
Kaydet