...
|
...
|
@@ -42,9 +42,9 @@ |
|
|
|
|
|
<!-- 数量操作 -->
|
|
|
<view class="num_box">
|
|
|
<image class="num_btn" src="/images/reduce.png" data-check='{{item.check}}' data-index="{{index}}" data-id="{{item.id}}" data-type="0" data-num="{{item.num?item.num:1}}" catchtap="num_change" />
|
|
|
<text>{{item.num?item.num:1}}</text>
|
|
|
<image class="num_btn" src="/images/add.png" data-check='{{item.check}}' data-index="{{index}}" data-id="{{item.id}}" data-type="1" data-num="{{item.num?item.num:1}}" catchtap="num_change" />
|
|
|
<image class="num_btn" src="/images/reduce.png" data-check='{{item.check}}' wx:if="{{item.num}}" data-index="{{index}}" data-id="{{item.id}}" data-type="0" data-num="{{item.num?item.num:0}}" catchtap="num_change" />
|
|
|
<text wx:if="{{item.num}}" >{{item.num?item.num:0}}</text>
|
|
|
<image class="num_btn" src="/images/add.png" data-check='{{item.check}}' data-index="{{index}}" data-id="{{item.id}}" data-type="1" data-num="{{item.num?item.num:0}}" catchtap="num_change" />
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
|