Commit a8a59aef by chenwq

跳转详情

1 parent 3d32a027
......@@ -11,6 +11,12 @@ Page({
customerInfoBox: false
},
jump(e) {
let { item, name } = e.currentTarget.dataset
item.id = item.customerId
wx.$router.go(name, item)
},
refresh() {
let calendarModule = this.selectComponent('#calendar')
calendarModule.refresh()
......
......@@ -24,7 +24,7 @@
<view wx:else class="tip-txt">本轮时段已约满</view>
</view>
<view class="content-box">
<view class="content" wx:for="{{item.list}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="content" wx:for="{{item.list}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx" bindtap="jump" data-name="detail" data-item="{{subItem}}">
<view>
<view class="flex card-name">
<!-- toShopStatus - 到店状态(1:未到店,2:已到店,3:超时未到店) -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!