提交
This commit is contained in:
BIN
Web/public/images/loading2.gif
Normal file
BIN
Web/public/images/loading2.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 MiB |
BIN
Web/public/images/loading3.gif
Normal file
BIN
Web/public/images/loading3.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1009 KiB |
BIN
Web/public/images/loading4.gif
Normal file
BIN
Web/public/images/loading4.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 519 KiB |
@@ -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>
|
||||||
@@ -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;
|
||||||
|
|||||||
1
Web/src/components/Pagination.vue
Normal file
1
Web/src/components/Pagination.vue
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<template></template>
|
||||||
@@ -1,17 +1,28 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<a class="" href="/">首页</a>>客服
|
<Abar href="/">首页</Abar>>客服
|
||||||
</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 />客服QQ:531493955<br />官方QQ群:238938639<br />客服邮箱:531493955@qq.com<br />
|
target="_blank">点击咨询</a><br />客服QQ:531493955<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>
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user