bank.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <template>
  2. <view class="content">
  3. <view class="box">
  4. <view class="item ">
  5. <text>姓名</text>
  6. <input type="text" value="" placeholder="请输入真实姓名" />
  7. </view>
  8. <view class="item top">
  9. <text>银行卡号</text>
  10. <input type="text" value="" placeholder="请输入银行卡账号" />
  11. </view>
  12. <view class="item">
  13. <text>所属银行</text>
  14. <input type="text" value="" placeholder="请输入银行" />
  15. </view>
  16. </view>
  17. <view class="button">确认</view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {};
  24. }
  25. };
  26. </script>
  27. <style lang="scss">
  28. page,
  29. .content {
  30. height: 100%;
  31. padding: 0;
  32. margin: 0;
  33. }
  34. .top {
  35. border-top: 1rpx solid #f3f3f3;
  36. border-bottom: 1rpx solid #f3f3f3;
  37. }
  38. .box {
  39. background: #ffffff;
  40. margin: 20rpx 0 70rpx 0;
  41. .item {
  42. display: flex;
  43. align-items: center;
  44. text {
  45. margin: 0 40rpx 0 25rpx;
  46. width: 150rpx;
  47. font-size: 30rpx;
  48. font-family: PingFang SC;
  49. font-weight: 400;
  50. color: #333333;
  51. line-height: 100rpx;
  52. }
  53. input {
  54. font-size: 28rpx;
  55. font-family: PingFang SC;
  56. font-weight: 400;
  57. color: #999999;
  58. line-height: 100rpx;
  59. }
  60. }
  61. }
  62. .button {
  63. text-align: center;
  64. width: 560rpx;
  65. height: 80rpx;
  66. background: linear-gradient(0deg, #2e58ff, #32c6ff);
  67. border-radius: 40rpx;
  68. font-size: 30rpx;
  69. font-family: PingFangSC;
  70. font-weight: 500;
  71. color: #ffffff;
  72. line-height: 80rpx;
  73. margin: 0 auto;
  74. }
  75. </style>