detail_customer.wxml
2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--pages/customer/detail_owner.wxml-->
<nav hasHome>订座详情</nav>
<view class="page">
<view class="card" style="margin-top: 42rpx; margin-bottom: 168rpx;">
<card seller="{{detail.seller}}" detail="{{detail}}">
<view class="opt flex-rr" slot="opt">
<block wx:if="{{!detail.hasCanSuccess}}">
<view bindtap="userinfo">
<view class="opt-button">赴约</view>
</view>
</block>
<block wx:else="">
<formids bindclick="reserveCancel">
<view class="opt-button">取消</view>
</formids>
<formids url="./remind?id={{detail.id}}&ddate={{detail.ddate}}&remindtime={{detail.remindtime}}">
<view class="opt-button">提醒</view>
</formids>
<button class="button-none" open-type="share">
<!--<view class="opt-button">分享日程</view>-->
<view class="opt-button">发邀请函</view>
</button>
</block>
</view>
</card>
</view>
<block wx:if="{{detail.customers.length>0}}">
<view class="line-text">
<view class="text">
<view> {{detail.customers.length}}人参与 </view>
</view>
</view>
<view>
<block wx:for="{{detail.customers}}" wx:key="detail.customers.key">
<view class="flex-lr customers">
<view class="flex-ll userinfo">
<image src="{{item.headimgurl}}" class="avatar" mode="aspectFill"></image>
<view>{{item.nickname}}</view>
</view>
<view class="userinfo-type">{{item.openid==detail.openid?'发起人':'已接受'}}</view>
</view>
</block>
</view>
</block>
</view>
<manager manager="{{detail}}" id="manager"></manager>
<activity-enter floclass="detail_customer"></activity-enter>