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.

pin-code-confirm.vue 5.5KB

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 class="tips-card">正常</text>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="choose-item">
  80. 有效期:xxxx-xx-xx
  81. </view>
  82. </view> -->
  83. <view class="title">
  84. 注意事项
  85. </view>
  86. <view class="remark">
  87. <view>
  88. 1.xxxxxxxx
  89. </view>
  90. <view>
  91. 2.xxxxxxxx
  92. </view>
  93. <view>
  94. 3.xxxxxxxx
  95. </view>
  96. <view>
  97. 4.xxxxxxxx
  98. </view>
  99. </view>
  100. <button class="submit" @click="toPage">下一步</button>
  101. </view>
  102. </template>
  103. <script lang="ts" setup>
  104. import {
  105. reactive,
  106. ref
  107. } from "vue"
  108. import {
  109. navTo
  110. } from "@/utils/utils"
  111. const toPage = () => {
  112. navTo('/pages/bluetooth/device-active-step1')
  113. // if (flag.length == 0) {
  114. // uni.showToast({
  115. // title: '请至少勾选一项',
  116. // });
  117. // } else {
  118. // // wx.showModal({
  119. // // title: '设备挂失',
  120. // // content: '请确认是否执行挂失操作',
  121. // // success: function(res) {
  122. // // if (res.confirm) {
  123. // // console.log('用户点击确定');
  124. // // navTo('/after-sale/card-loss-reporting/cardloss')
  125. // // } else if (res.cancel) {
  126. // // console.log('用户点击取消');
  127. // // }
  128. // // }
  129. // // });
  130. // }
  131. }
  132. const flag = reactive([])
  133. const choose = (data) => {
  134. if (!flag.includes(data)) {
  135. flag.push(data)
  136. console.log(flag);
  137. } else {
  138. flag.splice(flag.indexOf(data), 1)
  139. console.log(flag);
  140. }
  141. }
  142. </script>
  143. <style>
  144. page {
  145. width: 100%;
  146. height: 100%;
  147. background-color: #fff;
  148. }
  149. </style>
  150. <style lang="scss" scoped>
  151. .selectCar-box {
  152. // width: 100%;
  153. // height: 100%;
  154. padding: 30rpx;
  155. .title {
  156. font-size: 30rpx;
  157. font-family: Microsoft YaHei UI;
  158. font-weight: 400;
  159. color: #333333;
  160. margin-bottom: 30rpx;
  161. }
  162. .details {
  163. .title {
  164. font-size: 30rpx;
  165. font-family: Microsoft YaHei UI;
  166. font-weight: 400;
  167. color: #333333;
  168. margin-bottom: 30rpx;
  169. }
  170. .details-item {
  171. display: flex;
  172. font-size: 26rpx;
  173. font-family: Noto Sans S Chinese;
  174. font-weight: 400;
  175. color: #999999;
  176. margin-bottom: 30rpx;
  177. text {
  178. font-size: 26rpx;
  179. font-family: Noto Sans S Chinese;
  180. font-weight: 400;
  181. color: #333333;
  182. }
  183. }
  184. }
  185. .card {
  186. height: 150rpx;
  187. background: #FFFFFF;
  188. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  189. border-radius: 20rpx;
  190. padding: 30rpx;
  191. display: flex;
  192. justify-content: space-between;
  193. align-items: center;
  194. margin-bottom: 60rpx;
  195. .card-left {
  196. display: flex;
  197. align-items: center;
  198. image {
  199. width: 100rpx;
  200. height: 90rpx;
  201. }
  202. .card-center {
  203. margin-left: 30rpx;
  204. .card-center-head {
  205. font-size: 32rpx;
  206. font-family: Noto Sans S Chinese;
  207. font-weight: 400;
  208. color: #333333;
  209. }
  210. .tips {
  211. font-size: 26rpx;
  212. font-family: Noto Sans S Chinese;
  213. font-weight: 400;
  214. color: #666666;
  215. .tips-card {
  216. width: 70rpx;
  217. height: 40rpx;
  218. background: #D3F2EF;
  219. border-radius: 6rpx;
  220. font-size: 20rpx;
  221. font-family: Noto Sans S Chinese;
  222. font-weight: 400;
  223. color: #0A8F8A;
  224. padding: 5rpx 10rpx;
  225. margin-left: 20rpx;
  226. }
  227. }
  228. }
  229. }
  230. .choose-item {
  231. margin-right: 20rpx;
  232. /* width: 50rpx; */
  233. height: 50rpx;
  234. /* border: 1rpx solid #00B38B; */
  235. border-radius: 50%;
  236. display: flex;
  237. justify-content: center;
  238. align-items: center;
  239. font-size: 25rpx;
  240. align-self: end;
  241. .active {
  242. width: 38rpx;
  243. height: 38rpx;
  244. background: #00B38B;
  245. border-radius: 50%;
  246. }
  247. }
  248. }
  249. .remark {
  250. font-size: 26rpx;
  251. font-family: Microsoft YaHei UI;
  252. font-weight: 400;
  253. color: #666666;
  254. text-indent: 30rpx;
  255. margin-bottom: 30rpx;
  256. }
  257. .submit {
  258. margin-top: 100rpx;
  259. width: 670rpx;
  260. height: 80rpx;
  261. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  262. border-radius: 40rpx;
  263. font-size: 32rpx;
  264. font-family: Noto Sans S Chinese;
  265. font-weight: 400;
  266. color: #FFFFFF;
  267. line-height: 80rpx;
  268. }
  269. }
  270. </style>