feat(washCodeList): 优化洗涤码列表显示内容
- 将“可使用网点”显示逻辑简化,并修改无网点时的显示为“不限” - 新增兑换时间和兑换码的显示
This commit is contained in:
parent
8a8fb8c16d
commit
a5fc1f38f6
@ -7,13 +7,11 @@
|
||||
<view class="radio"></view>
|
||||
<view class="code">{{item.title}}</view>
|
||||
</view>
|
||||
<view class="location">
|
||||
可使用网点:
|
||||
<block wx:for="{{item.agent}}" wx:for-index="i" wx:for-item="s">{{s.t_name+(i<item.agent.length-1?'、':'')}} </block>
|
||||
<!-- 如果没有限制显示 - -->
|
||||
<block wx:if="{{item.agent.length==0}}">-</block>
|
||||
<view class="location">可使用网点:<block wx:for="{{item.agent}}" wx:for-index="i" wx:for-item="s">{{s.t_name}}{{ i< item.agent.length-1?'、':''}}</block>
|
||||
<block wx:if="{{item.agent.length==0}}">不限</block>
|
||||
</view>
|
||||
<view class="indate">有效期:{{item.starttime}} - {{item.deadline}}</view>
|
||||
<view class="indate">兑换时间:{{item.created_at}}, 兑换码{{item.code}}</view>
|
||||
<!-- 如果有note -->
|
||||
<view class="indate" wx:if="{{item.note}}">{{item.note}}</view>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user