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.

deductionAccountAssociation.vue 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <template>
  2. <view class="wrapper">
  3. <navBar title="扣款账户关联"></navBar>
  4. <image :src="`${$imgUrl}applyCard/bg-nav.png`" style='height: 353rpx;width: 100%;'></image>
  5. <view class="progress-wrap">
  6. <view class="item-circle">1</view>
  7. <view class="item-line-solid"></view>
  8. <view class="item-circle">2</view>
  9. <view class="item-line-solid"></view>
  10. <view class="item-circle">3</view>
  11. <view class="item-line-solid"></view>
  12. <view class="item-circle">4</view>
  13. <view class="item-line-solid"></view>
  14. <view class="item-circle">5</view>
  15. <view class="item-line"></view>
  16. <view class="item-circle-op">
  17. <view class="item-circle">6</view>
  18. </view>
  19. </view>
  20. <view class="list-wrap">
  21. <view class="img-pos">
  22. <view class="img-box">
  23. <image class="car-img" :src="`${$imgUrl}applyCard/car.png`"></image>
  24. <image class="flag-img" :src="`${$imgUrl}applyCard/flag.png`"></image>
  25. </view>
  26. </view>
  27. <view class="list-box">
  28. <view class="list-wrap-title">可选扣款账户列表如下</view>
  29. <view class="table-wrap">
  30. <view class="tb-header">
  31. <view class="name-wrap">
  32. 签约银行
  33. </view>
  34. <view class="option">
  35. 操作
  36. </view>
  37. </view>
  38. <view class="tb-body">
  39. <view class="tb-item">
  40. <view class="name-wrap height-style">
  41. <image class="d-img" :src="`${$imgUrl}applyCard/uni.png`"></image>
  42. <text class="name-text">微信签约</text>
  43. </view>
  44. <view class="option height-style">
  45. <view class="btn-active" v-if="state.selected === 'wx'">选择</view>
  46. <view class="btn" v-else @click="itemClick('wx')">选择</view>
  47. </view>
  48. </view>
  49. <view class="tb-item">
  50. <view class="name-wrap height-style">
  51. <image class="d-img" :src="`${$imgUrl}applyCard/gs.png`"></image>
  52. <text class="name-text">工行签约</text>
  53. </view>
  54. <view class="option ">
  55. <view class="btn-active" v-if="state.selected === 'gs'">选择</view>
  56. <view class="btn" v-else @click="itemClick('gs')">选择</view>
  57. </view>
  58. </view>
  59. <view class="tb-item">
  60. <view class="name-wrap height-style">
  61. <image class="d-img" :src="`${$imgUrl}applyCard/jh.png`"></image>
  62. <text class="name-text">建行签约</text>
  63. </view>
  64. <view class="option height">
  65. <view class="btn-active" v-if="state.selected === 'jh'">选择</view>
  66. <view class="btn" v-else @click="itemClick('jh')">选择</view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <view class="code-wrap">
  73. <view class="code-title">请输入验证码</view>
  74. <view class="input-wrap"><input class="uni-input" placeholder="需输入签约信息对应手机号的验证码" /></view>
  75. <view class="input-btn">获取验证码</view>
  76. </view>
  77. <view class="sure-wrap">
  78. <view>
  79. <radio value="r1" color="#00B38B" style="transform:scale(0.7)" />
  80. </view>
  81. <view class="sure-text">
  82. <text class="sure-text-1">阅读并同意</text>
  83. <text class="sure-text-2">《用户授权协议》</text>
  84. </view>
  85. </view>
  86. <view class="btn-wrap">
  87. <view class="btn-value">
  88. <text class="text-label">应付</text>
  89. <text class="text-value">300 <text class="text-unit">元</text></text>
  90. </view>
  91. <view class="btn-pay">去支付</view>
  92. </view>
  93. </view>
  94. </view>
  95. </template>
  96. <script setup lang="ts">
  97. import navBar from "@/components/nav-bar/nav-bar2.vue";
  98. import {
  99. reactive
  100. } from "vue";
  101. const state = reactive({
  102. selected: ""
  103. })
  104. function itemClick(val) {
  105. state.selected = val
  106. }
  107. </script>
  108. <style lang="scss" scoped>
  109. .progress-wrap {
  110. .progress-wrap-box {
  111. display: flex;
  112. justify-content: center;
  113. align-items: center;
  114. position: absolute;
  115. left: 50%;
  116. top: 50%;
  117. transform: translate(-50%, -50%);
  118. }
  119. .item-circle {
  120. width: 52rpx;
  121. height: 52rpx;
  122. background: #FFFFFF;
  123. border-radius: 50%;
  124. display: flex;
  125. justify-content: center;
  126. align-items: center;
  127. color: #1BE2C4;
  128. font-size: 30rpx;
  129. font-weight: 700;
  130. }
  131. .item-line-solid {
  132. width: 40rpx;
  133. height: 2rpx;
  134. background-color: #FFFFFF;
  135. margin: 0 12rpx;
  136. }
  137. .item-line {
  138. border: 1px dashed rgba(255, 255, 255, 0.5);
  139. width: 40rpx;
  140. margin: 0 12rpx;
  141. }
  142. .item-circle-op {
  143. width: 66rpx;
  144. height: 66rpx;
  145. background: rgba(255, 255, 255, 0.4);
  146. border-radius: 50%;
  147. display: flex;
  148. justify-content: center;
  149. align-items: center;
  150. }
  151. }
  152. .list-wrap {
  153. height: 1014rpx;
  154. margin-top: -20rpx;
  155. background: #FFFFFF;
  156. border-radius: 30rpx 30rpx 0rpx 0rpx;
  157. padding: 30rpx;
  158. position: relative;
  159. .img-pos {
  160. position: absolute;
  161. right: 20rpx;
  162. top: -30rpx;
  163. }
  164. .car-img {
  165. width: 86rpx;
  166. height: 42rpx;
  167. }
  168. .flag-img {
  169. width: 30rpx;
  170. height: 35rpx;
  171. margin-left: -20rpx;
  172. }
  173. .list-wrap-title {
  174. font-size: 30rpx;
  175. font-weight: 400;
  176. color: #000000;
  177. }
  178. .table-wrap {
  179. margin-top: 35rpx;
  180. border: 1px solid #DCDCDC;
  181. .tb-header {
  182. display: flex;
  183. height: 59rpx;
  184. line-height: 59rpx;
  185. background: #F5F5F5;
  186. }
  187. .name-wrap,
  188. .option {
  189. flex: 1;
  190. overflow: hidden;
  191. display: flex;
  192. align-items: center;
  193. justify-content: center;
  194. border-right: 1px solid #DCDCDC;
  195. }
  196. .height-style {
  197. height: 68rpx;
  198. line-height: 68rpx;
  199. }
  200. .name-text {
  201. font-size: 24rpx;
  202. color: #333333;
  203. }
  204. .tb-body {
  205. border-left: 1px solid #DCDCDC;
  206. .tb-item {
  207. display: flex;
  208. border-bottom: 1px solid #DCDCDC;
  209. .d-img {
  210. width: 48rpx;
  211. height: 48rpx;
  212. }
  213. &:nth-child(2n) {
  214. background: #F6F6F6;
  215. }
  216. }
  217. .btn {
  218. font-size: 24rpx;
  219. color: #333333;
  220. width: 96rpx;
  221. height: 36rpx;
  222. line-height: 36rpx;
  223. text-align: center;
  224. background: #FFFFFF;
  225. border: 1px solid #DCDCDC;
  226. border-radius: 17rpx;
  227. }
  228. .btn-active {
  229. font-size: 24rpx;
  230. color: #00B38B;
  231. width: 96rpx;
  232. height: 36rpx;
  233. line-height: 36rpx;
  234. text-align: center;
  235. background: #FFFFFF;
  236. border: 1px solid #00B38B;
  237. border-radius: 17rpx;
  238. }
  239. }
  240. }
  241. .code-wrap {
  242. padding: 45rpx;
  243. background: #FFFFFF;
  244. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  245. border-radius: 20rpx;
  246. margin-top: 40rpx;
  247. .code-title {
  248. font-size: 28rpx;
  249. font-weight: 700;
  250. color: #000000;
  251. }
  252. .input-wrap {
  253. margin: 30rpx 0;
  254. .uni-input {
  255. width: 100%;
  256. height: 57rpx;
  257. background: #FFFFFF;
  258. border: 1px solid #DCDCDC;
  259. padding-left: 20rpx;
  260. }
  261. }
  262. .input-btn {
  263. width: 129rpx;
  264. height: 40rpx;
  265. background: rgba(33, 190, 177, 0.2);
  266. border-radius: 6rpx;
  267. font-size: 20rpx;
  268. font-weight: 400;
  269. color: #00B38B;
  270. margin: 0 auto;
  271. display: flex;
  272. justify-content: center;
  273. align-items: center;
  274. }
  275. }
  276. .sure-wrap {
  277. display: flex;
  278. margin-top: 40rpx;
  279. .sure-text {
  280. flex: 1;
  281. overflow: hidden;
  282. display: flex;
  283. align-items: center;
  284. }
  285. .sure-text-1 {
  286. color: #777777;
  287. font-size: 24rpx;
  288. }
  289. .sure-text-2 {
  290. color: #42A2DF;
  291. font-size: 24rpx;
  292. }
  293. }
  294. .btn-wrap {
  295. border-top: 1px solid #DCDCDC;
  296. padding: 47rpx 0;
  297. display: flex;
  298. justify-content: space-between;
  299. align-items: center;
  300. margin-top: 20rpx;
  301. .text-label {
  302. color: #666666;
  303. font-size: 24rpx;
  304. }
  305. .text-value {
  306. color: #333333;
  307. font-size: 32rpx;
  308. font-weight: 700;
  309. margin-left: 36rpx;
  310. }
  311. .text-unit {
  312. color: #333333;
  313. font-weight: 400;
  314. font-size: 24rpx;
  315. }
  316. .btn-pay {
  317. width: 260rpx;
  318. height: 80rpx;
  319. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  320. border-radius: 40rpx;
  321. display: flex;
  322. justify-content: center;
  323. align-items: center;
  324. font-size: 32rpx;
  325. color: #FFFFFF;
  326. }
  327. }
  328. }
  329. </style>