monthlyCardDetails.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <template>
  2. <view>
  3. <u-navbar>分润详情</u-navbar>
  4. <view class="details">
  5. <view class="details-main">
  6. <view class="details-price">
  7. <h3>18.60元</h3>
  8. </view>
  9. <p>分润金额</p>
  10. <img class="withdraw" src="../..//assets/img/withdraw.png" alt="">
  11. </view>
  12. </view>
  13. <view class="details">
  14. <view class="details-title">
  15. <h4>订单明细</h4>
  16. </view>
  17. <view class="details-row">
  18. <p>包月卡分润金额
  19. </p>
  20. <span>20元</span>
  21. </view>
  22. <view class="details-row">
  23. <p>分润比例</p>
  24. <span>90%</span>
  25. </view>
  26. <view class="details-row">
  27. <p>周期内充电次数</p>
  28. <span>1次</span>
  29. </view>
  30. </view>
  31. <view class="details">
  32. <view class="details-title">
  33. <h4>更多信息</h4>
  34. </view>
  35. <view class="details-row">
  36. <p>来源站点
  37. </p>
  38. <span>荆鹏软件园充电站</span>
  39. </view>
  40. <view class="details-row">
  41. <p>用户ID</p>
  42. <span>38193818%</span>
  43. </view>
  44. <view class="details-row">
  45. <p>包月卡卡号</p>
  46. <span>a1491849184914</span>
  47. </view>
  48. <view class="details-row">
  49. <p>卡有效期</p>
  50. <span>2022年7月1日至2022年7月30日</span>
  51. </view>
  52. <view class="details-row">
  53. <p>结算时间</p>
  54. <span>2022年7月1日</span>
  55. </view>
  56. </view>
  57. </view>
  58. </template>
  59. <script>
  60. export default {
  61. data() {
  62. return {
  63. }
  64. },
  65. methods: {
  66. }
  67. }
  68. </script>
  69. <style>
  70. page {
  71. background-color: #F7F7F7;
  72. }
  73. </style>
  74. <style lang="scss" scoped>
  75. .detailsBtn {
  76. margin: 16px;
  77. .detailsBtn-btn {
  78. border-color: #185AC6 !important;
  79. border-radius: 8px !important;
  80. background: none !important;
  81. color: #185AC6 !important;
  82. }
  83. }
  84. .details-title {
  85. margin-bottom: 20px;
  86. h4 {
  87. font-weight: normal;
  88. font-size: 16px;
  89. position: relative;
  90. padding-left: 10px;
  91. &::after {
  92. content: '';
  93. position: absolute;
  94. height: 12px;
  95. width: 4px;
  96. background-color: #185ac6;
  97. left: 0;
  98. top: 5px;
  99. }
  100. }
  101. }
  102. .details-row {
  103. display: flex;
  104. justify-content: space-between;
  105. align-items: center;
  106. margin-top: 15px;
  107. p {
  108. color: #86898C;
  109. }
  110. }
  111. .details-row-sum {
  112. float: right;
  113. color: #101010;
  114. font-size: 14px;
  115. }
  116. .details {
  117. margin: 16px;
  118. padding: 20px;
  119. background-color: #fff;
  120. border-radius: 8px;
  121. position: relative;
  122. .details-head {
  123. text-align: center;
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. h4 {
  128. font-size: 18px;
  129. font-weight: normal;
  130. margin-left: 4px;
  131. }
  132. }
  133. .details-price {
  134. margin-top: 12px;
  135. margin-bottom: 4px;
  136. display: flex;
  137. align-items: flex-end;
  138. justify-content: center;
  139. h3 {
  140. font-size: 36px;
  141. color: #27B148;
  142. line-height: 36px;
  143. margin: 0 4px;
  144. font-weight: normal;
  145. }
  146. span {
  147. font-size: 20px;
  148. color: #27B148;
  149. }
  150. }
  151. .details-main {
  152. text-align: center;
  153. .withdraw{
  154. width: 21.3vw;
  155. height: 21.3vw;
  156. position: absolute;
  157. top: 2vw;
  158. right: 2.5vw;
  159. }
  160. p {
  161. color: #777;
  162. margin-top: 4px;
  163. }
  164. }
  165. }
  166. </style>