add_batch_serve.wxml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!--pages/past_record/past_record.wxml-->
  2. <import src="../../templates/loading/loading.wxml" />
  3. <view class='container'>
  4. <template is='loading-teacher' wx:if='{{!isLoaded}}'></template>
  5. <view class='wrapper' wx:else>
  6. <view class='li-shadow'>
  7. <view class='header'>
  8. <view class="header-imgs">
  9. <image src='{{list[0].imgUrl?baseImgUrl+list[0].imgUrl:"../../assets/default_headicon2.png"}}' class='header-img'></image>
  10. <image src='{{list[1].imgUrl?baseImgUrl+list[1].imgUrl:"../../assets/default_headicon2.png"}}' class='header-img header-img-two' wx:if='{{list.length>1}}'></image>
  11. <image src='{{list[2].imgUrl?baseImgUrl+list[2].imgUrl:"../../assets/default_headicon2.png"}}' class='header-img header-img-three' wx:if='{{list.length>2}}'></image>
  12. </view>
  13. <view class='header-items' data-url="batch_renew_list" data-method='{{({list})}}' bindtap="navigateCtl">
  14. 为<text class="header-items-red">{{list.length}}</text>位学生批量续费
  15. <image src='../../assets/right_zy7@2x.png' class='header-items-img'></image>
  16. </view>
  17. </view>
  18. </view>
  19. <!-- 选择添加服务类型 -->
  20. <view class='type'>
  21. <view class='type-title'>选择添加服务</view>
  22. <view class='type-items' wx:for='{{payList}}' wx:key='index' data-index='{{index}}' data-number='{{item.number}}' data-type='{{item.priceType}}' data-price='{{item.price}}' bindtap='selectCardType'>
  23. <!-- <image src='{{index==dateIndex?"../../assets/select_on.png":"../../assets/select_off.png"}}' class='type-items-img' ></image> -->
  24. <view class='type-items-title'>
  25. <image src='../../assets/huang_guan.png' class='serve-item-img' wx:if='{{item.priceType=="C023"}}'></image>
  26. <image src='../../assets/zuan_shi.png' class='serve-item-img' wx:if='{{item.priceType=="C024"}}'></image>
  27. <text>{{item.name}}</text>
  28. </view>
  29. <view wx:if='{{index==dateIndex}}'>
  30. <view class='type-items-num'>您有{{item.exchangeNum}}枚塾币</view>
  31. <view class='type-items-add'>
  32. <view>购买月数</view>
  33. <view>
  34. <image src='../../assets/icon_plus.png' class='type-items-add-img' bindtap='arrowNum'></image>
  35. <text class='type-items-add-code'>{{item.number}}</text>
  36. <image src='../../assets/icon_down.png' class='type-items-add-img' bindtap='plusNum'></image>
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <!-- 确定 -->
  43. <view class='btn' bindtap='sureAddCorrectService'>确定</view>
  44. </view>
  45. </view>