From b59452a8f7163d722907233db8c5c0f56909b70d Mon Sep 17 00:00:00 2001 From: icanci Date: Sat, 19 Aug 2023 19:39:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vueboot/src/layout/components/Navbar.vue | 13 +++---- .../resources/vueboot/src/router/index.js | 8 ++--- .../dashboard/admin/components/BarChart.vue | 8 ++--- .../dashboard/admin/components/LineChart.vue | 8 ++--- .../dashboard/admin/components/PanelGroup.vue | 8 ++--- .../dashboard/admin/components/PieChart.vue | 14 ++++---- .../admin/components/RaddarChart.vue | 20 +++++------ .../admin/components/TodoList/index.vue | 23 ++++++------ .../admin/components/TransactionTable.vue | 6 ++-- .../vueboot/src/views/documentation/index.vue | 22 ++++-------- .../vueboot/src/views/guide/index.vue | 5 ++- .../vueboot/src/views/guide/steps.js | 24 ++++++------- .../src/views/profile/components/Account.vue | 6 ++-- .../src/views/profile/components/Activity.vue | 36 ++++++++----------- .../src/views/profile/components/Timeline.vue | 24 ++++++------- .../src/views/profile/components/UserCard.vue | 30 ++++++++++------ .../vueboot/src/views/profile/index.vue | 6 ++-- 17 files changed, 122 insertions(+), 139 deletions(-) diff --git a/views/src/main/resources/vueboot/src/layout/components/Navbar.vue b/views/src/main/resources/vueboot/src/layout/components/Navbar.vue index 37bc1e6..a92f3d6 100644 --- a/views/src/main/resources/vueboot/src/layout/components/Navbar.vue +++ b/views/src/main/resources/vueboot/src/layout/components/Navbar.vue @@ -25,19 +25,16 @@ - Profile + 关于我 - Dashboard + 控制台 - - Github - - - Docs + + 源码 - Log Out + 退出 diff --git a/views/src/main/resources/vueboot/src/router/index.js b/views/src/main/resources/vueboot/src/router/index.js index 2be959d..e086c04 100644 --- a/views/src/main/resources/vueboot/src/router/index.js +++ b/views/src/main/resources/vueboot/src/router/index.js @@ -79,7 +79,7 @@ export const constantRoutes = [ path: 'dashboard', component: () => import('@/views/dashboard/index'), name: 'Dashboard', - meta: { title: 'Dashboard', icon: 'dashboard', affix: true } + meta: { title: '控制台', icon: 'dashboard', affix: true } } ] }, @@ -91,7 +91,7 @@ export const constantRoutes = [ path: 'index', component: () => import('@/views/documentation/index'), name: 'Documentation', - meta: { title: 'Documentation', icon: 'documentation', affix: true } + meta: { title: '文档', icon: 'documentation', affix: true } } ] }, @@ -104,7 +104,7 @@ export const constantRoutes = [ path: 'index', component: () => import('@/views/guide/index'), name: 'Guide', - meta: { title: 'Guide', icon: 'guide', noCache: true } + meta: { title: '使用手册', icon: 'guide', noCache: true } } ] }, @@ -118,7 +118,7 @@ export const constantRoutes = [ path: 'index', component: () => import('@/views/profile/index'), name: 'Profile', - meta: { title: 'Profile', icon: 'user', noCache: true } + meta: { title: '关于我', icon: 'user', noCache: true } } ] } diff --git a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/BarChart.vue b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/BarChart.vue index be0af34..7d4f6d0 100644 --- a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/BarChart.vue +++ b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/BarChart.vue @@ -62,7 +62,7 @@ export default { }, xAxis: [{ type: 'category', - data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], + data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'], axisTick: { alignWithLabel: true } @@ -74,21 +74,21 @@ export default { } }], series: [{ - name: 'pageA', + name: '前端指数', type: 'bar', stack: 'vistors', barWidth: '60%', data: [79, 52, 200, 334, 390, 330, 220], animationDuration }, { - name: 'pageB', + name: 'Java指数', type: 'bar', stack: 'vistors', barWidth: '60%', data: [80, 52, 200, 334, 390, 330, 220], animationDuration }, { - name: 'pageC', + name: 'JavaScript指数', type: 'bar', stack: 'vistors', barWidth: '60%', diff --git a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/LineChart.vue b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/LineChart.vue index e654168..8badd77 100644 --- a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/LineChart.vue +++ b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/LineChart.vue @@ -64,7 +64,7 @@ export default { setOptions({ expectedData, actualData } = {}) { this.chart.setOption({ xAxis: { - data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], + data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'], boundaryGap: false, axisTick: { show: false @@ -90,10 +90,10 @@ export default { } }, legend: { - data: ['expected', 'actual'] + data: ['智障嘻哈', '傻逼说唱'] }, series: [{ - name: 'expected', itemStyle: { + name: '傻逼说唱', itemStyle: { normal: { color: '#FF005A', lineStyle: { @@ -109,7 +109,7 @@ export default { animationEasing: 'cubicInOut' }, { - name: 'actual', + name: '智障嘻哈', smooth: true, type: 'line', itemStyle: { diff --git a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PanelGroup.vue b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PanelGroup.vue index 589236e..6e1aa1c 100644 --- a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PanelGroup.vue +++ b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PanelGroup.vue @@ -7,7 +7,7 @@
- New Visits + 新接入应用
@@ -20,7 +20,7 @@
- Messages + 新消息数量
@@ -33,7 +33,7 @@
- Purchases + 业务流程
@@ -46,7 +46,7 @@
- Shoppings + 啥也不是
diff --git a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PieChart.vue b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PieChart.vue index 4d2ef32..63c0390 100644 --- a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PieChart.vue +++ b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/PieChart.vue @@ -52,21 +52,21 @@ export default { legend: { left: 'center', bottom: '10', - data: ['Industries', 'Technology', 'Forex', 'Gold', 'Forecasts'] + data: ['Vue', 'JavaScript', 'TypeScript', 'Java', 'SQL'] }, series: [ { - name: 'WEEKLY WRITE ARTICLES', + name: '菜逼程度', type: 'pie', roseType: 'radius', radius: [15, 95], center: ['50%', '38%'], data: [ - { value: 320, name: 'Industries' }, - { value: 240, name: 'Technology' }, - { value: 149, name: 'Forex' }, - { value: 100, name: 'Gold' }, - { value: 59, name: 'Forecasts' } + { value: 320, name: 'Vue' }, + { value: 240, name: 'JavaScript' }, + { value: 149, name: 'TypeScript' }, + { value: 100, name: 'Java' }, + { value: 59, name: 'SQL' } ], animationEasing: 'cubicInOut', animationDuration: 2600 diff --git a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/RaddarChart.vue b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/RaddarChart.vue index 52c8f9f..34c829e 100644 --- a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/RaddarChart.vue +++ b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/RaddarChart.vue @@ -68,18 +68,18 @@ export default { } }, indicator: [ - { name: 'Sales', max: 10000 }, - { name: 'Administration', max: 20000 }, - { name: 'Information Technology', max: 20000 }, - { name: 'Customer Support', max: 20000 }, - { name: 'Development', max: 20000 }, - { name: 'Marketing', max: 20000 } + { name: '数据分析', max: 10000 }, + { name: 'SQL', max: 20000 }, + { name: '基础架构', max: 20000 }, + { name: '业务理论', max: 20000 }, + { name: '设计思想', max: 20000 }, + { name: '管理模型', max: 20000 } ] }, legend: { left: 'center', bottom: '10', - data: ['Allocated Budget', 'Expected Spending', 'Actual Spending'] + data: ['阿强', '菜鸟', '基操哥'] }, series: [{ type: 'radar', @@ -96,15 +96,15 @@ export default { data: [ { value: [5000, 7000, 12000, 11000, 15000, 14000], - name: 'Allocated Budget' + name: '阿强' }, { value: [4000, 9000, 15000, 15000, 13000, 11000], - name: 'Expected Spending' + name: '菜鸟' }, { value: [5500, 11000, 12000, 15000, 12000, 12000], - name: 'Actual Spending' + name: '基操哥' } ], animationDuration: animationDuration diff --git a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/TodoList/index.vue b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/TodoList/index.vue index 8000d41..ed814ad 100644 --- a/views/src/main/resources/vueboot/src/views/dashboard/admin/components/TodoList/index.vue +++ b/views/src/main/resources/vueboot/src/views/dashboard/admin/components/TodoList/index.vue @@ -7,7 +7,7 @@
-