feat(zone): 将专区白名单弹窗改为右侧抽屉

- 用户要求专区白名单入口交互与商品一致,改为右侧抽屉弹出
- UserSelectModal 组件外层由 a-modal 改为 a-drawer,保持内部逻辑不变
- 组件 props 和 emits 完全兼容,调用方式无需更改
- 前端重新构建即可,无需后端改动
This commit is contained in:
2026-08-17 03:23:45 +08:00
parent 4ba0427417
commit 47fb8d1bd0
2 changed files with 10 additions and 4 deletions
@@ -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>