bankcard.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <template>
  2. <view class="content">
  3. <view v-for="(item,index) in banklist" :key='index' class="row b-b">
  4. <view class="left">
  5. <view class="tit">
  6. <text>
  7. {{item.bank}}
  8. </text>
  9. </view>
  10. <view class="number">
  11. <text>
  12. {{item.banknum}}
  13. </text>
  14. </view>
  15. </view>
  16. <view class="rigth">
  17. <!-- <image class="icon" src="../../static/icon/img13.png" mode=""></image> -->
  18. <uni-icons type="compose"></uni-icons>
  19. <text class="bj">编辑</text>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default{
  26. data(){
  27. return{
  28. banklist:[
  29. ]
  30. }
  31. },
  32. onNavigationBarButtonTap(e)
  33. {
  34. uni.navigateTo({
  35. url: '/pages/wallet/nummanage?state=2'
  36. })
  37. }
  38. }
  39. </script>
  40. <style lang="scss">
  41. page {
  42. background: $page-color-base;
  43. padding-top: 16rpx;
  44. }
  45. .row{
  46. display: flex;
  47. justify-content: space-between;
  48. align-items: center;
  49. width:750rpx;
  50. height:119rpx;
  51. background:rgba(255,255,255,1);
  52. padding: 15rpx;
  53. border-bottom: 1rpx solid rgba(240,240,240,1);
  54. .left{
  55. flex-grow: 1;
  56. }
  57. .tit{
  58. width:130rpx;
  59. height:26rpx;
  60. font-size:28rpx;
  61. font-family:PingFangSC;
  62. font-weight:500;
  63. color:rgba(51,51,51,1);
  64. margin-bottom: 15rpx;
  65. };
  66. .number{
  67. width:211rpx;
  68. height:17rpx;
  69. font-size:22rpx;
  70. font-family:PingFang SC;
  71. font-weight:400;
  72. color:rgba(153,153,153,1);
  73. };
  74. .icon{
  75. width:40rpx;
  76. height:40rpx;
  77. background:rgba(153,161,170,0);
  78. }
  79. .bj{
  80. width:46rpx;
  81. height:23rpx;
  82. font-size:24rpx;
  83. font-family:PingFangSC;
  84. font-weight:500;
  85. color:rgba(96,105,114,1);
  86. }
  87. }
  88. </style>