shell_device.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!--pages/shell_device/shell_device.wxml-->
  2. <view class='container'>
  3. <view class='wrapper'>
  4. <view class='li'>
  5. <view class='li-head'>
  6. <image src="{{imgUrl?baseImgUrl+imgUrl:'../../image/default_headicon2.png'}}" class='li-head-img'></image>
  7. <view>{{childName}}</view>
  8. </view>
  9. <view class='li-content' wx:if='{{isShell==0}}'>
  10. <image src="{{derver?'../../image/beike_ban_ding.png':'../../image/mei_you_ban_ding.png'}}" class="li-content-img {{derver?'':'li-shell'}}"></image>
  11. <view>{{derver?'小塾相机号 :'+derver:'暂未绑定小塾相机' }}</view>
  12. <view style=' display: flex;justify-content: space-around;'>
  13. <view class='li-content-btn' bindtap="{{derver?'changeShell':'getLocation'}}">{{derver?'解绑':'去绑定'}}</view>
  14. <view class='li-content-btn-try' wx:if='{{derverType==2}}'>试用版</view>
  15. </view>
  16. </view>
  17. <!-- <view class='li-content' wx:if='{{isShell==1&&zybEndDate==0&&childType!=1}}'>
  18. <image src='../../image/no_zuo_yue.png' class="li-homework-img"></image>
  19. <view>暂无作业批改服务</view>
  20. <view class='li-content-btn' data-url='member_pay' data-method='{{({vipId,isShow:1,imgUrl,childName,isShell,isZybService})}}' bindtap='redirectCtl'>添加服务</view>
  21. </view> -->
  22. <view class='li-date' wx:if='{{isShell==1}}' >
  23. <view class='li-date-title'>
  24. <image src='../../image/huang_guan.png' class='li-date-title-img'></image>
  25. <!-- <text>作业批改服务</text> -->
  26. </view>
  27. <view class='li-date-time-items' wx:for='{{list}}' wx:key='index' wx:if='{{list.length>0&&item.isValid==1}}'>
  28. <view>
  29. <image src='{{item.type==2?"../../image/zuan_shi.png":""}}' class='li-date-time-items-img' wx:if='{{item.type==2}}'></image>
  30. <text>{{item.type==999?'内部用户':item.name}} </text>
  31. </view>
  32. <view style='text-align: right'>
  33. <view wx:if='{{item.type!=999&&item.type!=5}}'> {{item.beginDate}}-{{item.endDate}}</view>
  34. <!-- <view class='li-date-time-items-tips' wx:if='{{item.isValid==1&&item.type!=999}}'>当前生效</view> -->
  35. </view>
  36. </view>
  37. <view class='li-date-time' wx:if='{{list.length==0}}'>无服务</view>
  38. <!-- <view class='li-date-footer'>{{item.leagueName}}</view> -->
  39. <image src='../../image/xu_fei_logo.png' class='li-logo'></image>
  40. </view>
  41. <!-- <view class='li-content' wx:if='{{isShell==1&&isMain==1&&childType!=1}}'>
  42. <view class='li-content-btn' data-url='member_pay' data-method='{{({vipId,isShow:1,imgUrl,childName,isShell,isZybService,isWechat:1})}}' bindtap='redirectCtl'>去续费</view>
  43. </view> -->
  44. </view>
  45. <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
  46. <view class='model' wx:if='{{hiddenModel}}'>
  47. <view class='model-text' bindtap='sureCheckChildren'>确定要解绑吗</view>
  48. <view class='model-list'>
  49. <view bindtap='allShowModel'>取消</view>
  50. <view class='model-list-sure' bindtap='setShell'>确定</view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>