plan.wxml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <view class="tabs flex-column">
  2. <scroll-view class="flex1" scroll-y scroll-into-view="{{toView}}">
  3. <view class="padding summary border-radius">
  4. <view class="title flex-align-center">
  5. <!-- <image src="/images/icon_record_02.png" class="icon"></image> -->
  6. <text>皮肤总结:</text>
  7. <!-- <text style="font-family: PingFangSC-Medium, PingFang SC;color: #FA7D22;">{{ analysis.skin_result.skin_name }}</text> -->
  8. </view>
  9. <view class="item" wx:for="{{ analysis.skin_result.list }}" wx:key="index">
  10. <image src="/images/icon_record_new_0{{index}}.png"></image>
  11. <text class="T" style="font-size: 28rpx;font-family: PingFangSC-Medium, PingFang SC;">{{ item.name }}:</text>
  12. <text class="t" style="font-size: 28rpx;color: #666;margin-top: 10rpx;">{{ item.suggest }}</text>
  13. </view>
  14. </view>
  15. <!-- <view class="line"></view> -->
  16. <view class="padding border-radius" wx:if="{{ plan && plan.list && plan.list.length > 0 }}">
  17. <view class="title flex-align-center">
  18. <!-- <image src="/images/icon_record_04.png" class="icon"></image> -->
  19. <text>改善方案</text>
  20. </view>
  21. <view class="list" wx:for="{{ plan.list }}" wx:key="index">
  22. <view class="btn-box flex flex-align-center">
  23. <image src="/images/icon_record_new_03.png"></image>
  24. <view class="btn flex-center">
  25. <text>{{ item.cate_name }} </text>
  26. <text class="line">|</text>
  27. </view>
  28. <view class="btn flex-center">
  29. <text>{{ item.rate }} </text>
  30. <text class="line">|</text>
  31. </view>
  32. <view class="btn flex-center">
  33. <text>{{ item.continue_time }} </text>
  34. </view>
  35. </view>
  36. <view class="item flex-align-center">
  37. <image src="{{ item.project_cover }}"></image>
  38. <view class="right flex1 flex-column ellipsis">
  39. <text class="ellipsis" style="font-family: PingFangSC-Medium, PingFang SC;font-size: 28rpx;color: #FA7D22;">{{item.project_name}}</text>
  40. <text class="ellipsis" style="font-size: 24rpx;color: #666;margin-top: 16rpx;">{{item.project_desc}}</text>
  41. <!-- <text class="flex-justify-center">5分钟</text> -->
  42. </view>
  43. </view>
  44. </view>
  45. <view class="no-list flex-column" wx:if="{{ plan.list && plan.list <= 0 }}" style="margin-top:30rpx;">
  46. <text style="font-size: 28rpx;font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;">暂不推荐项目</text>
  47. <text style="margin:20rpx 0;color: #FF0000;font-size: 28rpx;">{{ plan.no_improve_reason || '-' }}</text>
  48. <view class="no-list-item flex-align-center">
  49. <image src="/images/icon_14.png" style="width: 132rpx;height:132rpx"></image>
  50. </view>
  51. </view>
  52. <!-- <text class="flex" style="margin-top:30rpx;">美容后文案文案文案文案文案文案文案文案文案当前面部表情纹、细纹的深度和面积大小数据相对主要集中在T区,主要问题在于自身优质分泌过多一级化妆品残留清洁不到位。需要进行深层清洁项目,选择控油产品优先使用。</text> -->
  53. </view>
  54. <view class="padding border-radius">
  55. <view class="title flex-align-center" style="margin-bottom: 20rpx;">
  56. <!-- <image src="/images/icon_record_04.png" class="icon"></image> -->
  57. <text>注意事项</text>
  58. </view>
  59. <text class="btm-box-text">每次医美结束后都需要保持充足睡眠,保证皮肤充分吸收水分,请勿熬夜。</text>
  60. </view>
  61. <view style="padding: 22rpx 36rpx 70rpx;" id="btm-btn">
  62. <view class="btm-btn flex-center" bindtap="onAddPlan" wx:if="{{ plan.is_add_plan == 0 }}">
  63. + 添加到我的美容计划
  64. </view>
  65. <view class="btm-btn flex-center" bindtap="goToBeautyPlan" wx:if="{{ plan.is_add_plan == 1 }}">
  66. 查看我的美容计划
  67. </view>
  68. </view>
  69. <!-- <navigator style="padding: 22rpx 36rpx 70rpx;" url="/pages/beautyPlan/beautyPlan" hover-class="none" wx:if="{{ plan.is_add_plan == 0 }}">
  70. </navigator> -->
  71. </scroll-view>
  72. </view>
  73. <wux-landscape visible="{{ visible }}" maskClosable="{{ true }}" closable="{{ false }}" bind:close="onCancelUse">
  74. <view class="use-popup flex-column">
  75. <!-- <view class="close" bindtap="onCancelUse">x</view> -->
  76. <image class="close" src="/images/icon_close_02.png" bindtap="onCancelUse"></image>
  77. <text style="font-size: 36rpx;">提示</text>
  78. <text style="color: #666666;margin: 28rpx 0 40rpx;padding: 0 48rpx;">你已有美容计划,已完成{{plan.plan_process}}%,添加新计划后,将终止原计划。</text>
  79. <view class="use-btn flex">
  80. <navigator url="/pages/beautyPlan/beautyPlan?analysis_id={{ plan.plan_id }}" hover-class="none">
  81. <view class="btn cancel flex-center">去查看</view>
  82. </navigator>
  83. <view class="btn confirm flex-center" bindtap="addPlanApi">确认添加</view>
  84. </view>
  85. <!-- [温馨提示] 确认激活后,该会员卡将立即生效; 如暂不激活,可在“已购会员卡”中去选择激活。 -->
  86. </view>
  87. </wux-landscape>