From d1f3f79ca56705f8e0ac30edac60dc244e0008b9 Mon Sep 17 00:00:00 2001 From: jackyu66git Date: Tue, 25 Aug 2026 04:01:10 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=84=88?= =?UTF-8?q?=E5=BF=83=E9=AD=94=E6=96=B9=E9=A1=B5=E5=90=8C=E7=BA=A7=20cover-?= =?UTF-8?q?view=EF=BC=8C=E9=A1=B6=E6=A0=8F=E4=BB=85=E7=94=A8=20image=20log?= =?UTF-8?q?o=EF=BC=88202608280=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- pages/yxg-magic/index.vue | 16 ---------------- util/yxgConfig.js | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/pages/yxg-magic/index.vue b/pages/yxg-magic/index.vue index 796c349..752380e 100644 --- a/pages/yxg-magic/index.vue +++ b/pages/yxg-magic/index.vue @@ -3,14 +3,12 @@ - - - - - - - @@ -69,15 +57,11 @@ const headH = statusBarH + navBarH const webviewH = windowH - headH const logoH = Math.min(menuH, 30) const logoW = Math.min(Math.round((logoH * 598) / 130), Math.floor(screenW * 0.4)) -const logoLeft = Math.floor((screenW - logoW) / 2) -const logoTop = Math.floor((navBarH - logoH) / 2) const navBarStyle = `height:${headH}px;padding-top:${statusBarH}px;box-sizing:border-box;` const navRowStyle = `height:${navBarH}px;` const logoStyle = `width:${logoW}px;height:${logoH}px;` const webviewStyle = `top:${headH}px;height:${webviewH}px;` -const logoCoverStyle = `position:fixed;top:${statusBarH}px;left:0;width:${screenW}px;height:${navBarH}px;z-index:9999;` -const coverLogoStyle = `position:absolute;left:${logoLeft}px;top:${logoTop}px;width:${logoW}px;height:${logoH}px;` const h5Url = computed( () => diff --git a/util/yxgConfig.js b/util/yxgConfig.js index b6f5427..7847356 100644 --- a/util/yxgConfig.js +++ b/util/yxgConfig.js @@ -2,7 +2,7 @@ import { LOCAL_H5_HOST, USE_LOCAL_H5 } from './yxgConfig.local.js' const PROD_BASE = 'https://h5.yuxingu.com.cn/psy/' -const PROD_VERSION = '202608279' +const PROD_VERSION = '202608280' /** 愈心魔方顶栏 logo(小程序包内 static,不请求外网) */ export const YXG_MP_LOGO_URL = '/static/n-main/yxg-brand-logo.png'