Commit ee1bd31d by 张立顺

feat 功能联调

1 parent c36a2e01
...@@ -97,6 +97,15 @@ Page({ ...@@ -97,6 +97,15 @@ Page({
list list
}) })
}, },
navigateToStoreDetail(e) {
let { item } = e.currentTarget.dataset
item.currentTab = 2
wx.navigateTo({
url: `/packageCustomer/pages/merchantDetail/merchantDetail?query=${encodeURIComponent(
JSON.stringify(item)
)}`
})
},
onRoute(options) { onRoute(options) {
console.log(options, 'options') console.log(options, 'options')
// console.log(options, 'options') // console.log(options, 'options')
......
...@@ -2,18 +2,22 @@ ...@@ -2,18 +2,22 @@
<scroll-view class="scrollView" scroll-y style="height: calc(100vh - 80px);"> <scroll-view class="scrollView" scroll-y style="height: calc(100vh - 80px);">
<view class="list"> <view class="list">
<!-- wx:for="{{ list }}" wx:key="index" --> <!-- wx:for="{{ list }}" wx:key="index" -->
<view class="box" wx:for="{{ list }}" wx:key="index"> <view class="box" wx:for="{{ list }}" wx:key="index" data-item="{{ item }}" bindtap="navigateToStoreDetail">
<text class="merchant"><text class="status {{ item.storeType == 1?'newStore':'oldStore' }}">{{item.storeType == 1?'新店':'老店'}}</text><text class="merchantName">跟进中跟跟进中跟进中跟进中跟进中跟进中跟进中跟进中进中跟进中跟进中跟进中跟进中跟进中{{item.potentialCustomerName}}</text></text> <text class="merchant"><text class="status {{ item.storeType == 1?'newStore':'oldStore' }}">{{item.storeType == 1?'新店':'老店'}}</text><text class="merchantName">{{item.merchantName}}</text></text>
<view class="introduction merchantInfo"> <view class="introduction merchantInfo">
<view class="item headerItem"> <view class="item">
<view class="left children"> <!-- <view class="left children"> -->
<view class="label">拜访次数</view> <view class="label">拜访次数</view>
<view class="content">{{item.visitTimes?item.visitTimes+'次':'-'}}</view> <view class="content">{{item.visitTimes?item.visitTimes+'次':'-'}}</view>
</view> <!-- </view> -->
<view class="right children"> <!-- <view class="right children">
<view class="label">销售人员</view> <view class="label">销售人员</view>
<view class="content text-hide">销售人员销售人员销售人员销售人员{{item.visitCount?item.visitCount+'次':'-'}}</view> <view class="content text-hide">{{item.visitCount?item.visitCount+'次':'-'}}</view>
</view> </view> -->
</view>
<view class="item">
<view class="label person">销售人员</view>
<!-- <view class="content text-hide" wx:for="{{item.salePersonnelInfoDTOList}}" wx:key="index" >{{item.salePersonnelInfoDTOList[index].salePersonnelName}}</view> -->
</view> </view>
<view class="item"> <view class="item">
<view class="label person">签约时间</view> <view class="label person">签约时间</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!