Commit 4b8a930a by 杨北旺

挪车码版本

1 parent e950c9ba
......@@ -82,7 +82,7 @@ Page({
wx.p.api.rescueApi
.getRescueCustomerView({
codeId,
customerPhone: this.qrCodePhone ? this.qrCodePhone : this.data.phone,
customerPhone: phone,
})
.then(async (res) => {
if (res.code == 0) {
......@@ -195,12 +195,8 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
console.log(options);
if (options.codeId) {
this.codeId = options.codeId
this.qrCodePhone = options.phone
this.openId = options.openId
this.setData({ qrCodePhone: this.qrCodePhone })
} else return wx.p.wxApi.showToast("无效救援码ID");
},
......
......@@ -29,12 +29,12 @@
<block wx:if="{{qrCodePhone}}">
<glsx-image class="equity" bindtap="goCoupon" webp src="mine/rescue/equity.png"></glsx-image>
</block>
<view class="activity flex_scb" wx:if="{{rescueData.relLink&&!rescueData.buyExpGold&&qrCodePhone==''}}" bindtap="goActivity">
<!-- <view class="activity flex_scb" wx:if="{{rescueData.relLink&&!rescueData.buyExpGold&&qrCodePhone==''}}" bindtap="goActivity">
<view class="flex_sc">
<glsx-image class="rescue-subsidy" webp src="mine/rescue/rescue-subsidy.png"></glsx-image>{{rescueData.expGoldActiveName}}
</view>
<view class="look-btn">立即查看</view>
</view>
</view> -->
<glsx-image class="rescue-tips" webp src="mine/rescue/rescue-tips.png"></glsx-image>
<view class="rescue-info">
<view data-mobile="{{4006123886}}" bindtap="callPhone">非事故免费救援:4006123886</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!