deviceDetails.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. import * as API from '@/apis/finance.js'
  31. export default {
  32. data() {
  33. return {
  34. form: {
  35. name: '',
  36. intro: '',
  37. },
  38. }
  39. },
  40. methods: {
  41. }
  42. }
  43. </script>
  44. <style>
  45. page{
  46. background-color: #F7F7F7;
  47. }
  48. </style>
  49. <style lang="scss" scoped>
  50. .detailsBtn{
  51. margin: 16px;
  52. .detailsBtn-btn{
  53. border-color:#185AC6!important;
  54. border-radius: 8px!important;
  55. background: none!important;
  56. color:#185AC6!important;
  57. }
  58. }
  59. .details-title{
  60. margin-bottom: 16px;
  61. h4{
  62. font-weight: normal;
  63. font-size: 16px;
  64. position: relative;
  65. padding-left:10px;
  66. &::after{
  67. content: '';
  68. position: absolute;
  69. height: 12px;
  70. width: 4px;
  71. background-color: #27B148;
  72. left: 0;
  73. top:5px;
  74. }
  75. }
  76. }
  77. .details-row{
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. margin-top: 15px;
  82. p{color:#888}
  83. }
  84. .details{
  85. margin: 16px;
  86. padding: 20px;
  87. background-color: #fff;
  88. border-radius: 8px;
  89. .details-head{
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. h4{
  94. font-size: 18px;
  95. font-weight: normal;
  96. margin-left: 4px;
  97. }
  98. }
  99. .details-price{
  100. margin-top: 28px;
  101. display: flex;
  102. align-items: flex-end;
  103. justify-content: center;
  104. h3{
  105. font-size: 36px;
  106. color:#27B148;
  107. line-height: 36px;
  108. margin: 0 4px;
  109. font-weight: normal;
  110. }
  111. span{
  112. font-size: 20px;
  113. color:#27B148;
  114. }
  115. }
  116. .details-main{
  117. text-align: center;
  118. margin-bottom: 20px;
  119. p{
  120. color:#777;
  121. margin-top: 4px;
  122. }
  123. }
  124. }
  125. </style>