index.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <div>
  3. <div class="title">添加节点分红地址白名单</div>
  4. <div class="input-box">
  5. <van-field v-model="message" placeholder="请输入钱包完整地址" />
  6. </div>
  7. <div class="admin-btn">
  8. <van-button class="add">加入白名单</van-button>
  9. <van-button class="delete" color="#4765DD">移除白名单</van-button>
  10. <van-button class="add">加入管理员</van-button>
  11. <van-button class="delete" color="#4765DD">移除管理员</van-button>
  12. </div>
  13. </div>
  14. </template>
  15. <script setup>
  16. const message = ref('')
  17. </script>
  18. <style lang="less" scoped>
  19. .title{
  20. margin: 20px 0 16px;
  21. text-align: center;
  22. font-family: PingFang SC, PingFang SC;
  23. font-weight: 400;
  24. font-size: 15px;
  25. color: #000000;
  26. }
  27. .input-box{
  28. background: #F2F2F2;
  29. border-radius: 8px;
  30. border: 1px solid #D8D8D8;
  31. margin: 0 30px;
  32. height: 64px;
  33. font-family: PingFang SC, PingFang SC;
  34. font-weight: 400;
  35. font-size: 15px;
  36. color: #8D8D8D;
  37. :deep(.van-cell){
  38. background: initial !important;
  39. height: 64px;
  40. box-sizing: border-box;
  41. line-height: 64px;
  42. padding: 0 16px !important;
  43. }
  44. }
  45. .admin-btn{
  46. margin: 32px 30px 0;
  47. display: flex;
  48. flex-wrap: wrap;
  49. gap: 16px;
  50. box-sizing: border-box;
  51. .add,.delete{
  52. width: calc(95% / 2);
  53. height: 32px;
  54. line-height: 32px;
  55. border-radius: 17px;
  56. font-family: PingFang SC, PingFang SC;
  57. font-weight: 400;
  58. font-size: 15px;
  59. color: #FFFFFF;
  60. border: none !important;
  61. }
  62. .add{
  63. background: #869EFF;
  64. }
  65. }
  66. </style>