Personnel_details.wxml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <!--parents/pages/me/me.wxml-->
  2. <import src="../../../templates/footer/footer.wxml" />
  3. <import src="../../../templates/loading/loading.wxml" />
  4. <view class='container'>
  5. <template is='loading' wx:if='{{!isLoaded}}'></template>
  6. <view class='wrapper' wx:else>
  7. <view class='header'>
  8. <view class='header-flex'>
  9. <view>
  10. <view class='section-text-black'wx:if='{{vipInfo}}'>{{vipInfo.childName}}</view>
  11. <view>
  12. <text class='section-text' wx:if='{{vipInfo}}'>{{vipInfo.grade}}-{{vipInfo.school}}</text>
  13. </view>
  14. <view class='shipping-phone' bindtap='callGetPhone' data-getPhone='{{callGetPhone}}'>
  15. <image class='phone-icon' src='../../../assets/phoneicon.png'></image>
  16. <text class='phone-num'>{{callGetPhone}}</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view>
  21. <view class='header-images'>
  22. <image class='header-nologin-icon' src='{{vipInfo.imgUrl ? baseImgUrl + vipInfo.imgUrl : "../../../assets/default_headicon.png"}}'></image>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="members-information" wx:for='{{vipInfo.list}}' wx:key='index' data-index='{{index}}'>
  27. <view class='information-flex'>
  28. <view class='section-text-members' wx:if='{{item.state ==1}}'>{{item.detail}}({{item.vipNo}})</view>
  29. <view class='section-text-members-gary' wx:if='{{item.state ==2}}'>{{item.detail}}({{item.vipNo}})</view>
  30. <view class='section-text-card'>有效期为{{item.startTime}}-{{item.endTime}}</view>
  31. </view>
  32. <view class='information-flexs'>
  33. <view class='section-text-pastdata' wx:if='{{item.state ==1}}' data-startTime='{{item.startTime}}' data-endTime='{{item.endTime}}' data-childId='{{item.id}}' bindtap='toggleSelectVipCtl'>修改</view>
  34. <view class='section-text-data' wx:if='{{item.state ==2}}'>已过期</view>
  35. </view>
  36. </view>
  37. <view class='section'>
  38. <view class='section-list'>
  39. <view class='section-li' wx:for='{{routerTwo}}' wx:key='index' data-index='{{index}}' bindtap='selectRouteCtl'>
  40. <view>
  41. <image class='section-icon' src='{{item.icon}}'></image>
  42. <text class='section-text'>{{item.text}}</text>
  43. </view>
  44. <image class='section-arrow' src='../../../assets/arrow_gray.png'></image>
  45. </view>
  46. </view>
  47. </view>
  48. <!-- 添加服务弹幕 -->
  49. <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{isShowVipModal}}'></view>
  50. <view class='model-show' wx:if='{{isShowVipModal}}'>
  51. <view class='model-list'>
  52. <view class='model-topic'>修改会员服务有效期</view>
  53. <view class='head-item'>
  54. <view class="picker-day">激活时间</view>
  55. <picker class="picker" mode="date" disabled="true" fields="month" value="{{starttime}}" start="2017-10" end="2097-10" bindchange="changeDate">
  56. <view class='head-month'>
  57. <text>{{starttime}}</text>
  58. <image class='section-select' ></image>
  59. </view>
  60. </picker>
  61. </view>
  62. <view class='head-item'>
  63. <view class="picker-day">到期时间</view>
  64. <picker class="picker" mode="date" fields="day" value="{{endTime}}" start="2017-10-1" end="2097-10-1" bindchange="changeDate">
  65. <view class='head-month'>
  66. <text>{{endTime}}</text>
  67. <image class='section-select' src='../../../assets/selecticon.png'></image>
  68. </view>
  69. </picker>
  70. </view>
  71. </view>
  72. <view class='model-list-footer'>
  73. <view class='model-list-footer-cancel' bindtap='allShowModel'>取消</view>
  74. <view class='model-list-footer-sure' bindtap='trueBookCtl'>确定</view>
  75. </view>
  76. </view>
  77. </view>
  78. <template is='footer' data='{{...footerData}}'></template>
  79. </view>