From dadedc2a5bcf0ffb9456e30468ed2757a77a9104 Mon Sep 17 00:00:00 2001 From: ShawnPhang Date: Thu, 7 Sep 2023 22:33:54 +0800 Subject: [PATCH] docs: change domain --- README.md | 14 +++++++------- src/components/modules/widgets/wQrcode/wQrcode.vue | 2 +- src/store/modules/base/index.ts | 6 +++--- src/views/Index.vue | 2 +- src/views/Psd.vue | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9439581..6adbc68 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -**[在线体验](https://design.palxp.com/)** | **[中文文档网站](https://xp.palxp.com/)** | [架构及目录说明](https://xp.palxp.com/#/articles/1689321259854) +**[在线体验](https://design.palxp.com/)** | **[中文文档网站](https://xp.palxp.cn/)** | [架构及目录说明](https://xp.palxp.cn/#/articles/1689321259854) --- @@ -8,7 +8,7 @@ 适用于海报图片生成、电商分享图、文章长图、视频/公众号封面等多种场景。 -![](https://xp.palxp.com/images/2023-7-16-1689500112694.gif) +![](https://xp.palxp.cn/images/2023-7-16-1689500112694.gif) - 丝滑的操作体验,丰富的交互细节,基础功能完善 - 采用服务端生成图片,确保多端出图统一性,支持各种 CSS 特性 @@ -54,7 +54,7 @@ npm run serve > 将会同时运行前端界面与图片生成服务(`3000`端口为前端项目,`7001`端口为图片生成服务): > -> ![](https://xp.palxp.com/images/2023-7-16-1689498291322.png) +> ![](https://xp.palxp.cn/images/2023-7-16-1689498291322.png) > 如果你本地没有成功启动两个服务,可能是 win 系统不兼容,手动进 `screenshot` 目录安装依赖(`npm install`)并启动服务(`npm run dev`) > 或者使用 VSCode 自带的终端来运行命令,不要使用 CMD。 @@ -68,17 +68,17 @@ npm run serve ### 截图服务 -代码位于 [screenshots/](https://github.com/palxiao/poster-design/tree/main/screenshot) 目录下,查看[接口 API 文档](https://xp.palxp.com/apidoc/screenshot.html)。 +代码位于 [screenshots/](https://github.com/palxiao/poster-design/tree/main/screenshot) 目录下,查看[接口 API 文档](https://xp.palxp.cn/apidoc/screenshot.html)。 > 打包注意事项与服务器配置相关请进入该目录下查看 README 文件说明。 ### 截图服务 Docker 部署 -可以通过 Docker 运行一个带 Linux 浏览器的容器,[参考说明](https://xp.palxp.com/#/articles/1689319644311?id=docker%e5%ae%b9%e5%99%a8)。 +可以通过 Docker 运行一个带 Linux 浏览器的容器,[参考说明](https://xp.palxp.cn/#/articles/1689319644311?id=docker%e5%ae%b9%e5%99%a8)。 ### 服务端 -根据你的具体场景自行实现,目前本项目中的所有后端接口可参考:[接口 API 文档](https://xp.palxp.com/apidoc/index.html)。 +根据你的具体场景自行实现,目前本项目中的所有后端接口可参考:[接口 API 文档](https://xp.palxp.cn/apidoc/index.html)。 ### 抠图服务部署 @@ -114,7 +114,7 @@ A:考虑到服务端的开发语言、数据库类型都可能不尽相同, 目前本项目也还在不断迭代中,有很多的不足之处,我也是一边学习一边成长。开源不易,希望看到这里的你可以给本项目点个 **Star** 支持一下~ 感谢! -[后续部分迭代计划记录](https://xp.palxp.com/#/articles/1689319986889?id=%e8%bf%ad%e4%bb%a3%e8%ae%a1%e5%88%92) +[后续部分迭代计划记录](https://xp.palxp.cn/#/articles/1689319986889?id=%e8%bf%ad%e4%bb%a3%e8%ae%a1%e5%88%92) ### LICENSE diff --git a/src/components/modules/widgets/wQrcode/wQrcode.vue b/src/components/modules/widgets/wQrcode/wQrcode.vue index 9f8543e..849eb26 100644 --- a/src/components/modules/widgets/wQrcode/wQrcode.vue +++ b/src/components/modules/widgets/wQrcode/wQrcode.vue @@ -52,7 +52,7 @@ export default { dotRotation: 270, dotColor: '#35495E', dotColor2: '#35495E', - value: 'https://xp.palxp.com', + value: 'https://xp.palxp.cn', setting: [], record: { width: 0, diff --git a/src/store/modules/base/index.ts b/src/store/modules/base/index.ts index a20b226..bfa069c 100644 --- a/src/store/modules/base/index.ts +++ b/src/store/modules/base/index.ts @@ -2,8 +2,8 @@ * @Author: ShawnPhang * @Date: 2021-12-16 16:20:16 * @Description: - * @LastEditors: ShawnPhang - * @LastEditTime: 2023-07-13 18:29:57 + * @LastEditors: ShawnPhang + * @LastEditTime: 2023-09-07 17:40:32 */ import mutations from './mutations' import actions from './actions' @@ -39,7 +39,7 @@ const all = { return state.fonts }, app: async (state: Type.Object) => { - !state.app && (state.app = await client('https://kt.palxp.com')) + !state.app && (state.app = await client('https://res.palxp.cn:5001')) return state.app }, }, diff --git a/src/views/Index.vue b/src/views/Index.vue index 148e8c0..1168ebf 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -88,7 +88,7 @@ export default defineComponent({ function jump2home() { // const fullPath = window.location.href.split('/') // window.open(fullPath[0] + '//' + fullPath[2]) - window.open('https://xp.palxp.com/') + window.open('https://xp.palxp.cn/') } return { ...toRefs(state), diff --git a/src/views/Psd.vue b/src/views/Psd.vue index 2649252..bf71279 100644 --- a/src/views/Psd.vue +++ b/src/views/Psd.vue @@ -2,8 +2,8 @@ * @Author: ShawnPhang * @Date: 2022-01-10 14:57:53 * @Description: Psd文件解析 - * @LastEditors: ShawnPhang - * @LastEditTime: 2023-07-25 15:56:22 + * @LastEditors: ShawnPhang + * @LastEditTime: 2023-09-07 22:32:24 -->