您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

upgrade-confirm.vue 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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">
  43. <!-- 有效期:xxxx-xx-xx -->
  44. </view>
  45. </view>
  46. <view class="title"> OBU设备信息 </view>
  47. <view class="card">
  48. <view class="card-left">
  49. <image :src="`${$imgUrl}card1.png`" mode=""></image>
  50. <view class="card-center">
  51. <view class="card-center-head"> 2023022700012 </view>
  52. <view class="tips">
  53. <text>储蓄卡</text>
  54. <text class="tips-card">正常</text>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="choose-item">
  59. <!-- 有效期:xxxx-xx-xx -->
  60. </view>
  61. </view>
  62. <!-- <view class="title">
  63. 注意事项
  64. </view>
  65. <view class="remark">
  66. <view>
  67. 1.xxxxxxxx
  68. </view>
  69. <view>
  70. 2.xxxxxxxx
  71. </view>
  72. <view>
  73. 3.xxxxxxxx
  74. </view>
  75. <view>
  76. 4.xxxxxxxx
  77. </view>
  78. </view> -->
  79. <button class="submit" @click="toPage">下一步</button>
  80. </view>
  81. </template>
  82. <script lang="ts" setup>
  83. import { reactive, ref } from "vue";
  84. import { navTo } from "@/utils/utils";
  85. const toPage = () => {
  86. console.log(11);
  87. navTo("/pages/bluetooth/bluetooth?routeType=5");
  88. // wx.showModal({
  89. // title: '提示',
  90. // content: '检测到当前只有ETC卡,需要办理obu设备才可以通行,是否前往办理,无需办理点击继续注销',
  91. // confirmText: '继续注销',
  92. // cancelText: '前往办理',
  93. // success: function(res) {
  94. // if (res.confirm) {
  95. // console.log('用户点击确定');
  96. // navTo('/after-sale/ETC-log-off/etc-log-off')
  97. // } else if (res.cancel) {
  98. // console.log('用户点击取消');
  99. // // navTo('/after-sale/card-loss-reporting/cardloss')
  100. // }
  101. // }
  102. // });
  103. };
  104. const flag = reactive([]);
  105. const choose = (data) => {
  106. if (!flag.includes(data)) {
  107. flag.push(data);
  108. console.log(flag);
  109. } else {
  110. flag.splice(flag.indexOf(data), 1);
  111. console.log(flag);
  112. }
  113. };
  114. </script>
  115. <style>
  116. page {
  117. width: 100%;
  118. height: 100%;
  119. background-color: #fff;
  120. }
  121. </style>
  122. <style lang="scss" scoped>
  123. .selectCar-box {
  124. // width: 100%;
  125. // height: 100%;
  126. padding: 30rpx;
  127. .title {
  128. font-size: 30rpx;
  129. font-family: Microsoft YaHei UI;
  130. font-weight: 400;
  131. color: #333333;
  132. margin-bottom: 30rpx;
  133. }
  134. .details {
  135. .title {
  136. font-size: 30rpx;
  137. font-family: Microsoft YaHei UI;
  138. font-weight: 400;
  139. color: #333333;
  140. margin-bottom: 30rpx;
  141. }
  142. .details-item {
  143. display: flex;
  144. font-size: 26rpx;
  145. font-family: Noto Sans S Chinese;
  146. font-weight: 400;
  147. color: #999999;
  148. margin-bottom: 30rpx;
  149. text {
  150. font-size: 26rpx;
  151. font-family: Noto Sans S Chinese;
  152. font-weight: 400;
  153. color: #333333;
  154. }
  155. }
  156. }
  157. .card {
  158. height: 150rpx;
  159. background: #ffffff;
  160. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  161. border-radius: 20rpx;
  162. padding: 30rpx;
  163. display: flex;
  164. justify-content: space-between;
  165. align-items: center;
  166. margin-bottom: 60rpx;
  167. .card-left {
  168. display: flex;
  169. align-items: center;
  170. image {
  171. width: 100rpx;
  172. height: 90rpx;
  173. }
  174. .card-center {
  175. margin-left: 30rpx;
  176. .card-center-head {
  177. font-size: 32rpx;
  178. font-family: Noto Sans S Chinese;
  179. font-weight: 400;
  180. color: #333333;
  181. }
  182. .tips {
  183. font-size: 26rpx;
  184. font-family: Noto Sans S Chinese;
  185. font-weight: 400;
  186. color: #666666;
  187. .tips-card {
  188. width: 70rpx;
  189. height: 40rpx;
  190. background: #d3f2ef;
  191. border-radius: 6rpx;
  192. font-size: 20rpx;
  193. font-family: Noto Sans S Chinese;
  194. font-weight: 400;
  195. color: #0a8f8a;
  196. padding: 5rpx 10rpx;
  197. margin-left: 20rpx;
  198. }
  199. }
  200. }
  201. }
  202. .choose-item {
  203. margin-right: 20rpx;
  204. /* width: 50rpx; */
  205. height: 50rpx;
  206. /* border: 1rpx solid #00B38B; */
  207. border-radius: 50%;
  208. display: flex;
  209. justify-content: center;
  210. align-items: center;
  211. font-size: 25rpx;
  212. align-self: end;
  213. .active {
  214. width: 38rpx;
  215. height: 38rpx;
  216. background: #00b38b;
  217. border-radius: 50%;
  218. }
  219. }
  220. }
  221. .remark {
  222. font-size: 26rpx;
  223. font-family: Microsoft YaHei UI;
  224. font-weight: 400;
  225. color: #666666;
  226. text-indent: 30rpx;
  227. margin-bottom: 30rpx;
  228. }
  229. .submit {
  230. margin-top: 100rpx;
  231. width: 670rpx;
  232. height: 80rpx;
  233. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  234. border-radius: 40rpx;
  235. font-size: 32rpx;
  236. font-family: Noto Sans S Chinese;
  237. font-weight: 400;
  238. color: #ffffff;
  239. line-height: 80rpx;
  240. }
  241. }
  242. </style>