基于Java spring + vue3 + nuxt构建的内容管理系统
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.
 
 
 

35 lines
1.2 KiB

<template>
<div class="h-[100px]"></div>
<div class="text-center bg-gray-50 py-10">
本网站为小象CMS演示站提供的电视剧和电影资源均系收集于各大视频网站<br />
若本站收录的节目无意侵犯了贵司版权,请给我们留言,我们会及时逐步删除和规避程序自动搜索采集到的不提供分享的版权影视<br />
本站仅供测试和学习交流请大家支持正版
</div>
<footer class="text-center py-10">
Copyright {{ new Date().getFullYear() }} {{ config?.siteName }} Inc. All Rights Reserved.
<a href="https://beian.miit.gov.cn/" target="_blank" class="ml-10"> 备案号{{ config?.icpNo }}</a>
<a class="ml-3 cursor-pointer" @click="reload">刷新</a>
</footer>
</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>