运维小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!--pages/station/index.wxml-->
  2. <view class="custom-tabs">
  3. <view class="custom_box" wx:for="{{baseInfo.list}}" wx:key="index">
  4. <view class="custom_title">
  5. <view class="custom_title_name">设备编号</view>
  6. <view class="custom_title_gl">{{item.name}} </view>
  7. </view>
  8. <view class="custom_div">
  9. <view class="batteryccc">实时功率</view>
  10. <view class="custom_title_gl">{{item.power}}<text class="batteryccc"> kW</text> </view>
  11. </view>
  12. <view class="custom_div">
  13. <view class="batteryccc">在线状态</view>
  14. <view class="{{item.comState== '离线' ? 'tag_type2red':'tag_type2'}}">{{item.comState}}</view>
  15. <!-- <view class="tag_type2">{{item.comState}}</view> -->
  16. </view>
  17. <view class="custom_div">
  18. <view class="batteryccc">故障状态</view>
  19. <!-- <view class="tag_type1">{{item.faultState}}</view> -->
  20. <view class="{{item.faultState== '正常' ? 'tag_type2':'tag_type2red'}}">{{item.faultState}}</view>
  21. </view>
  22. <view class="custom_div">
  23. <view class="batteryccc">运行状态</view>
  24. <!-- <view class="tag_type3">{{item.runState}}</view> -->
  25. <view class="{{item.runState== '运行' ? 'tag_type2':'tag_type3'}}">{{item.runState}}</view>
  26. </view>
  27. <view class="custom_div">
  28. <view class="batteryccc">投运时间</view>
  29. <view class="custom_div1">{{item.createAt}}</view>
  30. </view>
  31. </view>
  32. <view class="tag_typetext">没有更多数据...</view>
  33. </view>
  34. <!--
  35. createAt 投运时间
  36. comState 在线状态
  37. power 实时功率
  38. 故障状态 faultState
  39. 运行状态 runState
  40. name 名称
  41. -->