From 2d9ffb03cd405c490f5208f73aeb662468205a06 Mon Sep 17 00:00:00 2001 From: Zy <1448159279@qq.com> Date: Tue, 13 Oct 2026 14:30:33 +0800 Subject: [PATCH] =?UTF-8?q?10/13=20=E5=AF=BC=E8=88=AA=E6=A0=8F=E4=B8=8A?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=B0=8F=E5=8C=BA=E5=90=8D=E7=A7=B0=EF=BC=8C?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/layout/components/Navbar.vue | 17 ++++++++++------ src/views/system/Sdb/SdbCashier/index.vue | 2 +- src/views/system/version/index.vue | 24 ++++++++++++++++------- 4 files changed, 31 insertions(+), 16 deletions(-) diff --git a/.env.development b/.env.development index eaa328f..18f601a 100644 --- a/.env.development +++ b/.env.development @@ -9,9 +9,9 @@ VITE_APP_ENV='development' # 开发环境 VITE_APP_BASE_API='/dev-api' # # 开发环境 接口代理地址 -#VITE_APP_PROXY_API='http://192.168.1.222:8080' +VITE_APP_PROXY_API='http://192.168.0.222:8080' # 开发环境 接口代理地址 -VITE_APP_PROXY_API='http://192.168.0.178:8080' +#VITE_APP_PROXY_API='http://192.168.0.199:8080' # 图片基础地址 VITE_IMG_URL='http://192.168.1.222:8080' diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 014ba1d..cf00d53 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -8,6 +8,7 @@ @toggle-click="toggleSideBar" > +
{{ currentVillageInfo.villageName }}
- + + + @@ -76,6 +81,11 @@ + + + + + @@ -83,7 +93,7 @@ - + @@ -112,7 +122,7 @@ vivo 应用宝 荣耀 - ios + ios @@ -316,13 +326,13 @@ function handleChangePlatform() { form.value.downloadUrl = ''; form.value.channel = ''; if (form.value.platform === 'ios') { - form.value.channel = 'ios'; + form.value.channel = 'phone'; handleChangeChannel(form.value.channel); } - handleGetVersionlast(); + handleGetVersionList(); } -function handleGetVersionlast() { +function handleGetVersionList() { getPastVersion(form.value.platform, form.value.appChannel).then((res) => { getlastVersionlist.value = res.data; form.value.minVersionCode = getlastVersionlist.value[getlastVersionlist.value.length - 1] @@ -338,7 +348,7 @@ const channelUrl = { 'vivo': 'vivomarket://details?id=', 'honor': 'market://details?id=', 'yyb': 'tmast://appdetails?pname=', - 'ios': 'itms-apps://apps.apple.com/cn/app/id' + 'phone': 'itms-apps://apps.apple.com/cn/app/id6785337718' }; function handleChangeChannel(val: string) { form.value.downloadUrl = channelUrl[val];