my.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!--pages/my/my.wxml-->
  2. <view class="my-content">
  3. <view class="top my-info ittflex">
  4. <view class="main-info ittflex-jcb">
  5. <view class="left-con ittflex-jcs">
  6. <view class="avatar ittflex">
  7. <image class="image-ac" src="{{appHeadImg}}"></image>
  8. </view>
  9. <text class="username">{{appUserName}}</text>
  10. </view>
  11. <view class="right-con">
  12. <view class="check-count">
  13. <text class="noraltext">检测机会:</text>
  14. <text class="boldtext">{{count}}</text>
  15. <text class="noraltext">次</text>
  16. </view>
  17. <view class="action-btn ittflex-jcs">
  18. <view class="appoin-btn ittflex" bindtap="handleCharge">去充值</view>
  19. <view wx:if="{{count !== 0}}" style="margin-left:10rpx;" class="appoin-btn ittflex" bindtap="handleAppoint">立即预约</view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="my-grid">
  25. <van-grid column-num="3" border="{{ false }}">
  26. <van-grid-item use-slot wx:for="{{gridList}}" wx:key="index" data-url="{{item.url}}" bindtap="handleNavTo">
  27. <image class="image-icon" src="{{item.imgUrl}}"></image>
  28. <text class="desc">{{item.title}}</text>
  29. </van-grid-item>
  30. </van-grid>
  31. </view>
  32. <view class="bottom-actions" wx:if="{{imageList.length !== 0}}">
  33. <view class="b-title">小课堂</view>
  34. <view class="images">
  35. <image mode="widthFix" class="imageitem" wx:for="{{imageList}}" wx:key="index" src="{{item.imgUrl}}"></image>
  36. </view>
  37. </view>
  38. </view>