scheduling.wxml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="bar-bottom buttons-row">
  2. <view class="button {{buttonClass}}" bindtap='submit' data-alone="-1">{{buttonText}}</view>
  3. </view>
  4. <view class="content white-bg">
  5. <view class="content-box-pad">
  6. <view class="font14">可选活动</view>
  7. <navigator class="scheduling-example mTop10" url='/pages/product/activity/index?aid={{datas.optionAid}}' hover-class='none'>
  8. <image src="{{datas.logo}}" lazy-load="true" binderror="activeLogoBinderror" data-index="{{index}}" mode="aspectFill"></image>
  9. <view class="scheduling-example-content">
  10. <view class="activity-title font14 scheduling-gray">{{datas.title}}</view>
  11. </view>
  12. </navigator>
  13. </view>
  14. <view class="septal-top-line">
  15. <view class="cell cell-media">
  16. <view class="cell-value">
  17. <view class="qptype-box {{datas.explain ? 'border-bot' : ''}}">
  18. <view class="qptype-info">
  19. <view class="colBox">可选时间</view>
  20. <view class="font12 qptype-text gray mTop5">{{datas.optionTime}}</view>
  21. </view>
  22. <view class="qptype-downtime right {{datas.status == 5 ? 'downtime-green' : ''}}" wx:if="{{datas.status == 2 || datas.status == 5 || datas.status == 7}}">
  23. <text class="time-title font12 {{datas.status == 5 ? 'green' : 'subtitleColor'}}">{{updateTime.title}}</text><br/>
  24. <text class='time-m mTop10'>{{updateTime.hour}}</text><text class="i subtitleColor">:</text>
  25. <text class='time-m'>{{updateTime.minite}}</text><text class="i subtitleColor">:</text>
  26. <text class='time-m'>{{updateTime.second}}</text>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="cell cell-media" wx:if="{{datas.explain}}">
  32. <view class="cell-value padTB">
  33. <view>选期说明</view>
  34. <view class="font12 gray mTop5">{{datas.explain}}</view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="septal-top-line">
  39. <view class="content-box-pad font14">请选择排期</view>
  40. <view class="scheduling-sku-list font14" wx:if="{{datas.alipays.length > 0}}">
  41. <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">
  42. <text class="sku-item-title">{{item.sname}}</text>
  43. <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>
  44. <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>
  45. </view>
  46. </view>
  47. <view class='noData' wx:else><text class="icon icon-info"></text><text>暂无可选排期</text></view>
  48. </view>
  49. </view>