|
@@ -2,11 +2,11 @@
|
|
|
<view class="logo">
|
|
|
<image class="logo-img" src="../../images/logo.jpg" >
|
|
|
</image>
|
|
|
- <view class="info ">{{companyName}}</view>
|
|
|
+ <view class="info " style="color: #fff;">{{companyName}}</view>
|
|
|
</view>
|
|
|
<view class="desc">
|
|
|
- <view class="text-h f16">为提供更优质的服务,{{companyName}}需要获取以下信息:</view>
|
|
|
- <view class="text-f ">你的手机号信息</view>
|
|
|
+ <view class="text-h f16" style="font-size: 14px;color: #fff;">为提供更优质的服务,{{companyName}}需要获取以下信息:</view>
|
|
|
+ <view class="text-f " style="font-size: 14px;color: #fff;">你的手机号信息</view>
|
|
|
</view>
|
|
|
<view class="confirm">
|
|
|
<button open-type="getPhoneNumber" catchgetphonenumber="getMobile" type="primary" >获取手机号</button>
|
|
@@ -15,15 +15,16 @@
|
|
|
</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="coupon-list " wx:for="{{list}}">
|
|
|
+ <view class="coupon-img cash-img {{item['status'] == 1 ?'':'gray'}}">
|
|
|
<view class="cash-img-left">
|
|
|
- <view class="cil-1">{{item['reduceMoney']}}元</view>
|
|
|
- <view class="cil-2">代金券</view>
|
|
|
+ <view class="cil-1" wx:if="{{item['type'] == 2}}">{{item['discount']}}折</view>
|
|
|
+ <view class="cil-1" wx:else>{{item['reduceMoney']}}元</view>
|
|
|
+ <view class="cil-2">{{item['type'] == 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 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 ? '已经核销' :
|