me.wxml 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <!--pages/me/me.wxml-->
  2. <view class='container'>
  3. <view class='wrapper'>
  4. <image src='../../image/kai_shi_bg.png' class='logo'></image>
  5. <view class="content" >
  6. <view class='head' style="padding-top:{{statusBar}}px">
  7. <image class='head-img' src='{{photo?baseImgUrl+photo:"../../image/default_headicon4.png"}}'></image>
  8. <view wx:if='{{!userInfo}}'>
  9. <button class='head-text' open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">点击登录账户</button>
  10. </view>
  11. <view wx:if='{{userInfo}}'>
  12. <view class='head-text'>{{name}}</view>
  13. </view>
  14. </view>
  15. <view class='me'>
  16. <view class='me-item' wx:for='{{meList}}' wx:key='index'>
  17. <image class='me-item-img {{index==1?"middle-img":""}}' src='{{item.img}}' data-bindex="{{index}}" data-url='{{item.url}}' bindtap='clickOther'></image>
  18. </view>
  19. </view>
  20. </view>
  21. <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
  22. <view class='model' wx:if='{{hiddenModel}}'>
  23. <view class='model-list'>
  24. <view class='model-list-btn' bindtap='getReset' >重新开始</view>
  25. <view class='model-list-btn' bindtap='geonTest' wx:if='{{level!=3}}'>接着测试</view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>