bind.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <template>
  2. <view class="container">
  3. <view class="body">
  4. <!-- 输入框区域 -->
  5. <view class="body_row mt-40">
  6. 姓名
  7. <input class="row_input" type="text" placeholder="请输入姓名" placeholder-style="color:#CCCCCC" />
  8. </view>
  9. <view class="body_row mt-30">
  10. 编号
  11. <input class="row_input" type="text" placeholder="请输入编号" placeholder-style="color:#CCCCCC" />
  12. </view>
  13. <!-- 确定按钮区域 -->
  14. <view class="body_btn">确认</view>
  15. </view>
  16. </view>
  17. </template>
  18. <script setup>
  19. import { ref } from 'vue'
  20. import { onLoad } from '@dcloudio/uni-app'
  21. onLoad(() => {})
  22. </script>
  23. <style lang="scss" scoped>
  24. .container {
  25. display: flex;
  26. flex-direction: column;
  27. min-height: 100vh;
  28. background-color: #f1f6fe;
  29. .body {
  30. position: relative;
  31. padding: 0 20rpx;
  32. margin-top: 20rpx;
  33. height: calc(100vh - 20rpx);
  34. background-color: #fff;
  35. .body_row {
  36. display: flex;
  37. justify-content: space-between;
  38. align-items: center;
  39. height: 90rpx;
  40. font-size: 28rpx;
  41. .row_input {
  42. box-sizing: border-box;
  43. padding: 0 30rpx;
  44. width: 628rpx;
  45. height: 90rpx;
  46. border-radius: 15rpx;
  47. background-color: #f2f2f2;
  48. }
  49. }
  50. .mt-40 {
  51. margin-top: 40rpx;
  52. }
  53. .mt-30 {
  54. margin-top: 30rpx;
  55. }
  56. .body_btn {
  57. position: absolute;
  58. bottom: 150rpx;
  59. left: 227rpx;
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. width: 297rpx;
  64. height: 100rpx;
  65. color: #fff;
  66. font-size: 32rpx;
  67. border-radius: 8rpx;
  68. background-color: #1e7dfb;
  69. }
  70. }
  71. }
  72. </style>