Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

bank-card.vue 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="container">
  3. <view class="">
  4. <image class="bg" style="width:100%;height: 260rpx;" :src="`${$imgUrl}bank-bg.png`">
  5. </image>
  6. <view class="value">
  7. 6216 **** **** 8721
  8. </view>
  9. <view class="content">
  10. <view class="flex">
  11. <image style="width:68rpx;height:68rpx;" :src="`${$imgUrl}gongshang.png`">
  12. </image>
  13. <view style="margin-left: 15rpx;" class="">
  14. <view class="bank">
  15. 工商银行
  16. </view>
  17. <view class="card">
  18. 储蓄卡
  19. </view>
  20. </view>
  21. </view>
  22. <view class="button">
  23. 解除绑定
  24. </view>
  25. </view>
  26. </view>
  27. <view style='margin-top: 40rpx;' @click="navTo('/personal-center/setting/bank-card/bank-card-add')">
  28. <submit-button title="+ 添加银行卡">
  29. </submit-button>
  30. </view>
  31. </view>
  32. </template>
  33. <script lang="ts" setup>
  34. import {
  35. navTo
  36. } from '@/utils/utils';
  37. </script>
  38. <style lang="scss">
  39. .container {
  40. padding: 30rpx;
  41. .bg {}
  42. .flex {
  43. display: flex;
  44. align-items: center;
  45. }
  46. .value {
  47. position: absolute;
  48. top: 160rpx;
  49. left: 30rpx;
  50. right: 30rpx;
  51. font-size: 36rpx;
  52. font-family: Microsoft YaHei;
  53. font-weight: 400;
  54. color: #FFFFFF;
  55. text-align: center;
  56. line-height: 36rpx;
  57. }
  58. .content {
  59. padding: 30rpx;
  60. position: absolute;
  61. top: 30rpx;
  62. left: 30rpx;
  63. right: 30rpx;
  64. display: flex;
  65. justify-content: space-between;
  66. .bank {
  67. font-size: 28rpx;
  68. font-family: Microsoft YaHei;
  69. font-weight: 400;
  70. color: #FFFFFF;
  71. line-height: 28rpx;
  72. }
  73. .card {
  74. font-size: 24rpx;
  75. font-family: Microsoft YaHei;
  76. font-weight: 400;
  77. color: #FFFFFF;
  78. line-height: 24rpx;
  79. margin-top: 5rpx;
  80. }
  81. .button {
  82. height: 48rpx;
  83. line-height: 48rpx;
  84. border: 1px solid #FFFFFF;
  85. border-radius: 20rpx;
  86. color: #ffffff;
  87. font-size: 24rpx;
  88. text-align: center;
  89. padding: 0 20rpx;
  90. }
  91. }
  92. }
  93. </style>