Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 72d3f6b6
authored
Oct 20, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://192.168.3.233:8090/saas_plus/business-assistant
into develop
2 parents
e085d513
1dfb66ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
pages/tab/index/index.js
pages/tab/index/index.wxml
pages/tab/index/index.js
View file @
72d3f6b
...
@@ -226,9 +226,18 @@ Page({
...
@@ -226,9 +226,18 @@ Page({
readApi
(
param
)
readApi
(
param
)
}
}
},
},
gotoApply
()
{
gotoApply
(
e
)
{
let
{
type
,
item
}
=
e
.
currentTarget
.
dataset
console
.
log
(
'type,item: '
,
type
,
item
);
if
(
type
==
"active"
){
//申请活动
wx
.
$router
.
go
(
"packageOutput.openBusiness"
);
}
else
{
//申请门店
wx
.
$router
.
go
(
"apply"
);
}
// wx.$router.go('apply',1235)
// wx.$router.go('apply',1235)
wx
.
$router
.
go
(
"apply"
);
},
},
getMore
(
e
)
{
getMore
(
e
)
{
console
.
log
(
"显示更多数据"
);
console
.
log
(
"显示更多数据"
);
...
...
pages/tab/index/index.wxml
View file @
72d3f6b
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<image class="copy" data-phone="{{item.phone}}" bindtap="setCopyDataFn" src="{{IMG_URL}}index/copy.png" />
<image class="copy" data-phone="{{item.phone}}" bindtap="setCopyDataFn" src="{{IMG_URL}}index/copy.png" />
</view>
</view>
</view>
</view>
<view class="btn" hover-class="none" hover-stop-propagation="false" bindtap="gotoApply">
<view class="btn" hover-class="none" hover-stop-propagation="false"
data-type="active" data-item="{{item}}"
bindtap="gotoApply">
开通活动
开通活动
</view>
</view>
</view>
</view>
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<image class="phone-img" data-phone="{{item.phone}}" bindtap="phoneCallFn" src="{{IMG_URL}}index/phone.png" />
<image class="phone-img" data-phone="{{item.phone}}" bindtap="phoneCallFn" src="{{IMG_URL}}index/phone.png" />
<image class="copy" data-phone="{{item.phone}}" bindtap="setCopyDataFn" src="{{IMG_URL}}index/copy.png" />
<image class="copy" data-phone="{{item.phone}}" bindtap="setCopyDataFn" src="{{IMG_URL}}index/copy.png" />
</view>
</view>
<view class="btn" hover-class="none" hover-stop-propagation="false"
bindtap="gotoApply
" wx:if="{{item.applyStatus == 0}}">
<view class="btn" hover-class="none" hover-stop-propagation="false"
data-type="shop" bindtap="gotoApply" data-item="{{item}}
" wx:if="{{item.applyStatus == 0}}">
+开店面
+开店面
</view>
</view>
</view>
</view>
...
...
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