You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.4 KiB
40 lines
1.4 KiB
<template>
|
|
<div class="h-[100px]"></div>
|
|
<div class="text-center text-red-7 py-10">
|
|
本网站为小象CMS演示站,提供的电视剧和电影资源均系收集于各大视频网站<br />
|
|
若本站收录的节目无意侵犯了贵司版权,请给我们留言,我们会及时逐步删除和规避程序自动搜索采集到的不提供分享的版权影视。<br />
|
|
本站仅供测试和学习交流。请大家支持正版。
|
|
</div>
|
|
<footer>
|
|
<div class="w-full md:w-3/4 m-auto flex justify-between py-10 text-center p-2">
|
|
<div class="text-gray-5 gap-xl flex">
|
|
<span>© {{ new Date().getFullYear() }} {{ config?.copyright }}</span>
|
|
<a class="text-gray-5" href="https://beian.miit.gov.cn/" target="_blank"> 备案号:{{ config?.icpNo }}</a>
|
|
</div>
|
|
<a class="cursor-pointer text-gray-5" @click="reload">刷新</a>
|
|
</div>
|
|
</footer>
|
|
<el-backtop></el-backtop>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
// 请求数据
|
|
import type {Config} from "~/types/config";
|
|
import {useRequest} from "~/composables/useRequest";
|
|
import type {ApiResult} from "~/api";
|
|
|
|
const config = ref<Config>()
|
|
|
|
// 获取数据
|
|
const reload = async () => {
|
|
const { data: fields } = await useRequest<ApiResult<Config>>('/cms/website-field/config', {})
|
|
config.value = fields.value?.data;
|
|
ElMessage.success('刷新成功')
|
|
}
|
|
|
|
reload();
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
|
|
</style>
|