index.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <loading id="loading"/>
  2. <van-sticky>
  3. <header>
  4. <view slot="content" class="header-title flex_row">
  5. <view class='goback' bindtap="goBack">
  6. <van-icon name="arrow-left" size="20px"/>
  7. </view>
  8. <text class="titlename">{{paramName}}</text>
  9. <text class="righttext"></text>
  10. </view>
  11. </header>
  12. </van-sticky>
  13. <view class="chartlenged flex_row">
  14. <view class="flex_row"><image src="../../static/images/lenged.png"/>{{paramName}}</view>
  15. <view class="flex_row"><view></view>合格区间</view>
  16. </view>
  17. <!-- <view class="chart_contant flex_row"> -->
  18. <view class="nodate flex_row" wx:if="{{tragetChart&&!tragetChart.length}}">暂无数据</view>
  19. <envchart tragetChart="{{tragetChart}}" envType="{{envType}}" envName="{{paramName}}" wx:if="{{tragetChart&&tragetChart.length}}"/>
  20. <!-- </view> -->
  21. <view class="param_mian">
  22. <text class="param_txt">
  23. 根据{{localName}}检测网的新标准,24小时平均值标准值分布如下:
  24. </text>
  25. <view class="param_list flex_row">
  26. <view class="param_icon">
  27. <!-- <image src="" /> -->
  28. </view>
  29. <view class="param_line {{envType=='hcho'?'hcho_line':''}} {{envType=='co2'?'co2_line':''}} {{envType=='humidity'?'humidity_line':''}} {{seasonNum=='1'?'temperature_line':''}} {{seasonNum=='2'?'temperature_line':''}} {{seasonNum=='3'?'temperature_line3':''}} {{seasonNum=='4'?'temperature_line':''}}" style="height:{{tableHight}}px">
  30. <view class="pointer" style="top:{{pointerTop}}px">
  31. <image src="../../static/images/envPointer.png"/>
  32. </view>
  33. </view>
  34. <view class="param_table">
  35. <view class="table_header">
  36. <text class="header_title_one">{{localName}}等级</text>
  37. <text class="header_title_two">24小时{{localName}}平均值标准值</text>
  38. </view>
  39. <block wx:for="{{envLevel[envType+seasonType]}}" wx:for-index="key">
  40. <view class="table_body">
  41. <text class="header_title_one {{item.active?'header_title_one_active':''}}">{{item.name}}</text>
  42. <text class="header_title_two">{{item.value}}</text>
  43. </view>
  44. </block>
  45. </view>
  46. </view>
  47. </view>