Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a8a5f003
authored
Mar 14, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉跳转其他小程序的限制
1 parent
55798af2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
pages/tab/index/index.js
pages/tab/index/index.wxml
pages/tab/index/index.js
View file @
a8a5f00
...
@@ -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
)
{
...
...
pages/tab/index/index.wxml
View file @
a8a5f00
...
@@ -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" />
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment