Skip to content

Commit c054840

Browse files
committed
feature:上线前细节数据调整
1 parent e259418 commit c054840

File tree

15 files changed

+220
-84
lines changed

15 files changed

+220
-84
lines changed

server/core/server.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,15 @@ func RunWindowsServer() {
4040
欢迎使用 gin-vue-admin
4141
当前版本:v2.6.4
4242
加群方式:微信号:shouzi_1994 QQ群:470239250
43+
项目地址:https://github.com/flipped-aurora/gin-vue-admin
4344
插件市场:https://plugin.gin-vue-admin.com
4445
GVA讨论社区:https://support.qq.com/products/371961
4546
默认自动化文档地址:http://127.0.0.1%s/swagger/index.html
4647
默认前端文件运行地址:http://127.0.0.1:8080
47-
如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html
48+
--------------------------------------版权声明--------------------------------------
49+
** 版权所有方:flipped-aurora开源团队 **
50+
** 版权持有公司:北京翻转极光科技有限责任公司 **
51+
** 剔除授权标识需购买商用授权:https://gin-vue-admin.com/empower/index.html **
4852
`, address)
4953
global.GVA_LOG.Error(s.ListenAndServe().Error())
5054
}

web/openDocument.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
若作为代码出售的产品(任何涉及代码交付第三方作为后续开发)必须保留此脚本
3-
或标注原作者信息
4-
否则将依法维权
2+
此文件受版权保护,未经授权禁止修改!如果您尚未获得授权,请通过微信(shouzi_1994)联系我们以购买授权。在未授权状态下,只需保留此代码,不会影响任何正常使用。
3+
未经授权的商用使用可能会被我们的资产搜索引擎爬取,并可能导致后续索赔。索赔金额将不低于高级授权费的十倍。请您遵守版权法律法规,尊重知识产权。
54
*/
65

76
var child_process = require('child_process')

web/src/assets/banner.jpg

39.5 KB
Loading

web/src/assets/banner2.jpg

44.7 KB
Loading

web/src/core/config.js

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* 网站配置文件
33
*/
4+
import chalk from "chalk";
45

56
const config = {
67
appName: 'Gin-Vue-Admin',
@@ -29,14 +30,19 @@ export const viteLogo = (env) => {
2930
)
3031
console.log(
3132
chalk.green(
32-
`> GVA讨论社区:https://support.qq.com/products/371961`
33+
`> 项目地址:https://github.com/flipped-aurora/gin-vue-admin`
3334
)
3435
)
3536
console.log(
3637
chalk.green(
3738
`> 插件市场:https://plugin.gin-vue-admin.com`
3839
)
3940
)
41+
console.log(
42+
chalk.green(
43+
`> GVA讨论社区:https://support.qq.com/products/371961`
44+
)
45+
)
4046
console.log(
4147
chalk.green(
4248
`> 默认自动化文档地址:http://127.0.0.1:${env.VITE_SERVER_PORT}/swagger/index.html`
@@ -47,9 +53,28 @@ export const viteLogo = (env) => {
4753
`> 默认前端文件运行地址:http://127.0.0.1:${env.VITE_CLI_PORT}`
4854
)
4955
)
56+
57+
console.log(
58+
chalk.green(
59+
`--------------------------------------版权声明--------------------------------------`
60+
)
61+
)
62+
63+
console.log(
64+
chalk.green(
65+
`** 版权所有方:flipped-aurora开源团队 **`
66+
)
67+
)
68+
69+
console.log(
70+
chalk.green(
71+
`** 版权持有公司:北京翻转极光科技有限责任公司 **`
72+
)
73+
)
74+
5075
console.log(
5176
chalk.green(
52-
`> 如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html`
77+
`** 剔除授权标识需购买商用授权:https://gin-vue-admin.com/empower/index.html **`
5378
)
5479
)
5580
console.log('\n')

web/src/core/gin-vue-admin.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ export default {
1212
欢迎使用 Gin-Vue-Admin
1313
当前版本:v2.6.4
1414
加群方式:微信:shouzi_1994 QQ群:622360840
15-
GVA讨论社区:https://support.qq.com/products/371961
15+
项目地址:https://github.com/flipped-aurora/gin-vue-admin
1616
插件市场:https://plugin.gin-vue-admin.com
17+
GVA讨论社区:https://support.qq.com/products/371961
1718
默认自动化文档地址:http://127.0.0.1:${import.meta.env.VITE_SERVER_PORT}/swagger/index.html
1819
默认前端文件运行地址:http://127.0.0.1:${import.meta.env.VITE_CLI_PORT}
1920
如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html
21+
--------------------------------------版权声明--------------------------------------
22+
** 版权所有方:flipped-aurora开源团队 **
23+
** 版权持有公司:北京翻转极光科技有限责任公司 **
24+
** 剔除授权标识需购买商用授权:https://gin-vue-admin.com/empower/index.html **
2025
`)
2126
}
2227
}

web/src/view/dashboard/componenst/banner.vue

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,30 @@
44
!-->
55

66
<template>
7-
<el-carousel class=" h-40">
8-
<el-carousel-item v-for="(item , index) in banners" :key="index">
9-
<el-image :src="item" class="" fit="contain"></el-image>
7+
<el-carousel class="-mt-2">
8+
<el-carousel-item class="cursor-pointer lg:h-40" v-for="(item , index) in banners" :key="index" @click="openLink(item.link)">
9+
<el-image class="h-full w-full" :src="item.img" fit="fill"></el-image>
1010
</el-carousel-item>
1111
</el-carousel>
1212
</template>
1313

1414
<script setup>
15+
import banner from "@/assets/banner.jpg"
16+
import banner2 from "@/assets/banner2.jpg"
17+
18+
const openLink = (link) => {
19+
window.open(link, '_blank')
20+
}
21+
1522
const banners = [
16-
"https://qmplusimg.henrongyi.top/171163573320240328-221254.jpg",
17-
"https://qmplusimg.henrongyi.top/1657463878org.png"
23+
{
24+
img: banner,
25+
link: "https://gin-vue-admin.com/empower/index.html"
26+
},
27+
{
28+
img: banner2,
29+
link: "https://plugin.gin-vue-admin.com"
30+
}
1831
]
1932
</script>
2033

web/src/view/dashboard/componenst/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import GvaTable from "./table.vue"
55
import GvaNotice from "./notice.vue"
66
import GvaQuickLink from "./quickLinks.vue"
77
import GvaWiki from "./wiki.vue"
8+
import GvaPluginTable from "./pluginTable.vue"
89

910
export {
1011
GvaBanner,
@@ -13,6 +14,6 @@ export {
1314
GvaTable,
1415
GvaNotice,
1516
GvaQuickLink,
16-
GvaWiki
17-
17+
GvaWiki,
18+
GvaPluginTable
1819
}

web/src/view/dashboard/componenst/notice.vue

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
<el-tag :type="item.type" size="small">
1010
{{ item.typeTitle }}
1111
</el-tag>
12-
<div class="text-xs text-gray-700 dark:text-gray-300 line-clamp-1">
13-
{{ item.title }}
14-
</div>
12+
<el-tooltip effect="light" :content="item.title" placement="top">
13+
<div class="text-xs text-gray-700 dark:text-gray-300 line-clamp-1">
14+
{{ item.title }}
15+
</div>
16+
</el-tooltip>
1517
</div>
1618
</el-scrollbar>
1719
</template>
@@ -21,52 +23,52 @@
2123
{
2224
type : 'primary',
2325
typeTitle : "公告",
24-
title : "公告1公告1公告1公告1公告1公告1公告1公告1公告1公告1公告1公告1",
26+
title : "授权费将在从六月一日起结束第一价格梯度,进入第二价格梯度。",
2527
},
2628
{
2729
type : 'success',
2830
typeTitle : "通知",
29-
title : "通知1通知1通知1通知1通知1通知1通知1通知1通知1通知1通知1通知1通知1通知1",
31+
title : "授权后将进入专属飞书群,获取官方辅助。",
3032
},
3133
{
3234
type : 'warning',
3335
typeTitle : "警告",
34-
title : "警告1警告1警告1警告1警告1警告1警告1警告1警告1警告1警告1警告1警告1警告1",
36+
title : "授权可获得插件市场极大优惠价格。",
3537
},
3638
{
3739
type : 'danger',
38-
typeTitle : "错误",
39-
title : "错误1错误1错误1错误1错误1错误1错误1错误1错误1错误1错误1错误1错误1",
40+
typeTitle : "违规",
41+
title : "未授权商用将有可能被资源采集工具爬取并追责。",
4042
},
4143
{
4244
type : 'info',
4345
typeTitle : "信息",
44-
title : "信息1信息1信息1信息1信息1信息1信息1信息1信息1信息1信息1信息1信息1信息1信息1",
46+
title : "再次感谢您对开源事业的支持",
4547
},
4648
{
4749
type : 'primary',
4850
typeTitle : "公告",
49-
title : "公告2",
51+
title : "让创意更有价值。",
5052
},
5153
{
5254
type : 'success',
5355
typeTitle : "通知",
54-
title : "通知2",
56+
title : "让劳动更有意义。",
5557
},
5658
{
5759
type : 'warning',
5860
typeTitle : "警告",
59-
title : "警告2",
61+
title : "让思维更有深度。",
6062
},
6163
{
6264
type : 'danger',
6365
typeTitle : "错误",
64-
title : "错误2",
66+
title : "让生活更有趣味。",
6567
},
6668
{
6769
type : 'info',
6870
typeTitle : "信息",
69-
title : "信息2",
71+
title : "让公司更有活力。",
7072
}
7173
]
7274
</script>
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!--
2+
@auther: bypanghu<[email protected]>
3+
@date: 2024/5/8
4+
!-->
5+
6+
<template>
7+
<div>
8+
<el-table :data="tableData" stripe style="width: 100%" @row-click="toPath">
9+
<el-table-column prop="ranking" label="排名" width="80" align="center"/>
10+
<el-table-column prop="title" label="插件标题" show-overflow-tooltip>
11+
<template #default="{ row }">
12+
<a class="text-active" :href="row.link" target="_blank">{{ row.title }}</a>
13+
</template>
14+
</el-table-column>
15+
<el-table-column prop="click_num" label="关注度" width="100" />
16+
<el-table-column prop="hot" label="热度值" width="100" />
17+
</el-table>
18+
</div>
19+
</template>
20+
21+
<script setup>
22+
const tableData = [
23+
{
24+
ranking: 1,
25+
title : "组织管理插件:更方便管理组织,分配资源权限。",
26+
click_num : 523,
27+
hot : 263,
28+
link : "https://plugin.gin-vue-admin.com/#/layout/newPluginInfo?id=36"
29+
},
30+
{
31+
ranking: 2,
32+
title : "Kubernetes容器管理:,Kubernetes 原生资源管理,提供炫酷的YAML 编辑,Pod 终端,方便运维兄弟管理k8s资源",
33+
click_num : 416,
34+
hot : 223,
35+
link : "https://plugin.gin-vue-admin.com/#/layout/newPluginInfo?id=42"
36+
},
37+
{
38+
ranking: 3,
39+
title : "定时任务配置化管理:本插件用于对系统内部的定时任务进行配置化管理,可以配置自定义的函数和HTTP,可以配置cron和remark等等",
40+
click_num : 337,
41+
hot : 176,
42+
link : "https://plugin.gin-vue-admin.com/#/layout/newPluginInfo?id=67"
43+
},
44+
{
45+
ranking: 4,
46+
title : "官网CMS系统:基于Gin-Vue-Admin 和 插件市场客户端开发基座开发的企业官网类(cms)系统",
47+
click_num : 292,
48+
hot : 145,
49+
link : "https://plugin.gin-vue-admin.com/#/layout/newPluginInfo?id=69"
50+
},
51+
{
52+
ranking: 5,
53+
title : "微信支付插件:提供扫码支付功能(需自行对接业务)",
54+
click_num : 173,
55+
hot : 110,
56+
link : "https://plugin.gin-vue-admin.com/#/layout/newPluginInfo?id=28"
57+
},
58+
]
59+
</script>
60+
61+
<style scoped lang="scss">
62+
63+
</style>

0 commit comments

Comments
 (0)