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.8KB

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