weixin.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. bank:'DFSDFSD',
  31. banknum:554545
  32. }
  33. ]
  34. }
  35. },
  36. onNavigationBarButtonTap(e)
  37. {
  38. uni.navigateTo({
  39. url: '/pages/wallet/nummanage?state=1'
  40. })
  41. }
  42. }
  43. </script>
  44. <style lang="scss">
  45. page {
  46. background: $page-color-base;
  47. padding-top: 16rpx;
  48. }
  49. .row{
  50. display: flex;
  51. justify-content: space-between;
  52. align-items: center;
  53. width:750rpx;
  54. height:119rpx;
  55. background:rgba(255,255,255,1);
  56. padding: 15rpx;
  57. border-bottom: 1rpx solid rgba(240,240,240,1);
  58. .left{
  59. flex-grow: 1;
  60. }
  61. .tit{
  62. width:130rpx;
  63. height:26rpx;
  64. font-size:28rpx;
  65. font-family:PingFangSC;
  66. font-weight:500;
  67. color:rgba(51,51,51,1);
  68. margin-bottom: 15rpx;
  69. };
  70. .number{
  71. width:211rpx;
  72. height:17rpx;
  73. font-size:22rpx;
  74. font-family:PingFang SC;
  75. font-weight:400;
  76. color:rgba(153,153,153,1);
  77. };
  78. .icon{
  79. width:40rpx;
  80. height:40rpx;
  81. background:rgba(153,161,170,0);
  82. }
  83. .bj{
  84. width:46rpx;
  85. height:23rpx;
  86. font-size:24rpx;
  87. font-family:PingFangSC;
  88. font-weight:500;
  89. color:rgba(96,105,114,1);
  90. }
  91. }
  92. </style>