deviceDetail.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <view>
  3. <view class="timeBox flex justify-between align-center padding-lr-sm">
  4. <view class="time">测试用传装置</view>
  5. <button class="cu-btn radius bg-offLine sm">
  6. <view class="radiusStatus offLine"></view>
  7. 离线
  8. </button>
  9. </view>
  10. <view>
  11. <!-- 基本信息start -->
  12. <view class="basic-info">
  13. <view class="info-tit margin-left-xs">
  14. <text class="cuIcon-titles margin-right-xs"></text>
  15. 基本信息
  16. </view>
  17. <view class="info-content">
  18. <view class="info-one-info ">
  19. <text>设备类型:</text>
  20. <text>报警主机</text>
  21. </view>
  22. <view>
  23. <text>设备编号:</text>
  24. <text>15221</text>
  25. </view>
  26. <view>
  27. <text>物联网卡号:</text>
  28. <text></text>
  29. </view>
  30. <view>
  31. <text>安装位置:</text>
  32. <text>物联网开发</text>
  33. </view>
  34. <view>
  35. <text>添加时间:</text>
  36. <text>2019-05-28 16:12:45</text>
  37. </view>
  38. <view>
  39. <text>设备地址:</text>
  40. <text>青浦区徐乐路208c幢</text>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- 基本信息end -->
  45. <!-- 图表start -->
  46. <view class="processStatus">
  47. <view class="info-tit margin-left-xs">
  48. <text class="cuIcon-titles margin-right-xs"></text>
  49. 图表
  50. </view>
  51. <view class="info-content" >
  52. <chart :bindData="staticData"></chart>
  53. </view>
  54. </view>
  55. <!-- 图表end -->
  56. </view>
  57. </view>
  58. </template>
  59. <script>
  60. import chart from './components/chart.vue';
  61. export default {
  62. components: {
  63. chart
  64. },
  65. data() {
  66. return {
  67. staticData: {
  68. wubao:9,
  69. unSolve:6,
  70. truely:20
  71. },
  72. }
  73. },
  74. onLoad: function(option) {
  75. },
  76. methods: {
  77. }
  78. }
  79. </script>
  80. <style lang="scss">
  81. </style>