12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <view class="bar-bottom buttons-row">
- <view class="button {{buttonClass}}" bindtap='submit' data-alone="-1">{{buttonText}}</view>
- </view>
- <view class="content white-bg">
- <view class="content-box-pad">
- <view class="font14">可选活动</view>
- <navigator class="scheduling-example mTop10" url='/pages/product/activity/index?aid={{datas.optionAid}}' hover-class='none'>
- <image src="{{datas.logo}}" lazy-load="true" binderror="activeLogoBinderror" data-index="{{index}}" mode="aspectFill"></image>
- <view class="scheduling-example-content">
- <view class="activity-title font14 scheduling-gray">{{datas.title}}</view>
- </view>
- </navigator>
- </view>
- <view class="septal-top-line">
- <view class="cell cell-media">
- <view class="cell-value">
- <view class="qptype-box {{datas.explain ? 'border-bot' : ''}}">
- <view class="qptype-info">
- <view class="colBox">可选时间</view>
- <view class="font12 qptype-text gray mTop5">{{datas.optionTime}}</view>
- </view>
- <view class="qptype-downtime right {{datas.status == 5 ? 'downtime-green' : ''}}" wx:if="{{datas.status == 2 || datas.status == 5 || datas.status == 7}}">
- <text class="time-title font12 {{datas.status == 5 ? 'green' : 'subtitleColor'}}">{{updateTime.title}}</text><br/>
- <text class='time-m mTop10'>{{updateTime.hour}}</text><text class="i subtitleColor">:</text>
- <text class='time-m'>{{updateTime.minite}}</text><text class="i subtitleColor">:</text>
- <text class='time-m'>{{updateTime.second}}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="cell cell-media" wx:if="{{datas.explain}}">
- <view class="cell-value padTB">
- <view>选期说明</view>
- <view class="font12 gray mTop5">{{datas.explain}}</view>
- </view>
- </view>
- </view>
- <view class="septal-top-line">
- <view class="content-box-pad font14">请选择排期</view>
- <view class="scheduling-sku-list font14" wx:if="{{datas.alipays.length > 0}}">
- <view class="scheduling-sku-list-item {{checkIndex == index ? 'checked' : datas.status == 5 ?'scheduling-list-item-plain flex-center':datas.status != 2 || (datas.status == 2 && item.actnum <= 0)? 'scheduling-list-item-gray':''}}" wx:for="{{datas.alipays}}" wx:key="*this" data-index="{{index}}" bindtap="checkClick">
- <text class="sku-item-title">{{item.sname}}</text>
- <view class="mTop10 scheduling-sku-item-status {{checkIndex == index ? 'white': item.actnum>10?'green':(item.actnum<=10 && item.actnum>0 ? 'subtitleColor':'')}}" wx:if="{{datas.status == 2}}">{{(item.actnum>10?'火热选期':(item.actnum > 0 && item.actnum <= 10?'少量名额':'已满额'))}}</view>
- <view class="mTop10 scheduling-sku-item-status" wx:if="{{datas.status != 2 && datas.status != 5}}">{{datas.status == 0 ? '待审核': datas.status == 1 ? '审核通过' : datas.status == 3 ? '已下架' : datas.status == 4 ? '已删除' : datas.status == 6 ? '已结束' : datas.status == 7 ? '已满额' : ''}}</view>
- </view>
- </view>
- <view class='noData' wx:else><text class="icon icon-info"></text><text>暂无可选排期</text></view>
- </view>
- </view>
|