1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <template>
- <div>
- <div class="title">添加节点分红地址白名单</div>
- <div class="input-box">
- <van-field v-model="message" placeholder="请输入钱包完整地址" />
- </div>
- <div class="admin-btn">
- <van-button class="add">加入白名单</van-button>
- <van-button class="delete" color="#4765DD">移除白名单</van-button>
- <van-button class="add">加入管理员</van-button>
- <van-button class="delete" color="#4765DD">移除管理员</van-button>
- </div>
- </div>
- </template>
- <script setup>
- const message = ref('')
- </script>
- <style lang="less" scoped>
- .title{
- margin: 20px 0 16px;
- text-align: center;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 15px;
- color: #000000;
- }
- .input-box{
- background: #F2F2F2;
- border-radius: 8px;
- border: 1px solid #D8D8D8;
- margin: 0 30px;
- height: 64px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 15px;
- color: #8D8D8D;
- :deep(.van-cell){
- background: initial !important;
- height: 64px;
- box-sizing: border-box;
- line-height: 64px;
- padding: 0 16px !important;
- }
- }
- .admin-btn{
- margin: 32px 30px 0;
- display: flex;
- flex-wrap: wrap;
- gap: 16px;
- box-sizing: border-box;
- .add,.delete{
- width: calc(95% / 2);
- height: 32px;
- line-height: 32px;
- border-radius: 17px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 15px;
- color: #FFFFFF;
- border: none !important;
- }
- .add{
- background: #869EFF;
- }
- }
- </style>
|