Commit 72d3f6b6 by 李伟康

Merge branch 'develop' of http://192.168.3.233:8090/saas_plus/business-assistant into develop

2 parents e085d513 1dfb66ef
......@@ -226,9 +226,18 @@ Page({
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");
},
getMore(e) {
console.log("显示更多数据");
......
......@@ -70,7 +70,7 @@
<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">
<view class="btn" hover-class="none" hover-stop-propagation="false" data-type="active" data-item="{{item}}" bindtap="gotoApply">
开通活动
</view>
</view>
......@@ -106,7 +106,7 @@
<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" />
</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>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!