Skip to content

Commit bbf009e

Browse files
committed
【优化】首页增加“项目说明”
1 parent ecf9052 commit bbf009e

File tree

1 file changed

+41
-34
lines changed

1 file changed

+41
-34
lines changed

src/views/Home/Index.vue

Lines changed: 41 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,14 @@
6262
<template #header>
6363
<div class="h-3 flex justify-between">
6464
<span>{{ t('workplace.project') }}</span>
65-
<el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>
65+
<el-link
66+
type="primary"
67+
:underline="false"
68+
href="https://github.com/yudaocode"
69+
target="_blank"
70+
>
71+
{{ t('action.more') }}
72+
</el-link>
6673
</div>
6774
</template>
6875
<el-skeleton :loading="loading" animated>
@@ -76,13 +83,13 @@
7683
:sm="24"
7784
:xs="24"
7885
>
79-
<el-card shadow="hover">
86+
<el-card shadow="hover" class="mr-5px mt-5px">
8087
<div class="flex items-center">
8188
<Icon :icon="item.icon" :size="25" class="mr-8px" />
8289
<span class="text-16px">{{ item.name }}</span>
8390
</div>
84-
<div class="mt-16px text-14px text-gray-400">{{ t(item.message) }}</div>
85-
<div class="mt-16px flex justify-between text-12px text-gray-400">
91+
<div class="mt-12px text-9px text-gray-400">{{ t(item.message) }}</div>
92+
<div class="mt-12px flex justify-between text-12px text-gray-400">
8693
<span>{{ item.personal }}</span>
8794
<span>{{ formatTime(item.time, 'yyyy-MM-dd') }}</span>
8895
</div>
@@ -204,45 +211,45 @@ let projects = reactive<Project[]>([])
204211
const getProject = async () => {
205212
const data = [
206213
{
207-
name: 'Github',
214+
name: 'ruoyi-vue-pro',
208215
icon: 'akar-icons:github-fill',
209-
message: 'workplace.introduction',
210-
personal: 'Archer',
216+
message: 'https://github.com/YunaiV/ruoyi-vue-pro',
217+
personal: 'Spring Boot 单体架构',
211218
time: new Date()
212219
},
213220
{
214-
name: 'Vue',
221+
name: 'yudao-ui-admin-vue3',
215222
icon: 'logos:vue',
216-
message: 'workplace.introduction',
217-
personal: 'Archer',
223+
message: 'https://github.com/yudaocode/yudao-ui-admin-vue3',
224+
personal: 'Vue3 + element-plus',
218225
time: new Date()
219226
},
220227
{
221-
name: 'Angular',
222-
icon: 'logos:angular-icon',
223-
message: 'workplace.introduction',
224-
personal: 'Archer',
228+
name: 'yudao-ui-admin-vben',
229+
icon: 'logos:vue',
230+
message: 'https://github.com/yudaocode/yudao-ui-admin-vben',
231+
personal: 'Vue3 + vben(antd)',
225232
time: new Date()
226233
},
227234
{
228-
name: 'React',
229-
icon: 'logos:react',
230-
message: 'workplace.introduction',
231-
personal: 'Archer',
235+
name: 'yudao-cloud',
236+
icon: 'akar-icons:github',
237+
message: 'https://github.com/YunaiV/yudao-cloud',
238+
personal: 'Spring Cloud 微服务架构',
232239
time: new Date()
233240
},
234241
{
235-
name: 'Webpack',
236-
icon: 'logos:webpack',
237-
message: 'workplace.introduction',
238-
personal: 'Archer',
242+
name: 'yudao-ui-mall-uniapp',
243+
icon: 'logos:vue',
244+
message: 'https://github.com/yudaocode/yudao-ui-admin-uniapp',
245+
personal: 'Vue3 + uniapp',
239246
time: new Date()
240247
},
241248
{
242-
name: 'Vite',
243-
icon: 'vscode-icons:file-type-vite',
244-
message: 'workplace.introduction',
245-
personal: 'Archer',
249+
name: 'yudao-ui-admin-vue2',
250+
icon: 'logos:vue',
251+
message: 'https://github.com/yudaocode/yudao-ui-admin-vue2',
252+
personal: 'Vue2 + element-ui',
246253
time: new Date()
247254
}
248255
]
@@ -254,27 +261,27 @@ let notice = reactive<Notice[]>([])
254261
const getNotice = async () => {
255262
const data = [
256263
{
257-
title: '系统升级版本',
264+
title: '系统支持 JDK 8/17/21,Vue 2/3',
258265
type: '通知',
259-
keys: ['通知', '升级'],
266+
keys: ['通知', '8', '17', '21', '2', '3'],
260267
date: new Date()
261268
},
262269
{
263-
title: '系统凌晨维护',
270+
title: '后端提供 Spring Boot 2.7/3.2 + Cloud 双架构',
264271
type: '公告',
265-
keys: ['公告', '维护'],
272+
keys: ['公告', 'Boot', 'Cloud'],
266273
date: new Date()
267274
},
268275
{
269-
title: '系统升级版本',
276+
title: '全部开源,个人与企业可 100% 直接使用,无需授权',
270277
type: '通知',
271-
keys: ['通知', '升级'],
278+
keys: ['通知', '无需授权'],
272279
date: new Date()
273280
},
274281
{
275-
title: '系统凌晨维护',
282+
title: '国内使用最广泛的快速开发平台,超 300+ 人贡献',
276283
type: '公告',
277-
keys: ['公告', '维护'],
284+
keys: ['公告', '最广泛'],
278285
date: new Date()
279286
}
280287
]

0 commit comments

Comments
 (0)