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.

renewal-confirm.vue 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <template>
  2. <view class="selectCar-box">
  3. <view class="details">
  4. <view class="title"> 基础信息 </view>
  5. <view class="details-item">
  6. <view> 订单编号: </view>
  7. <text>123234350000001</text>
  8. </view>
  9. <view class="details-item">
  10. <view> 用户名称: </view>
  11. <text>xxxxx</text>
  12. </view>
  13. <view class="details-item">
  14. <view> 用户证件类型: </view>
  15. <text>居民身份证</text>
  16. </view>
  17. <view class="details-item">
  18. <view> 用户证件号: </view>
  19. <text>44504049343434001</text>
  20. </view>
  21. <view class="details-item">
  22. <view> 订单车牌号: </view>
  23. <text style="color: #00b38b ;">贵A12345</text>
  24. </view>
  25. <view class="details-item">
  26. <view> 收费车型: </view>
  27. <text>客车</text>
  28. </view>
  29. </view>
  30. <view class="title"> 卡信号 </view>
  31. <view class="card">
  32. <view class="card-left">
  33. <image :src="`${$imgUrl}card2.png`" mode=""></image>
  34. <view class="card-center">
  35. <view class="card-center-head"> 2023022700012 </view>
  36. <view class="tips">
  37. <text>储蓄卡</text>
  38. <text class="tips-card">正常</text>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="choose-item"> 有效期:xxxx-xx-xx </view>
  43. </view>
  44. <view class="title"> OBU设备信息 </view>
  45. <view class="card">
  46. <view class="card-left">
  47. <image :src="`${$imgUrl}card1.png`" mode=""></image>
  48. <view class="card-center">
  49. <view class="card-center-head"> 2023022700012 </view>
  50. <view class="tips">
  51. <!-- <text>储蓄卡</text> -->
  52. <text class="tips-card">正常</text>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="choose-item"> 有效期:xxxx-xx-xx </view>
  57. </view>
  58. <view class="title"> 注意事项 </view>
  59. <view class="remark">
  60. <view> 1.xxxxxxxx </view>
  61. <view> 2.xxxxxxxx </view>
  62. <view> 3.xxxxxxxx </view>
  63. <view> 4.xxxxxxxx </view>
  64. </view>
  65. <button class="submit" @click="toPage">下一步</button>
  66. </view>
  67. </template>
  68. <script lang="ts" setup>
  69. import { reactive, ref } from "vue";
  70. import { navTo } from "@/utils/utils";
  71. const toPage = () => {
  72. navTo("/pages/bluetooth/bluetooth");
  73. // if (flag.length == 0) {
  74. // uni.showToast({
  75. // title: '请至少勾选一项',
  76. // });
  77. // } else {
  78. // // wx.showModal({
  79. // // title: '设备挂失',
  80. // // content: '请确认是否执行挂失操作',
  81. // // success: function(res) {
  82. // // if (res.confirm) {
  83. // // console.log('用户点击确定');
  84. // // navTo('/after-sale/card-loss-reporting/cardloss')
  85. // // } else if (res.cancel) {
  86. // // console.log('用户点击取消');
  87. // // }
  88. // // }
  89. // // });
  90. // }
  91. };
  92. const flag = reactive([]);
  93. const choose = (data) => {
  94. if (!flag.includes(data)) {
  95. flag.push(data);
  96. console.log(flag);
  97. } else {
  98. flag.splice(flag.indexOf(data), 1);
  99. console.log(flag);
  100. }
  101. };
  102. </script>
  103. <style>
  104. page {
  105. width: 100%;
  106. height: 100%;
  107. background-color: #fff;
  108. }
  109. </style>
  110. <style lang="scss" scoped>
  111. .selectCar-box {
  112. // width: 100%;
  113. // height: 100%;
  114. padding: 30rpx;
  115. .title {
  116. font-size: 30rpx;
  117. font-family: Microsoft YaHei UI;
  118. font-weight: 400;
  119. color: #333333;
  120. margin-bottom: 30rpx;
  121. }
  122. .details {
  123. .title {
  124. font-size: 30rpx;
  125. font-family: Microsoft YaHei UI;
  126. font-weight: 400;
  127. color: #333333;
  128. margin-bottom: 30rpx;
  129. }
  130. .details-item {
  131. display: flex;
  132. font-size: 26rpx;
  133. font-family: Noto Sans S Chinese;
  134. font-weight: 400;
  135. color: #999999;
  136. margin-bottom: 30rpx;
  137. text {
  138. font-size: 26rpx;
  139. font-family: Noto Sans S Chinese;
  140. font-weight: 400;
  141. color: #333333;
  142. }
  143. }
  144. }
  145. .card {
  146. height: 150rpx;
  147. background: #ffffff;
  148. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  149. border-radius: 20rpx;
  150. padding: 30rpx;
  151. display: flex;
  152. justify-content: space-between;
  153. align-items: center;
  154. margin-bottom: 60rpx;
  155. .card-left {
  156. display: flex;
  157. align-items: center;
  158. image {
  159. width: 100rpx;
  160. height: 90rpx;
  161. }
  162. .card-center {
  163. margin-left: 30rpx;
  164. .card-center-head {
  165. font-size: 32rpx;
  166. font-family: Noto Sans S Chinese;
  167. font-weight: 400;
  168. color: #333333;
  169. }
  170. .tips {
  171. font-size: 26rpx;
  172. font-family: Noto Sans S Chinese;
  173. font-weight: 400;
  174. color: #666666;
  175. .tips-card {
  176. width: 70rpx;
  177. height: 40rpx;
  178. background: #d3f2ef;
  179. border-radius: 6rpx;
  180. font-size: 20rpx;
  181. font-family: Noto Sans S Chinese;
  182. font-weight: 400;
  183. color: #0a8f8a;
  184. padding: 5rpx 10rpx;
  185. margin-left: 20rpx;
  186. }
  187. }
  188. }
  189. }
  190. .choose-item {
  191. margin-right: 20rpx;
  192. /* width: 50rpx; */
  193. height: 50rpx;
  194. /* border: 1rpx solid #00B38B; */
  195. border-radius: 50%;
  196. display: flex;
  197. justify-content: center;
  198. align-items: center;
  199. font-size: 25rpx;
  200. align-self: end;
  201. .active {
  202. width: 38rpx;
  203. height: 38rpx;
  204. background: #00b38b;
  205. border-radius: 50%;
  206. }
  207. }
  208. }
  209. .remark {
  210. font-size: 26rpx;
  211. font-family: Microsoft YaHei UI;
  212. font-weight: 400;
  213. color: #666666;
  214. text-indent: 30rpx;
  215. margin-bottom: 30rpx;
  216. }
  217. .submit {
  218. margin-top: 100rpx;
  219. width: 670rpx;
  220. height: 80rpx;
  221. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  222. border-radius: 40rpx;
  223. font-size: 32rpx;
  224. font-family: Noto Sans S Chinese;
  225. font-weight: 400;
  226. color: #ffffff;
  227. line-height: 80rpx;
  228. }
  229. }
  230. </style>