bound.wxml 1.1 KB

1234567891011121314151617181920212223242526
  1. <!--pages/bound/bound.wxml-->
  2. <view class='container'>
  3. <view class='wrapper'>
  4. <view class='li'>
  5. <!-- 小塾相机 -->
  6. <view class='li-camera'>
  7. <view class='li-camera-header'>
  8. <image src='{{imgUrl?baseImgUrl+imgUrl:"../../assets/default_headicon2.png"}}' class='li-camera-header-img'></image>
  9. <view>{{childName}}</view>
  10. </view>
  11. <view class='li-camera-content'>
  12. <view wx:if='{{derver}}'>
  13. <image src='../../assets/xiang_ji.png' class='li-camera-content-img'></image>
  14. <view>小塾相机号:{{derver}}</view>
  15. </view>
  16. <view wx:if='{{!derver}}'>
  17. <image src='../../assets/wei_bang_ding.png' class='li-camera-content-no' ></image>
  18. <view>暂未绑定小塾学伴</view>
  19. </view>
  20. </view>
  21. <view class='li-camera-btn' wx:if='{{derver}}' bindtap='getData'>解绑</view>
  22. <view class='li-camera-btn' wx:if='{{!derver}}' bindtap='getLocation'>去绑定</view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>