Commit da39aa38 by 前端

Merge branch 'v3.5.3' into 'master'

V3.5.3

See merge request !19
2 parents 55798af2 d65c9f1e
...@@ -71,6 +71,7 @@ App({ ...@@ -71,6 +71,7 @@ App({
cardId: res.cardId cardId: res.cardId
}) })
_this.getUserInfo(openId, returnResponse).then(result => { _this.getUserInfo(openId, returnResponse).then(result => {
wx.$Track.sendTrack(trackData.HOME, wechatInfo)
resolve(result) resolve(result)
}) })
}) })
......
...@@ -119,7 +119,7 @@ Page({ ...@@ -119,7 +119,7 @@ Page({
this.setData({ this.setData({
hasPhoneNumber: true hasPhoneNumber: true
}) })
this.checkCooperate() // this.checkCooperate()
} }
}, },
// 获取跳转门店助手、生意助手判断 // 获取跳转门店助手、生意助手判断
...@@ -283,7 +283,7 @@ Page({ ...@@ -283,7 +283,7 @@ Page({
this.setData({ this.setData({
hasPhoneNumber: !!(userInfo && userInfo.phone) hasPhoneNumber: !!(userInfo && userInfo.phone)
}) })
this.checkCooperate() // this.checkCooperate()
const options = wx.getEnterOptionsSync() const options = wx.getEnterOptionsSync()
wx.$trackData = options.query wx.$trackData = options.query
if (wx.$trackData.merchant) { if (wx.$trackData.merchant) {
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
</view> </view>
<!-- 服务咨询 --> <!-- 服务咨询 -->
<view class="floating-box"> <view class="floating-box">
<image wx:if="{{showCooperate}}" class="floating-icon" style="margin-bottom: 10rpx;" webp bindtap="toStoreMiniProgram" src="{{IMGURL}}home/icon-store.png?v={{img_version}}" /> <image class="floating-icon" style="margin-bottom: 10rpx;" webp bindtap="toStoreMiniProgram" src="{{IMGURL}}home/icon-store.png?v={{img_version}}" />
<image wx:if="{{showCooperate}}" class="floating-icon" bindtap="toBusinessMiniProgram" webp src="{{IMGURL}}home/icon-business.png?v={{img_version}}" /> <image class="floating-icon" bindtap="toBusinessMiniProgram" webp src="{{IMGURL}}home/icon-business.png?v={{img_version}}" />
<image class="floating-icon" bindtap="handleOpen" webp src="{{IMGURL}}home/custom.png?v={{img_version}}" /> <image class="floating-icon" bindtap="handleOpen" webp src="{{IMGURL}}home/custom.png?v={{img_version}}" />
</view> </view>
<phone-number type="{{'home'}}" bindtoApplication="toApplication" hasPhoneNumber="{{hasPhoneNumber}}" bindupdatePhoneNumber="updatePhoneNumber" /> <phone-number type="{{'home'}}" bindtoApplication="toApplication" hasPhoneNumber="{{hasPhoneNumber}}" bindupdatePhoneNumber="updatePhoneNumber" />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!