index.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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" />
  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="gotoAdjustlog" 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="logchart" hidden="{{nochartDate}}">
  38. <f2 class="f2-chart" id="column-dom" canvas-id="column" opts="{{opts}}" />
  39. </view>
  40. <view class="logchart flex_row" hidden="{{!nochartDate}}">
  41. 暂无数据
  42. </view>
  43. </view>
  44. <view class="adjust_record flex_row" bindtap="gotoAdjustlog">
  45. <view>
  46. <image src="../../static/images/adjust-icon.png" />
  47. 调节记录
  48. </view>
  49. <view >
  50. <van-icon name="arrow" color="#c3c3c3" />
  51. </view>
  52. </view>
  53. <view class="adjust_record adjust_feedback flex_row" bindtap="gotoFeedback">
  54. <view>
  55. <image src="../../static/images/feedback-icon.png" />
  56. 问题反馈
  57. </view>
  58. <view>
  59. <van-icon name="arrow" color="#c3c3c3"/>
  60. </view>
  61. </view>