Commit a8a5f003 by 胡悦

去掉跳转其他小程序的限制

1 parent 55798af2
...@@ -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!