index.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <van-sticky>
  2. <header class="header_custom" wx:if="{{headerShow}}" customClass="{{true}}">
  3. <view slot="content" class="header-title">
  4. <view class='goback' bindtap="goBack">
  5. <van-icon name="arrow-left" size="20px" color="#ffffff"/>
  6. </view>
  7. </view>
  8. </header>
  9. </van-sticky>
  10. <view class="userbg">
  11. <image src="../../static/images/{{bgSeasonType}}.png" />
  12. <view class="flex_row usermsg">
  13. <view class="userimg">
  14. <open-data type="userAvatarUrl"></open-data>
  15. </view>
  16. <open-data type="userNickName"></open-data>
  17. </view>
  18. </view>
  19. <view class="adjust_list flex_row">
  20. <view class="list_item flex_column" bindtap="gotoAdjustlog" data-type="time">
  21. <text>{{spaceFeedbackNum || 0}}</text>
  22. <text>共调节数量</text>
  23. </view>
  24. <view class="list_item flex_column" bindtap="gotoSpacelog" data-type="space">
  25. <text>{{adjustSpaceNum || 0}}</text>
  26. <text>曾调节空间</text>
  27. </view>
  28. </view>
  29. <view class="chart_box">
  30. <view class="btn_group flex_row">
  31. <block wx:for="{{seasonList}}">
  32. <view wx:key="index" bindtap="changeSeason" data-index="{{item.id}}" class="flex_row {{seasonType===item.id?'active':''}}">
  33. {{item.name}}
  34. </view>
  35. </block>
  36. </view>
  37. <view class="lenged_box flex_row">
  38. <view class="lenged_item flex_row">
  39. <view class="leng">冷</view>
  40. <view class="re">热</view>
  41. </view>
  42. </view>
  43. <view class="logchart" hidden="{{nochartDate}}">
  44. <f2 class="f2-chart" id="column-dom" canvas-id="column" opts="{{opts}}" />
  45. </view>
  46. <view class="logchart flex_row" hidden="{{!nochartDate}}">
  47. 暂无数据
  48. </view>
  49. </view>
  50. <view class="adjust_record flex_row" bindtap="gotoAdjustlog">
  51. <view>
  52. <image src="../../static/images/adjust-icon.png" />
  53. 调节记录
  54. </view>
  55. <view >
  56. <van-icon name="arrow" color="#c3c3c3" />
  57. </view>
  58. </view>
  59. <view class="adjust_record adjust_feedback flex_row" bindtap="gotoFeedback">
  60. <view>
  61. <image src="../../static/images/feedback-icon.png" />
  62. 问题反馈
  63. </view>
  64. <view>
  65. <van-icon name="arrow" color="#c3c3c3"/>
  66. </view>
  67. </view>