This commit is contained in:
dzc committed 2026-08-20 20:35:04 +08:00
1 parent bda66ff5dd
commit 64f0ae59a0
2 files changed
+11 -5

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
# H5:true 时在页面加载 vConsole
# VITE_VCONSOLE=true
VITE_VCONSOLE=false
VITE_VCONSOLE=true
# VITE_VCONSOLE=false
#VITE_ZZD_TRACK_DISABLE=true
#是否是TOC应用
+9 -3
View File
@@ -107,6 +107,9 @@ const jumpByParam = async () => {
try {
const appInfo = await getAppInfo()
const launchParam = getLaunchParam()
console.log("launchParam:", launchParam);
console.log("appInfo:", appInfo);
if (appInfo == APPENV.ZZD) {
const { tryZzdEntryLogin } = await import("@/sheep/utils/request")
@@ -249,8 +252,10 @@ const doModuleJump = (item: any) => {
<view class="w-full h-full flex-col-center px-40rpx">
<tm-sheet v-if="isDevEnv()" :margin="[0]">
<view class="flex-row items-center justify-center flex-wrap">
<view class="w-half flex justify-center py-2 rounded-1" v-for="(item, index) in moduleList" :key="index">
<view class="w-half text-center rounded-1 active:bg-#e8e8e8 duration-200" @tap="doModuleJump(item)">
<view class="w-half flex justify-center py-2 rounded-1" v-for="(item, index) in moduleList"
:key="index">
<view class="w-half text-center rounded-1 active:bg-#e8e8e8 duration-200"
@tap="doModuleJump(item)">
<image class="w-80 h-80 px-2 pt-2" :src="item.iconPath" />
<tm-text font-size="32">{{ item.text }}</tm-text>
</view>
@@ -262,7 +267,8 @@ const doModuleJump = (item: any) => {
<view v-else class="text-center">
<view class="sub-text-30 color-#333 mb-40rpx lh-1.5">{{ bootMessage }}</view>
<view class="second-text-26 color-#999 mb-30rpx">若多次失败,将清除本地登录缓存后重试</view>
<view class="bg-#0094ff color-white! rounded-40rpx py-20rpx px-60rpx inline-block" @tap="doRetry">清除缓存并重试</view>
<view class="bg-#0094ff color-white! rounded-40rpx py-20rpx px-60rpx inline-block" @tap="doRetry">
清除缓存并重试</view>
</view>
</template>
</view>