diff --git a/README.md b/README.md index bc5129f..38643b9 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,10 @@ vue-admin-perfect └─ vite.config.ts # vite 配置 ``` +### 十、微信交流群 +| 微信二维码 | +| :----------------------------------------------------------------------------------: | +| | diff --git a/src/router/modules/externalLink.ts b/src/router/modules/externalLink.ts index 1984def..e30894c 100644 --- a/src/router/modules/externalLink.ts +++ b/src/router/modules/externalLink.ts @@ -12,6 +12,12 @@ const externalLink = [{ icon: 'link' }, children: [ + { + path: 'wechat', + name: 'wechat', + component: () => import('@/views/externalLinks/wechat/index.vue'), + meta: { title: '加微信群', icon: 'MenuIcon' } + }, { path: 'https://github.com/zouzhibin/vue-admin-perfect', name: 'github', diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 9afd472..96b323e 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -9,7 +9,8 @@ const systemRouter = [{ name: 'system', meta: { title: '系统管理', - icon: 'ElementPlus' + icon: 'ElementPlus', + roles:['other'] }, children: [ { @@ -22,19 +23,19 @@ const systemRouter = [{ path: 'user', component: () => import('@/views/system/user/index.vue'), name: 'user', - meta: { title: '用户管理', roles: ['other'] , icon: 'MenuIcon'} + meta: { title: '用户管理' , icon: 'MenuIcon'} }, { path: 'role', component: () => import('@/views/system/role/index.vue'), name: 'role', - meta: { title: '角色管理', roles: ['other'], icon: 'MenuIcon' } + meta: { title: '角色管理', icon: 'MenuIcon' } }, { path: 'menu', component: () => import('@/views/system/menu/index.vue'), name: 'menu', - meta: { title: '菜单管理', roles: ['other'] , icon: 'MenuIcon'} + meta: { title: '菜单管理', icon: 'MenuIcon'} }, ] }] diff --git a/src/views/chat/components/u-chartBox/chat.js b/src/views/chat/components/u-chartBox/chat.js index a765297..eae616f 100644 --- a/src/views/chat/components/u-chartBox/chat.js +++ b/src/views/chat/components/u-chartBox/chat.js @@ -1,9 +1,10 @@ export const chatData = [ { is_self: 0, - created_at: '2022-03-11', - content: 'hello 你好呀!', + created_at: '2022-11-15', + content: 'http://182.61.5.190:8889/we.png', id: 1, + type: 2, // 文字 }, { is_self: 1, @@ -12,4 +13,5 @@ export const chatData = [ id: 2, type: 1, // 文字 }, + ] diff --git a/src/views/chat/components/u-chartBox/index.vue b/src/views/chat/components/u-chartBox/index.vue index f668672..c54a5c4 100644 --- a/src/views/chat/components/u-chartBox/index.vue +++ b/src/views/chat/components/u-chartBox/index.vue @@ -9,7 +9,15 @@
-
+
+
+ +
diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index 3538244..6c07c03 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -1,16 +1,25 @@ - + diff --git a/src/views/externalLinks/wechat/index.vue b/src/views/externalLinks/wechat/index.vue new file mode 100644 index 0000000..1b8876f --- /dev/null +++ b/src/views/externalLinks/wechat/index.vue @@ -0,0 +1,13 @@ + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 86cc0d3..d6a4ddd 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -3,6 +3,13 @@ +
@@ -17,7 +24,7 @@
性别:男
现住址:中国-浙江-杭州
邮箱:1135957121@qq.com
-
微信:19550102670(欢迎加)
+
微信:19550102670(欢迎加微信入群)
技术栈:JavaScript、HTML、CSS、Vue、Node、React
@@ -222,8 +229,15 @@ .box-card { //height: 100%; + position: relative; margin-bottom: 10px; width: 100%; + .wechat{ + position: absolute; + width: 150px; + right: 0; + top: 0; + } } .card-item { background: linear-gradient(50deg, #1890ff, #77e19d);