Skip to content

Commit

Permalink
官方url修改
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyunleo committed Nov 15, 2024
1 parent f24913d commit 3b7fecc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## EServer | [中文](https://github.com/xianyunleo/EServer/blob/master/README_zh.md)
### A GUI software for Windows and Mac platforms that integrates Nginx, PHP, MySQL, Redis and other servers.

## doc:www.eserver.app/doc
## doc:eserver.phpenv.cn/doc

### The predecessor of this software is phpEnv ,www.phpenv.cn

Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## EServer | [English](https://github.com/xianyunleo/EServer/blob/master/README.md)
### Windows Mac平台下的一款集成Nginx、PHP、MySQL、Redis等服务的GUI集成环境

## 文档:www.eserver.app/doc
## 文档:eserver.phpenv.cn/doc

### 本软件的前身是 phpEnv ,www.phpenv.cn
![主界面](https://github.com/xianyunleo/EServer/raw/master/screenshots/home.png)
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/components/TitleBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ import { ref } from 'vue'
import Native from '@/main/utils/Native'
import { t } from '@/renderer/utils/i18n'
import { isWindows } from '@/main/utils/utils'
import { OFFICIAL_URL } from '@/shared/utils/constant'
const call = window.api.call
const isWindowMax = ref(false)
const minimizeIsHover = ref(false)
const clickUrl = () => {
Native.openUrl('http://www.eserver.app')
Native.openUrl(OFFICIAL_URL)
}
const minimizeClick = () => {
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/views/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<p style="text-align: center; font-size: 18px; margin-top: 50px">{{ APP_NAME }}</p>
<p style="text-align: center">{{ $t('Version') }}:{{ version }}</p>
<p style="text-align: center">
{{ t('OfficialSite') }}:<a @click="openUrl('http://www.eserver.app')">www.eserver.app</a>
{{ t('OfficialSite') }}:<a @click="openUrl(OFFICIAL_URL)">{{ OFFICIAL_HOST }}</a>
</p>
<p style="text-align: center">
{{ t('Doc') }}:<a @click="openUrl('http://www.eserver.app/doc')">www.eserver.app/doc</a>
{{ t('Doc') }}:<a @click="openUrl(`${OFFICIAL_URL}/doc`)">{{ `${OFFICIAL_HOST}/doc` }}</a>
</p>
<p style="text-align: center">
Github:<a @click="openUrl('http://github.com/xianyunleo/EServer')"
Expand All @@ -17,7 +17,7 @@
</template>

<script setup>
import { APP_NAME } from '@/shared/utils/constant'
import { APP_NAME, OFFICIAL_HOST, OFFICIAL_URL } from '@/shared/utils/constant'
import Native from '@/main/utils/Native'
import { t } from '@/renderer/utils/i18n'
import {onMounted, ref} from 'vue'
Expand Down
4 changes: 3 additions & 1 deletion src/shared/utils/constant.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export const APP_NAME = 'EServer'
export const DOWNLOAD_URL = 'http://dl.eserver.app'
export const OFFICIAL_HOST = 'eserver.phpenv.cn'
export const OFFICIAL_URL = `http://${OFFICIAL_HOST}`
export const DOWNLOAD_URL = 'http://dl.eserver.phpenv.cn'

export const colorConst = {
light: {
Expand Down

0 comments on commit 3b7fecc

Please sign in to comment.