feat(zone): 将专区白名单弹窗改为右侧抽屉
- 用户要求专区白名单入口交互与商品一致,改为右侧抽屉弹出 - UserSelectModal 组件外层由 a-modal 改为 a-drawer,保持内部逻辑不变 - 组件 props 和 emits 完全兼容,调用方式无需更改 - 前端重新构建即可,无需后端改动
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<!-- 白名单用户管理弹窗(商品式:打开只列已添加,搜索手机/姓名昵称追加,单条即时增删) -->
|
||||
<!-- 白名单用户管理抽屉(右侧弹出:打开只列已添加,搜索手机/姓名昵称追加,单条即时增删) -->
|
||||
<template>
|
||||
<a-modal
|
||||
<a-drawer
|
||||
:width="820"
|
||||
:visible="visible"
|
||||
:maskClosable="false"
|
||||
title="专区白名单用户"
|
||||
:footer="null"
|
||||
placement="right"
|
||||
:body-style="{ paddingBottom: '16px' }"
|
||||
@update:visible="updateVisible"
|
||||
>
|
||||
@@ -64,7 +64,7 @@
|
||||
</a-table>
|
||||
<a-empty v-else description="暂无白名单用户,请用上方搜索添加" />
|
||||
</a-spin>
|
||||
</a-modal>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
||||
Reference in New Issue
Block a user