From 21ec3459233ab4696612a31b4f00c5c86fc7dabb Mon Sep 17 00:00:00 2001
From: blue <825657193@qq.com>
Date: Sat, 20 Apr 2024 16:02:07 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=B0=8F=E7=A8=8B=E5=BA=8F?=
=?UTF-8?q?=E8=BF=87=E5=AE=A1=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
im-uniapp/App.vue | 17 ---
.../components/user-search/user-search.vue | 118 ------------------
im-uniapp/pages.json | 2 +-
im-uniapp/pages/group/group.vue | 6 +-
4 files changed, 2 insertions(+), 141 deletions(-)
delete mode 100644 im-uniapp/components/user-search/user-search.vue
diff --git a/im-uniapp/App.vue b/im-uniapp/App.vue
index 06e58a0..4274b60 100644
--- a/im-uniapp/App.vue
+++ b/im-uniapp/App.vue
@@ -15,8 +15,6 @@
init() {
// 加载数据
store.dispatch("load").then(() => {
- // 审核
- this.initAudit();
// 初始化websocket
this.initWebSocket();
}).catch((e) => {
@@ -241,21 +239,6 @@
// this.audioTip = uni.createInnerAudioContext();
// this.audioTip.src = "/static/audio/tip.wav";
// this.audioTip.play();
- },
- initAudit() {
- if (store.state.userStore.userInfo.type == 1) {
- // 显示群组功能
- uni.setTabBarItem({
- index: 2,
- text: "群聊"
- })
- } else {
- // 隐藏群组功能
- uni.setTabBarItem({
- index: 2,
- text: "搜索"
- })
- }
}
},
onLaunch() {
diff --git a/im-uniapp/components/user-search/user-search.vue b/im-uniapp/components/user-search/user-search.vue
deleted file mode 100644
index fadd7f6..0000000
--- a/im-uniapp/components/user-search/user-search.vue
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ user.nickName}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/im-uniapp/pages.json b/im-uniapp/pages.json
index 520b23c..6949536 100644
--- a/im-uniapp/pages.json
+++ b/im-uniapp/pages.json
@@ -61,7 +61,7 @@
"pagePath": "pages/group/group",
"iconPath": "static/tarbar/group.png",
"selectedIconPath": "static/tarbar/group_active.png",
- "text": "搜索"
+ "text": "群聊"
},
{
"pagePath": "pages/mine/mine",
diff --git a/im-uniapp/pages/group/group.vue b/im-uniapp/pages/group/group.vue
index a215665..537b283 100644
--- a/im-uniapp/pages/group/group.vue
+++ b/im-uniapp/pages/group/group.vue
@@ -1,5 +1,5 @@
-
+
@@ -19,10 +19,6 @@
-
-
-
-