faceDetectionDetails.wxml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!--pages/faceDetectionDetails/faceDetectionDetails.wxml-->
  2. <wxs src="../../utils/filter.wxs" module="filter" />
  3. <view class="mine">
  4. <view class="tab">
  5. <view class="tab-left">
  6. <view class="tab-tips">{{userInfo.status_text}}</view>
  7. <view class="inspect-tips">{{userInfo.last_check_day==0?'上次检查:今天':'上次检查:'+userInfo.last_check_day+'天前'}}</view>
  8. <view class="user-info">
  9. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/user.png"></image>
  10. <text class="user-name">{{userInfo.nickname}}</text>
  11. <image class="info-sex" src="{{userInfo.sex==1?man:female}}"></image>
  12. <text class="user-sex">{{userInfo.sex==1?'男':'女'}}</text>
  13. </view>
  14. </view>
  15. <view class="tab-right">
  16. <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/headPortrait.png"></image>
  17. </view>
  18. </view>
  19. <view class="content">
  20. <view class="content-view">
  21. <view class="title">
  22. <view class="title-left">改善方案</view>
  23. <view class="title-right" catchtap="ruleClick">推荐方案原则</view>
  24. </view>
  25. <view class="title-tips">{{userInfo.skin_name}}</view>
  26. <scroll-view class="table" scroll-x="true">
  27. <view class="week" wx:for="{{userInfo.scheme_list}}" data-item="{{item}}" data-index="{{index}}" wx:key="index" bindtap="changeWeek">
  28. <view class="week-text" style="{{nowTimesIndex==index?'color:#FA7D22FF':''}}">{{item.name}}</view>
  29. <view class="sign" wx:if="{{nowTimesIndex==index}}"></view>
  30. </view>
  31. </scroll-view>
  32. <view class="programme">
  33. <view class="programme-title">
  34. <view class="programme-tiele-left"></view>
  35. <view class="programme-tiele-right">{{userInfo.scheme_list[nowTimesIndex].time}}</view>
  36. </view>
  37. <view class="frequency">
  38. <view class="frequency-block" wx:for="{{userInfo.scheme_list[nowTimesIndex].list}}" wx:key="index">
  39. <view class="frequency-tab">
  40. <view class="frequency-left">
  41. <view class="times">{{item.name}}</view>
  42. <view class="frequency-tips">{{classify_name}}</view>
  43. </view>
  44. <view wx:if="{{item.status==1}}" class="repeat" data-item="{{item.list}}" bindtap="toMake">再来一单</view>
  45. <view wx:else class="make" data-item="{{item.list}}" bindtap="toMake">去预约</view>
  46. </view>
  47. <view class="project" wx:for="{{item.list}}" wx:for-item="value" wx:key="index">
  48. <view class="project-img">
  49. <image src="{{value.cover_url}}"></image>
  50. </view>
  51. <view class="project-content">
  52. <view class="content-title">{{filter.abbreviationEight(value.name)}}</view>
  53. <!-- <view class="content-tips"></view> -->
  54. <view class="product">{{value.product_name}}</view>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </view>