couponCell.wxml
372 Bytes
<view class="coupon-cell" bindtap="select">
优惠券
<view class="choose">
<block wx:if="{{amount}}">
<text class="value chosen">-¥{{amount}}</text>
</block>
<block wx:else>
<text class="value">选择优惠券</text>
</block>
<image class="right"
src="../../../../static/images/arrow-right-2.png"></image>
</view>
</view>