Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

additional-equipment-confirm.vue 5.7KB

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