From 45e4a037e7cf5d17c0231ce2ee2f21b8f51e2694 Mon Sep 17 00:00:00 2001 From: wanglihui <1769794040@qq.com> Date: Sun, 30 Jul 2023 09:21:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=E6=9B=B4=E6=96=B0=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/index.ts | 2 +- src/pages/user/friends.vue | 244 ++++++++++++++++++++++++++++++++++++ src/pages/user/userlist.vue | 16 ++- src/styles/element.scss | 4 + 4 files changed, 262 insertions(+), 4 deletions(-) create mode 100644 src/pages/user/friends.vue diff --git a/src/config/index.ts b/src/config/index.ts index 7eaf52e..c5a5e54 100755 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -14,5 +14,5 @@ export const ROUTER_WHITE_LIST: string[] = ['/login']; export const BU_DOU_CONFIG = { APP_TITLE: '唐僧叨叨后台管理', APP_TITLE_SHORT: '唐僧', - APP_URL: 'https://chatapi.githubim.com/v1/' + APP_URL: 'https://api.botgate.cn/v1/' }; diff --git a/src/pages/user/friends.vue b/src/pages/user/friends.vue new file mode 100644 index 0000000..e94c2bc --- /dev/null +++ b/src/pages/user/friends.vue @@ -0,0 +1,244 @@ + + + + + + + + 用户列表 + + + + + + + + 查询 + + + + + + + + + + + + + + + + + + {{ item.formatter(scope.row) }} + + + {{ scope.row[item.prop] }} + + + + + + + + + + + +meta: + title: 好友列表 + isAffix: false + + + + + diff --git a/src/pages/user/userlist.vue b/src/pages/user/userlist.vue index 4600905..27a0bb4 100644 --- a/src/pages/user/userlist.vue +++ b/src/pages/user/userlist.vue @@ -169,12 +169,22 @@ const column = reactive([ 更多, + default: () => 更多, dropdown: () => { return ( - bb(scope.row)}>好友列表 - 好友列表 + bb(scope.row)}> + + 好友列表 + + + + 黑名单列表 + + + + 禁封 + ); } diff --git a/src/styles/element.scss b/src/styles/element.scss index 176d229..f9173e0 100755 --- a/src/styles/element.scss +++ b/src/styles/element.scss @@ -263,3 +263,7 @@ height: 48px !important; line-height: 48px !important; } +/* bu-button*/ +.bu-button:focus-visible { + outline: 0; +}
用户列表