This commit is contained in:
Ls
2026-04-28 15:53:43 +08:00
parent 2ef5b079c9
commit 2996fa712c
8 changed files with 37 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1009 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

View File

@@ -1,13 +1,13 @@
<template> <template>
<router-link :to="url" :class="_class" > <router-link :to="href" :class="_class">
<slot></slot> <slot></slot>
</router-link> </router-link>
</template> </template>
<script setup> <script setup>
// 1. 定义接收父组件传来的参数 props // 1. 定义接收父组件传来的参数 props
const props = defineProps({ const props = defineProps({
// 字段名、类型、默认值 // 字段名、类型、默认值
url: String, href: String,
_class:String, _class: String,
}) })
</script> </script>

View File

@@ -1,13 +1,12 @@
<template> <template>
<Transition name="page-loading-fade"> <Transition name="page-loading-fade">
<div v-if="appStore.isLoading" class="page-loading" role="status" aria-live="polite" aria-busy="true"> <div v-if="appStore.isLoading" class="page-loading" role="status" aria-live="polite" aria-busy="true">
<div> <div class="gif">
<img src="/images/loading.gif" /> <!-- <van-image round width="6rem" height="8rem" src="/images/logo.png" /> -->
</div> <div style="width: 200px; height: 200px;">
<img src="/images/loading4.gif" />
<div>
加载中...
</div> </div>
</div>
</div> </div>
</Transition> </Transition>
</template> </template>
@@ -31,12 +30,21 @@ const handleImageError = (): void => {
inset: 0; inset: 0;
z-index: 9999; z-index: 9999;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 24px; padding: 24px;
background: #ffffff; background: #ffffff;
} }
.gif {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.page-loading__panel { .page-loading__panel {
width: min(100%, 280px); width: min(100%, 280px);
text-align: center; text-align: center;

View File

@@ -0,0 +1 @@
<template></template>

View File

@@ -1,17 +1,28 @@
<template> <template>
<div> <div>
<div class="content"> <div class="content">
<a class="" href="/">首页</a>&gt;客服 <Abar href="/">首页</Abar>&gt;客服
</div> </div>
<div class="content"> <div class="content">
微信客服<a href="https://work.weixin.qq.com/kfid/kfc86bc348120aea3e7" 微信客服<a href="https://work.weixin.qq.com/kfid/kfc86bc348120aea3e7"
target="_blank">点击咨询</a><br />客服QQ531493955<br />官方QQ群238938639<br />客服邮箱531493955@qq.com<br /> target="_blank">点击咨询</a><br />客服QQ531493955<br />官方QQ群238938639<br />客服邮箱531493955@qq.com<br />
</div> </div>
<a class="" href="/">返回游戏首页</a> <Abar href="/">返回游戏首页</Abar>
</div> </div>
</template> </template>
<script setup> <script setup>
import pageLoading from '~/middleware/page-loading';
definePageMeta({
layout: layout.empty,
middleware: 'page-loading'
})
onMounted(() => {
PageLoading.Close();
})
</script> </script>

View File

@@ -82,7 +82,7 @@
=====服务导航===== =====服务导航=====
</div> </div>
<div class="content"> <div class="content">
<Abar url="/customer">客服</Abar> <Abar href="/customer">客服</Abar>
.<a class="" href="/Index/About?sid=klxy7ADn96CBYGWQ9AG4xPqFC2Ib6Ty1Kx">关于</a>.<a class="" .<a class="" href="/Index/About?sid=klxy7ADn96CBYGWQ9AG4xPqFC2Ib6Ty1Kx">关于</a>.<a class=""
href="/Index/Cooperation?sid=klxy7ADn96CBYGWQ9AG4xPqFC2Ib6Ty1Kx">合作</a> href="/Index/Cooperation?sid=klxy7ADn96CBYGWQ9AG4xPqFC2Ib6Ty1Kx">合作</a>
</div> </div>
@@ -139,7 +139,7 @@ onMounted(async () => {
await Initialize(); await Initialize();
} }
finally { finally {
// PageLoading.Close(); PageLoading.Close();
} }
}) })
</script> </script>