You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <!--pages/payment/mjCoupon/mjCoupon.wxml-->
- <view class='solution1' style='margin-top:30rpx;'>
- <view class='tab' style="margin-top:20rpx;">
- <view class="{{flag=='coupons'?'couponsL':'couponsR'}}" bindtap='getCoupons'>会员码</view>
- <view class="{{flag=='record'?'couponsL':'couponsR'}}" bindtap='getRecord'>手机号</view>
- </view>
- <view class='msg'>
- <view class='footer' wx:if='{{flag == "record"}}'>
- <text>手机号</text>
- <input placeholder='请输入' type='number' bindinput="getList" value='{{phone}}'></input>
- </view>
- <button wx:if='{{flag == "record"}}' class='sub-button' bindtap='submitForm'>查询</button>
- <button wx:if='{{flag == "coupons"}}' class='submit' hover-class='active' bindtap='gotoSaoyiSao' style='display:block;'>识别会员码查询 </button>
- </view>
- <view class='hide' wx:if="{{avaList == []}}" >
- <image class='jiaoyi' src='./../../../static/images/jiaoyi.png' mode='widthFix'></image>
- <text>暂无可赠送优惠券</text>
- </view>
- <view class='listBox' wx:if="{{avaList.length > 0}}">
- <view class='couList' wx:for="{{avaList}}" wx:key="index" bindtap='choicecoupon' data-index='{{index}}' data-title='{{item.title}}' data-coupon_id='{{item.coupon_id}}' data-price='{{item.price}}' data-enable='{{item.enable}}' >
- <view class=" clearfix {{(item.enable == 0)?'mark':''}} " >
- <image class='gou' mode='widthFix' src='./../../../static/images/selected2.png' wx:if='{{item.checked}}'></image>
- <view class='conBox' >
- <view>{{item.title}}</view>
- <view>
- <text>{{item.price/100}}</text>
- </view>
- </view>
- <view class='yxq'>
- <text>{{item.coupon_description}}</text>
- </view>
- <view class='yxq'>
- <text>有效时间:{{item.expire_time}}</text>
- </view>
- </view>
- </view>
- </view>
-
- </view>
|