diff --git a/frontend/public/font/demo_index.html b/frontend/public/font/demo_index.html
index bacea89..6d32b32 100644
--- a/frontend/public/font/demo_index.html
+++ b/frontend/public/font/demo_index.html
@@ -54,6 +54,12 @@
+ -
+ 𐃂
+
workchat
+ 𐃂
+
+
-
progress
@@ -702,9 +708,9 @@
@font-face {
font-family: 'iconfont';
- src: url('iconfont.woff2?t=1722391811007') format('woff2'),
- url('iconfont.woff?t=1722391811007') format('woff'),
- url('iconfont.ttf?t=1722391811007') format('truetype');
+ src: url('iconfont.woff2?t=1726139300607') format('woff2'),
+ url('iconfont.woff?t=1726139300607') format('woff'),
+ url('iconfont.ttf?t=1726139300607') format('truetype');
}
第二步:定义使用 iconfont 的样式
@@ -730,6 +736,15 @@
+ -
+
+
+ workchat
+
+ .icon-workchat
+
+
+
-
@@ -1702,6 +1717,14 @@
+ -
+
+
workchat
+ #icon-workchat
+
+
-
-
-
-
-
+
+
+
+
暂无内容
+
\ No newline at end of file
diff --git a/frontend/src/components/chat/ChatMenu.vue b/frontend/src/components/chat/ChatMenu.vue
index 4996a86..aa86def 100644
--- a/frontend/src/components/chat/ChatMenu.vue
+++ b/frontend/src/components/chat/ChatMenu.vue
@@ -62,11 +62,5 @@ const store = useChatStore()
color: #07C160;
cursor: pointer;
}
-/* 新增样式 */
-.floating-button {
- position: fixed;
- bottom: 20px;
- right: 20px;
- z-index: 1000;
-}
+
diff --git a/frontend/src/components/chat/ChatUserSetting.vue b/frontend/src/components/chat/ChatUserSetting.vue
index d10664b..ff34fc6 100644
--- a/frontend/src/components/chat/ChatUserSetting.vue
+++ b/frontend/src/components/chat/ChatUserSetting.vue
@@ -1,23 +1,36 @@
-
-
-
-
-
-
- 保存
-
-
-
-
-
\ No newline at end of file
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
diff --git a/frontend/src/components/localchat/ChatNav.vue b/frontend/src/components/localchat/ChatNav.vue
index 8b2dd35..aba2c5c 100644
--- a/frontend/src/components/localchat/ChatNav.vue
+++ b/frontend/src/components/localchat/ChatNav.vue
@@ -1,99 +1,54 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
+
diff --git a/frontend/src/components/localchat/LocalChat.vue b/frontend/src/components/localchat/LocalChat.vue
index 005d2cd..7847bf5 100644
--- a/frontend/src/components/localchat/LocalChat.vue
+++ b/frontend/src/components/localchat/LocalChat.vue
@@ -1,5 +1,16 @@
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/i18n/lang/en.json b/frontend/src/i18n/lang/en.json
index 3e6e010..36cfbf0 100644
--- a/frontend/src/i18n/lang/en.json
+++ b/frontend/src/i18n/lang/en.json
@@ -116,6 +116,7 @@
"Terminal": "Terminal",
"calendar": "Calendar",
"localchat": "LocalChat",
+ "workchat": "Working",
"text.document": "Text Document",
"language": "Language",
"style": "Style",
diff --git a/frontend/src/i18n/lang/zh.json b/frontend/src/i18n/lang/zh.json
index e0e2f2a..8a81c74 100644
--- a/frontend/src/i18n/lang/zh.json
+++ b/frontend/src/i18n/lang/zh.json
@@ -117,6 +117,7 @@
"Terminal": "Terminal",
"calendar": "日历",
"localchat": "内网聊天",
+ "workchat": "工作台",
"text.document": "文本文档",
"language": "语言",
"style": "样式",
diff --git a/frontend/src/system/applist.ts b/frontend/src/system/applist.ts
index a7446e8..c7a7e27 100644
--- a/frontend/src/system/applist.ts
+++ b/frontend/src/system/applist.ts
@@ -189,8 +189,7 @@ export const appList = [
{
name: 'localchat',
appIcon: "chat",
- //content: "LocalChat",
- content:"Chat",
+ content: "LocalChat",
frame: true,
width: 800,
height: 600,
diff --git a/frontend/src/system/initBuiltin.ts b/frontend/src/system/initBuiltin.ts
index 9989808..3308a01 100644
--- a/frontend/src/system/initBuiltin.ts
+++ b/frontend/src/system/initBuiltin.ts
@@ -7,9 +7,16 @@ import { basename } from "./core/Path";
import { Dialog } from "./window/Dialog";
import { Tray } from "./menu/Tary";
import { appList } from "./applist.ts";
+import { getSystemConfig } from './config'
+import { memberList } from "./member.ts";
const unknownIcon = "unknown";
export function initBuiltinApp(system: System) {
- appList.forEach((d: any) => {
+ const config = getSystemConfig();
+ let sysList = appList;
+ if(config.userType == 'member') {
+ sysList = [...appList,...memberList]
+ }
+ sysList.forEach((d: any) => {
let addSave = {
name: d.name,
diff --git a/frontend/src/system/member.ts b/frontend/src/system/member.ts
new file mode 100644
index 0000000..49641e5
--- /dev/null
+++ b/frontend/src/system/member.ts
@@ -0,0 +1,13 @@
+export const memberList = [
+ {
+ name: 'workchat',
+ appIcon: "chat",
+ content:"Chat",
+ frame: true,
+ width: 800,
+ height: 600,
+ center: true,
+ resizable: true,
+ isDeskTop: true,
+ },
+];
\ No newline at end of file