mine.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!--pages/mine/mine.wxml-->
  2. <view class="mine-container">
  3. <t-navbar title="我的" t-class-title="nav-title" />
  4. <scroll-view
  5. class="page-scroll__container mine-box"
  6. type="list"
  7. scroll-y
  8. style="height: calc(100vh - 180rpx); padding-bottom: calc(100rpx + env(safe-area-inset-bottom));"
  9. >
  10. <view class="head-container">
  11. <view class="head-box">
  12. <t-avatar class="avatar-example" size="70px">W</t-avatar>
  13. <view class="name-box">
  14. <view class="name">{{patient ? patient.name : '未登录'}}</view>
  15. <view class="phone" wx:if="{{phone}}">{{phone}}</view>
  16. </view>
  17. </view>
  18. <view class="image-box" catch:tap="toHealthPage">
  19. <image src="../../assets/bg/health-file.bg.png" class="health-img" />
  20. </view>
  21. </view>
  22. <view class="knowledge-box">
  23. <view class="title">知识查询</view>
  24. <view class="content-container">
  25. <view class="content-box" catch:tap="toDietTeaPage">
  26. <view><image src="../../assets/bg/icon_tea@3x.png" class="icon-img" /></view>
  27. <view class="content-title">茶饮</view>
  28. </view>
  29. <view class="content-box" catch:tap="toDietTonicPage">
  30. <view><image src="../../assets/bg/icon_diet@3x.png" class="icon-img" /></view>
  31. <view class="content-title">药膳</view>
  32. </view>
  33. </view>
  34. </view>
  35. </scroll-view>
  36. <view class="tabbar-container">
  37. <tabbar tabbarValue="{{tabbarValue}}" patientId="{{patient.patientId || ''}}"></tabbar>
  38. </view>
  39. </view>