deviceDetails.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <template>
  2. <view>
  3. <u-navbar title="设备详情"></u-navbar>
  4. <view class="details">
  5. <view class="details-title">
  6. <h4>充电桩分润信息</h4>
  7. </view>
  8. <view class="details-row"><p>所属站点</p><span>荆鹏软件园充电站</span></view>
  9. <view class="details-row"><p>桩号</p><span>A0001</span></view>
  10. <view class="details-row"><p>充电桩类型</p><span>直流快充</span></view>
  11. <view class="details-row"><p>设备状态</p><span>正常运行</span></view>
  12. <view class="details-row"><p>我的身份</p><span>市场服务</span></view>
  13. <view class="details-row"><p>分润标准</p><span>15%</span></view>
  14. </view>
  15. <view class="details">
  16. <view class="details-title">
  17. <h4>设备相关信息</h4>
  18. </view>
  19. <view class="details-row"><p>设备型号</p><span>HCD0001-A</span></view>
  20. <view class="details-row"><p>初次安装时间</p><span>2022-05-01</span></view>
  21. <view class="details-row"><p>收费标准(元/度)</p><span>1.5</span></view>
  22. <view class="details-row"><p>输出功率范围(瓦)</p><span>100-400</span></view>
  23. </view>
  24. <view class="detailsBtn">
  25. <u-button class="detailsBtn-btn" type="primary" plain>返回</u-button>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. export default {
  31. data() {
  32. return {
  33. form: {
  34. name: '',
  35. intro: '',
  36. },
  37. }
  38. },
  39. methods: {
  40. }
  41. }
  42. </script>
  43. <style>
  44. page{
  45. background-color: #F7F7F7;
  46. }
  47. </style>
  48. <style lang="scss" scoped>
  49. .detailsBtn{
  50. margin: 16px;
  51. .detailsBtn-btn{
  52. border-color:#185AC6!important;
  53. border-radius: 8px!important;
  54. background: none!important;
  55. color:#185AC6!important;
  56. }
  57. }
  58. .details-title{
  59. margin-bottom: 16px;
  60. h4{
  61. font-weight: normal;
  62. font-size: 16px;
  63. position: relative;
  64. padding-left:10px;
  65. &::after{
  66. content: '';
  67. position: absolute;
  68. height: 12px;
  69. width: 4px;
  70. background-color: #27B148;
  71. left: 0;
  72. top:5px;
  73. }
  74. }
  75. }
  76. .details-row{
  77. display: flex;
  78. justify-content: space-between;
  79. align-items: center;
  80. margin-top: 15px;
  81. p{color:#888}
  82. }
  83. .details{
  84. margin: 16px;
  85. padding: 20px;
  86. background-color: #fff;
  87. border-radius: 8px;
  88. .details-head{
  89. display: flex;
  90. align-items: center;
  91. justify-content: center;
  92. h4{
  93. font-size: 18px;
  94. font-weight: normal;
  95. margin-left: 4px;
  96. }
  97. }
  98. .details-price{
  99. margin-top: 28px;
  100. display: flex;
  101. align-items: flex-end;
  102. justify-content: center;
  103. h3{
  104. font-size: 36px;
  105. color:#27B148;
  106. line-height: 36px;
  107. margin: 0 4px;
  108. font-weight: normal;
  109. }
  110. span{
  111. font-size: 20px;
  112. color:#27B148;
  113. }
  114. }
  115. .details-main{
  116. text-align: center;
  117. margin-bottom: 20px;
  118. p{
  119. color:#777;
  120. margin-top: 4px;
  121. }
  122. }
  123. }
  124. </style>