|
@@ -100,7 +100,9 @@ |
|
@@ -100,7 +100,9 @@ |
100
|
<image src="{{item.pic}}" mode="aspectFill"></image>
|
100
|
<image src="{{item.pic}}" mode="aspectFill"></image>
|
101
|
<view class="title">
|
101
|
<view class="title">
|
102
|
<text class="area">{{item.address}} {{item.time}}</text>
|
102
|
<text class="area">{{item.address}} {{item.time}}</text>
|
103
|
- <text class="num">还差{{item.people}}人</text>
|
103
|
+ <!--已加入人数小于最低人数-->
|
|
|
104
|
+ <view class="num" wx:if="{{item.join_number<item.number}}">还差{{item.people}}人</view>
|
|
|
105
|
+ <view class="num" wx:else>还可加入{{item.max_number - item.join_number}}人</view>
|
104
|
</view>
|
106
|
</view>
|
105
|
<view class="user">
|
107
|
<view class="user">
|
106
|
<!--<image src="../../images/avatar@2x.png" class="avatar"></image>-->
|
108
|
<!--<image src="../../images/avatar@2x.png" class="avatar"></image>-->
|
|
@@ -118,7 +120,9 @@ |
|
@@ -118,7 +120,9 @@ |
118
|
<image src="{{item.pic}}" mode="aspectFill"></image>
|
120
|
<image src="{{item.pic}}" mode="aspectFill"></image>
|
119
|
<view class="title">
|
121
|
<view class="title">
|
120
|
<text class="area">{{item.address}} {{item.time}}</text>
|
122
|
<text class="area">{{item.address}} {{item.time}}</text>
|
121
|
- <text class="num">还差{{item.people}}人</text>
|
123
|
+ <!--已加入人数小于最低人数-->
|
|
|
124
|
+ <text class="num" wx:if="{{item.join_number<item.min}}">还差{{item.people}}人</text>
|
|
|
125
|
+ <text class="num" wx:else>还可加入{{item.max - item.join_number}}人</text>
|
122
|
</view>
|
126
|
</view>
|
123
|
<view class="user">
|
127
|
<view class="user">
|
124
|
<!--<image src="../../images/avatar@2x.png" class="avatar"></image>-->
|
128
|
<!--<image src="../../images/avatar@2x.png" class="avatar"></image>-->
|