Skip to content

Commit cf5153e

Browse files
committed
docs: 更新官网相关链接
1 parent 25bec61 commit cf5153e

File tree

6 files changed

+26
-39
lines changed

6 files changed

+26
-39
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ body:
1515
options:
1616
- label: 重启项目和 IDE 后,仍然能够复现此问题
1717
required: true
18-
- label: 查阅过 [使用指南](https://continew.top/admin/frontend/structure.html) 和 [常见问题](https://continew.top/faq.html) ,仍无解决方法
18+
- label: 查阅过 [使用指南](https://continew.top/admin/frontend/structure.html) 和 [常见问题](https://continew.top/admin/faq.html) ,仍无解决方法
1919
required: true
2020
- label: 根据报错信息(自行翻译英文)百度或 Google 后,仍无法解决
2121
required: true

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ body:
1515
options:
1616
- label: 尝试了最新 dev 分支代码(演示环境),仍没有该功能
1717
required: true
18-
- label: 查阅过 [使用指南](https://continew.top/admin/frontend/structure.html) 和 [常见问题](https://continew.top/faq.html) ,仍然认为很有必要
18+
- label: 查阅过 [使用指南](https://continew.top/admin/frontend/structure.html) 和 [常见问题](https://continew.top/admin/faq.html) ,仍然认为很有必要
1919
required: true
20-
- label: 查阅过 [需求墙](https://continew.top/require.html),仍没有该功能计划
20+
- label: 查阅过 [需求墙](https://continew.top/admin/other/feature.html),仍没有该功能计划
2121
required: true
2222
- label: 搜索了项目 Issues,没有其他人提交过类似的 Feature(如果对应 Feature 尚未实现,您可以先订阅关注该 Issue,为了方便后来者查找问题解决方法,请避免创建重复的 Issue)
2323
required: true

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ContiNew Admin(Continue New Admin)持续迭代优化的前后端分离中后
7373
## 为什么选我们?
7474

7575
> [!TIP]
76-
> 更为完整的图文描述请查阅[《在线文档》](https://continew.top/admin/intro/why.html)
76+
> 更为完整的图文描述请查阅[《在线文档》](https://continew.top/admin/guide/why-choose-us.html)
7777
7878
1.**甄选技术栈:** ContiNew(Continue New) 项目致力于持续迭代优化,让技术不掉队。在技术选型时,进行深度广泛地调研,从流行度、成熟度和发展潜力等多方面甄选技术栈。
7979

@@ -112,7 +112,7 @@ public class DeptController extends BaseController<DeptService, DeptResp, DeptDe
112112
## 系统功能
113113

114114
> [!TIP]
115-
> 更多功能和优化正在赶来💦,最新项目计划、进展请进群或关注 [需求墙](https://continew.top/require.html)[更新日志](https://continew.top/admin/other/changelog.html)
115+
> 更多功能和优化正在赶来💦,最新项目计划、进展请进群或关注 [需求墙](https://continew.top/admin/feature.html)[更新日志](https://continew.top/admin/other/changelog.html)
116116
117117
- 仪表盘:提供工作台、分析页,工作台提供功能快捷导航入口、最新公告、动态;分析页提供全面数据可视化能力
118118
- 个人中心:支持基础信息修改、密码修改、邮箱绑定、手机号绑定(并提供行为验证码、短信限流等安全处理)、第三方账号绑定/解绑、头像裁剪上传
@@ -221,7 +221,7 @@ public class DeptController extends BaseController<DeptService, DeptResp, DeptDe
221221
## 快速开始
222222

223223
> **Note**
224-
> 更详细的流程,请查看在线文档[《快速开始》](https://continew.top/admin/intro/quick-start.html#%E5%89%8D%E7%AB%AF)
224+
> 更详细的流程,请查看在线文档[《快速开始》](https://continew.top/admin/guide/quick-start.html)
225225
226226
```
227227
# 1.克隆本项目
@@ -326,7 +326,7 @@ continew-admin-ui
326326

327327
ContiNew Admin 致力于提供开箱即用,持续舒适的开发体验。作为一个开源项目,Creator 的初心是希望 ContiNew Admin 依托开源协作模式,提升技术透明度、放大集体智慧、共创优秀实践,源源不断地为企业级项目开发提供助力。
328328

329-
我们非常欢迎广大社区用户为 ContiNew Admin **贡献(开发,测试、文档、答疑等)** 或优化代码,欢迎各位感兴趣的小伙伴儿,[添加微信](https://continew.top/support.html) 讨论或认领任务。
329+
我们非常欢迎广大社区用户为 ContiNew Admin **贡献(开发,测试、文档、答疑等)** 或优化代码,欢迎各位感兴趣的小伙伴儿,[添加微信](https://continew.top/discussion.html) 讨论或认领任务。
330330

331331
### 分支说明
332332

config/plugins/app-info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function appInfo(): Plugin {
1111
// eslint-disable-next-line no-console
1212
console.log(
1313
boxen(
14-
`${bold(green(`${bgGreen('ContiNew Admin v3.6.0-SNAPSHOT')}`))}\n${cyan('在线文档:')}${underline('https://continew.top')}\n${cyan('常见问题:')}${underline('https://continew.top/faq.html')}\n${cyan('持续迭代优化的前后端分离中后台管理系统框架。')}`,
14+
`${bold(green(`${bgGreen('ContiNew Admin v3.6.0-SNAPSHOT')}`))}\n${cyan('在线文档:')}${underline('https://continew.top')}\n${cyan('常见问题:')}${underline('https://continew.top/admin/faq.html')}\n${cyan('持续迭代优化的前后端分离中后台管理系统框架。')}`,
1515
{
1616
padding: 1,
1717
margin: 1,

src/views/dashboard/workplace/components/Carousel.vue

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
</template>
2121

2222
<script setup lang="ts">
23-
import axios, { type AxiosRequestConfig, type AxiosResponse } from 'axios'
24-
import qs from 'query-string'
2523
import { isHttp } from '@/utils/validate'
2624
2725
export interface DataItem {
@@ -33,45 +31,34 @@ export interface DataItem {
3331
const images = ref<DataItem[]>([
3432
{
3533
name: '公众号',
36-
img: `https://continew.top/qrcode-text.jpg?${new Date().getTime()}`,
37-
url: 'https://continew.top/about/intro.html',
34+
img: `https://continew.top/images/sponsor/ads/cn-qrcode.jpg?${new Date().getTime()}`,
35+
url: 'https://continew.top/discussion.html',
3836
},
3937
{
4038
name: '赞助',
41-
img: `https://continew.top/sponsor.jpg?${new Date().getTime()}`,
42-
url: 'https://continew.top/sponsor.html',
39+
img: `https://continew.top/images/sponsor/ads/cn-sponsor.jpg?${new Date().getTime()}`,
40+
url: 'https://continew.top/sponsor/',
4341
},
4442
])
4543
46-
const get = <T = unknown>(url: string, params?: object, config?: AxiosRequestConfig): Promise<ApiRes<T>> => {
47-
return new Promise((resolve, reject) => {
48-
axios
49-
.request<T>({
50-
method: 'get',
51-
url,
52-
params,
53-
paramsSerializer: (obj) => {
54-
return qs.stringify(obj)
55-
},
56-
...config,
57-
})
58-
.then((res: AxiosResponse) => resolve(res.data))
59-
.catch((err: { msg: string }) => reject(err))
60-
})
61-
}
62-
6344
const dataList = ref<DataItem[]>([])
6445
const loading = ref(false)
6546
// 查询列表数据
6647
const getDataList = async () => {
6748
try {
6849
loading.value = true
69-
const { data } = await get('https://api.charles7c.top/sponsor/platinum')
50+
const base = `https://continew.top`
51+
const data = await (await fetch(`${base}/sponsor.json`)).json()
7052
if (data) {
71-
data.forEach((item) => {
53+
// 只获取 special 和 platinum 赞助者
54+
const sponsors = [...data.special, data.platinum]
55+
sponsors.forEach((item) => {
56+
if (!item.name) {
57+
return
58+
}
7259
dataList.value.push({
7360
name: item.name,
74-
img: isHttp(item.img) ? item.img : `https://continew.top${item.img}`,
61+
img: isHttp(item.img) ? item.img : `${base}/images/sponsor/ads/${item.img}`,
7562
url: item.url,
7663
})
7764
})

src/views/dashboard/workplace/components/Docs.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525

2626
<script setup lang="ts">
2727
const links = [
28-
{ text: '项目简介', url: 'https://continew.top/admin/intro/what-is.html' },
29-
{ text: '快速开始', url: 'https://continew.top/admin/intro/quick-start.html' },
30-
{ text: '常见问题', url: 'https://continew.top/faq.html' },
28+
{ text: '项目简介', url: 'https://continew.top/admin/guide/introduction.html' },
29+
{ text: '快速开始', url: 'https://continew.top/admin/guide/quick-start.html' },
30+
{ text: '常见问题', url: 'https://continew.top/admin/faq.html' },
3131
{ text: '更新日志', url: 'https://continew.top/admin/other/changelog.html' },
32-
{ text: '贡献指南', url: 'https://continew.top/admin/other/contributing.html' },
33-
{ text: '赞助支持 💖', url: 'https://continew.top/sponsor.html' },
32+
{ text: '贡献指南', url: 'https://continew.top/about/contributing.html' },
33+
{ text: '赞助支持 💖', url: 'https://continew.top/sponsor/' },
3434
]
3535
</script>
3636

0 commit comments

Comments
 (0)