diff --git a/components/Workbench/Workbench.vue b/components/Workbench/Workbench.vue index 8fc26c1..b9639a4 100644 --- a/components/Workbench/Workbench.vue +++ b/components/Workbench/Workbench.vue @@ -3,10 +3,10 @@ 工作台 - - 🔍 - 搜索 - + + + + @@ -17,7 +17,7 @@ @click="handleClick(item)" > - {{ item.icon }} + {{ item.text }} @@ -30,14 +30,14 @@ import { ref } from 'vue'; const items = ref([ - { key: 'verify', text: '审批管理', icon: '📝' }, - // { key: 'customer', text: '客户管理', icon: '👤' }, - { key: 'project', text: '项目管理', icon: '📚' }, - { key: 'task', text: '任务管理', icon: '🗂️' }, - // { key: 'schedule', text: '日程管理', icon: '🗓️' }, - { key: 'contact', text: '通讯录', icon: '📇' }, - { key: 'notice', text: '公告管理', icon: '📢' }, - { key: 'wechat', text: '工作微信', icon: '🤖' } + { key: 'verify', text: '审批管理', icon: '/static/workbench/verify.png' }, + // { key: 'customer', text: '客户管理', icon: '/static/workbench/customer.png' }, + { key: 'project', text: '项目管理', icon: '/static/workbench/project.png' }, + { key: 'task', text: '任务管理', icon: '/static/workbench/task.png' }, + // { key: 'schedule', text: '日程管理', icon: '/static/workbench/schedule.png' }, + { key: 'contact', text: '通讯录', icon: '/static/workbench/contact.png' }, + { key: 'notice', text: '公告管理', icon: '/static/workbench/notice.png' }, + { key: 'wechat', text: '工作微信', icon: '/static/workbench/wechat.png' } ]); const goToSearch = () => { @@ -143,14 +143,17 @@ const handleClick = (item) => { width: 54px; height: 54px; border-radius: 50%; - background: #2885ff; + //background: #2885ff; display: flex; align-items: center; justify-content: center; + overflow: hidden; } -.icon-text { - font-size: 20px; - color: #fff; +.icon-image { + width: 100%; + height: 100%; + object-fit: contain; + padding: 8px; } .item-text { diff --git a/components/index/ContentDashboard.vue b/components/index/ContentDashboard.vue index 81cd8ff..080b392 100644 --- a/components/index/ContentDashboard.vue +++ b/components/index/ContentDashboard.vue @@ -247,8 +247,6 @@ const customerStatus = ref([ { label: '即将跟进', count: 0 } ]); - - // 加载状态 const loading = ref(false); diff --git a/static/workbench/contact.png b/static/workbench/contact.png new file mode 100644 index 0000000..b06a46c Binary files /dev/null and b/static/workbench/contact.png differ diff --git a/static/workbench/notice.png b/static/workbench/notice.png new file mode 100644 index 0000000..a0a0687 Binary files /dev/null and b/static/workbench/notice.png differ diff --git a/static/workbench/project.png b/static/workbench/project.png new file mode 100644 index 0000000..a2766fb Binary files /dev/null and b/static/workbench/project.png differ diff --git a/static/workbench/task.png b/static/workbench/task.png new file mode 100644 index 0000000..43d3956 Binary files /dev/null and b/static/workbench/task.png differ diff --git a/static/workbench/verify.png b/static/workbench/verify.png new file mode 100644 index 0000000..064ea7d Binary files /dev/null and b/static/workbench/verify.png differ diff --git a/static/workbench/wechat.png b/static/workbench/wechat.png new file mode 100644 index 0000000..f70722d Binary files /dev/null and b/static/workbench/wechat.png differ diff --git a/static/workbench/组 620workbench-2.png b/static/workbench/组 620workbench-2.png new file mode 100644 index 0000000..6f7562c Binary files /dev/null and b/static/workbench/组 620workbench-2.png differ diff --git a/static/workbench/组 620workbench.png b/static/workbench/组 620workbench.png new file mode 100644 index 0000000..b5a7932 Binary files /dev/null and b/static/workbench/组 620workbench.png differ