Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- <!--pages/coupon/coupon.wxml-->
- <view class="container" style="background-color:#f6f6f6;">
- <image class="couponImg" src="{{headImgUrl}}" mode='aspectFill'></image>
- <view class="detailsBox shadow">
- <image class="bottomBg" src="../../static/coupon/bottomBg1.png"></image>
- <image class="decorate" src="../../static/coupon/01.png"></image>
- <view class="detailsInfo">
- <text class="txt1">{{coupon_name+type_name}}</text>
- <text class="txt2">购买时间:{{couponTime}}</text>
- </view>
- <view class="detailsRight" wx:if="{{type==2}}"><image class="txt" src="../../static/coupon/txt.png"></image>{{totalNums}}<text class="company">张</text>
- </view>
- <image class="logo" src="../../static/coupon/logo.png" wx:if="{{type==1}}"></image>
- </view>
- <view class="middleContent shadow">
- <view id="couponCheck" class="relative clearfix" wx:if="{{type==1&&state!=2}}">
- <image class="couponIcon" src="../../static/coupon/couponIcon.png"></image>
- <text class="number">券码:{{couponCode}}</text>
- <view class="txt">此券有效</view>
- </view>
- <view id="couponDetails" class="relative clearfix" wx:if="{{state==2}}">
- <view class="title">核销详情</view>
- <view class="detailsItem">
- <view class="sign"></view>
- <text class="itemTitle" wx:if="{{type==1}}">券码</text>
- <text class="itemTitle" wx:else>数量</text>
- <text class="itemContent" wx:if="{{type==1}}">{{couponCode}}</text>
- <text class="itemContent" wx:else>{{nums}}</text>
- </view>
- <view class="detailsItem">
- <view class="sign"></view>
- <text class="itemTitle">类型</text>
- <text class="itemContent">{{coupon_name+type_name}}</text>
- </view>
- <view class="detailsItem">
- <view class="sign"></view>
- <text class="itemTitle">时间</text>
- <text class="itemContent">{{duration}}</text>
- </view>
- <view class="state">核销成功</view>
- </view>
- <view id="vCodeBox" wx:if="{{type==2&&state!=2}}">
- <input placeholder="输入短信验证码" placeholder-style="color:#FFFFFF;font-size:30rpx;" value="{{code_num}}" bindinput="changeCode"></input>
- <view class="countBox">
- <text>核销</text>
- <view class="countContent">
- <input type="number" value="{{nums}}" bindinput="changeNums" bindblur='blueNums'></input>
- <image class="symbolBox" src="../../static/coupon/symbolLeft.png" style="left:-5rpx;" bindtap="reduceCoupon"></image>
- <image class="symbolBox" src="../../static/coupon/symbolRight.png" style="right:-5rpx;" bindtap="addCoupon"></image>
- </view>
- </view>
- </view>
- </view>
- <button class="btn shadow {{state==1?'select':''}}" bindtap="writeOff" wx:if="{{state!=2}}">核销</button>
- <button class="btn shadow" bindtap="goHome" wx:else>确定</button>
- </view>
|