12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <view class="container" wx:if="{{!userInfo.mobile}}">
- <view class="logo">
- <image class="logo-img" src="../../images/logo.jpg" >
- </image>
- <view class="info ">{{companyName}}</view>
- </view>
- <view class="desc">
- <view class="text-h f16">为提供更优质的服务,{{companyName}}需要获取以下信息:</view>
- <view class="text-f ">你的手机号信息</view>
- </view>
- <view class="confirm">
- <button open-type="getPhoneNumber" catchgetphonenumber="getMobile" type="primary" >获取手机号</button>
- <!-- <button open-type="getUserInfo" bindgetuserinfo="getInfo" type="primary">确认</button> -->
- </view>
- </view>
- <view class="cash" wx:if="{{userInfo.mobile && list.length !=0 }}">
- <view class="coupon-list {{item['status'] == 1 ?'':'gray'}}" wx:for="{{list}}">
- <view class="coupon-img cash-img">
- <view class="cash-img-left">
- <view class="cil-1">{{item['reduceMoney']}}元</view>
- <view class="cil-2">代金券</view>
- </view>
- <view class="coupon-center">
- <view class="coupon-center-name">{{item['reduceMoney'] == 0 ? '无门槛优惠券': item['couponName']}}</view>
- <view class="coupon-center-date">{{item['isAll'] == 'yes' ? ' 全国通用': item['storeName']+'门店使用'}}</view>
- </view>
- <view class="cash-img-right" data-sn="{{item['couponSn']}}" data-status="{{item['status']}}" data-name="{{item['couponName']}}" bindtap="jumpBuy">
- {{item['status'] == 1?'立即使用': item['status'] ==2 ? '已经核销' :
- '已经作废'}}
- </view>
- </view>
- <!-- <view class="coupon-img discount-img">
- <view class="cash-img-left">
- <view class="cil-1">¥</view>
- <view class="cil-2">10</view>
- </view>
- <view class="cil-3">lsjfsalk </view>
- <view class="cash-img-right">立即使用</view>
- </view> -->
- </view>
- </view>
- <view class="discuss-info" wx:if="{{list.length ==0 }}">
- <image style="height: 400rpx;width: 400rpx;" src="../../images/no-discuss.png"></image>
- <view class="discuss">暂无优惠券</view>
- </view>
|