瀏覽代碼

bug修复

guessPrice
suizhijia 5 年之前
父節點
當前提交
65641cf058
共有 3 個文件被更改,包括 9 次插入4 次删除
  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 查看文件

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

/**

+ 1
- 1
496_dongfengqichen/pages/coupon/coupon.wxml 查看文件

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

@@ -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();
}
}
})

Loading…
取消
儲存