- <view wx:if="{{showPage}}">
- <!-- 券的详情页面 -->
- <view class='coupons'>
- <view class="coupons-body">
- <view class='banner'>
- <image src='{{data.coverImg}}'></image>
- </view>
- <view class='coupons_info' style='position:relative;z-index:9'>
- <view class='fenxiang'>
- <image class="fenxiang" src='{{fenxiangUrl}}' mode="widthFix"></image>
- <button class='share user-motto' data-id='{{data.id}}' data-couponId='{{data.couponId}}' data-title='{{data.title}}' id="shareBtn" open-type="share" hover-class="other-button-hover"></button>
- </view>
- <view>
- <view class='distance' wx:if="{{data.targetAd==2&&data.endTime!=undefined&&data.type!=5}}">
- <view style='text-align:center;display:inline-block;'>
- <image class='clock' src='{{clockUrl}}' mode='widthFix'></image>
- <text class="qiang">距结束还剩 :</text>
- </view>
- <view wx:if="{{clock=='已经截止'||data.remainInventory==0||data.status==1}}" class='times'>
- <text>{{day}}</text>天
- <text>{{hour}}</text>:
- <text>{{min}}</text>:
- <text>{{sec}}</text>
- </view>
- <view wx:if="{{clock!='已经截止'&&data.remainInventory!=0}}" class='times'>
- <text>{{day}}</text>天
- <text>{{hour}}</text>:
- <text>{{min}}</text>:
- <text>{{sec}}</text>
- </view>
- </view>
- <text class='title'>{{data.title}}<text class="elecard">电子卡</text></text>
- <text class="subTitle">{{data.subTitle}}</text>
- <view class='salePriceStr clearfix'>
- <view class="fl">售价:
- <text class="pri01">{{data.salePriceStr}}</text>
- <text class="yuan">元</text>
- <text class='throgh' wx:if="{{data.unit==0}}">{{data.priceStr}}元</text>
- <text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text>
- </view>
- <text class="restNum fr">剩余<text>{{data.remainInventory}}件</text></text>
- </view>
- <view class='rest' wx:if="{{data.validType==2}}">有效期:自领取之日起
- <text class='time'>{{validDays}}</text>天内有效</view>
- <view class='rest' wx:if="{{data.validType==1}}">有效期:
- <text class='time'>{{validStartDate}}至{{validEndDate}}</text>
- </view>
- <view class='rest' wx:if="{{data.type==5}}">
- <text class='time'>当次有效</text>
- </view>
- <view class='rest' wx:if="{{data.type==1}}">
- <text class='txt01'>使用条件:</text>
- <text class='time'>满{{data.usePriceStr}}元可用</text>
- </view>
- <view class='rest'>
- <text class='txt01'>限购条件:</text>
- <text class='time'>每人{{data.useLimitQuantity}}张</text>
- </view>
- </view>
- </view>
- <view class='posi'>
- <view class='posi_logo' wx:for="{{data.merchantVoList}}" wx:key="index">
- <view>
- <image src='{{item.merchantImgUrl}}'></image>
- </view>
- <view>
- <text>{{item.merchantName}}</text>
- <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
- </view>
- <image bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
- </view>
- </view>
- <view class='notes'>
- <view>
- <text>购买须知</text>
- </view>
- <view>
- <text><text class='spot'></text>{{data.remark}}</text>
- </view>
- </view>
- </view>
-
- <view class="buy-view app-border-top" style="position:fixed;z-index:{{zIndex}};">
- <button bindtap='gotopay' disabled='{{showbutton}}' hover-class='active' class='buy' wx:if="{{data.salePriceStr!=0&&data.remainInventory!=0&&endtime!='活动已结束'}}">
- <text class='txt'>{{data.salePriceStr}}元</text>马上购买</button>
- <button bindtap='gotopay' disabled='{{showbutton}}' class='buy' wx:if="{{data.salePriceStr==0&&data.remainInventory!=0&&endtime!='活动已结束'}}">免费领取</button>
- <button class='buy' disabled='true' wx:if="{{data.remainInventory==0&&endtime!='活动已结束'}}">已售罄</button>
- <button class='buy' disabled='true' wx:if="{{endtime=='活动已结束'}}">活动已结束</button>
- <button class='buy' disabled='true' wx:if="{{total_micro_second<=0}}">活动已结束</button>
- </view>
- </view>
-
-
- <!-- 问卷调查 -->
- <view class="b1" style="opacity:{{opacity}};display: {{display}};" animation="{{queueData}}">
- <view id='con' class='con'>
- <image class='close' mode='widthFix' src="{{closedUrl}}" bindtap="closeQuestion"></image>
- <image class='ques_gou' mode='widthFix' src="{{quesGouUrl}}"></image>
- <image class='image' src="{{headbgUrl}}" mode='widthFix'></image>
- <image class='img image' src="{{quesBgUrl}}" mode='widthFix'></image>
- <view class='question'>
- <text class='titles'>{{questionnaire.title}}</text>
- <!-- 单选 -->
- <radio-group class="radio-group" wx:if="{{questionnaire.flag=='single'}}" data-flags="single" bindchange="formSubmit" data-questionId="{{questionId}}">
- <!-- <label wx:for="{{questionnaire.answers}}" wx:key="{{index}}" data-answer="{{item.name}}" data-answerId="{{item.id}}">
- <radio class="radio ques" value="{{item.id}}" />{{item.name}}
- </label> -->
-
- <label class="radios" wx:for="{{questionnaire.answers}}" wx:key="{{index}}">
- <radio value="{{item.id}}" checked="{{item.checked}}" />{{item.name}}
- </label>
-
-
-
- </radio-group>
- <!-- 多选 -->
- <checkbox-group bindchange="checkboxChange" wx:if="{{questionnaire.flag=='multi'}}" bindchange="checkboxChange">
- <label class="radio ques" wx:for="{{questionnaire.answers}}" wx:key="index">
- <checkbox value="{{item.id}}" />{{item.name}}
- </label>
- </checkbox-group>
- <view class='ques btns' wx:if="{{questionnaire.flag=='multi'}}" data-flags='multi' bindtap='formSubmit' data-questionId="{{questionId}}">确定</view>
- </view>
- </view>
- </view>
- </view>
|