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.
54 lines
952 B
54 lines
952 B
<template>
|
|
<div class="">
|
|
<NuxtLayout name="default">
|
|
<NuxtLoadingIndicator color="red" />
|
|
<NuxtPage />
|
|
</NuxtLayout>
|
|
</div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import {getSiteInfo} from "~/api/site";
|
|
const siteInfo = useSiteInfo()
|
|
useHead({
|
|
title: '金梦网'
|
|
})
|
|
const themeOverrides = {
|
|
common: {
|
|
primaryColor: "#FC8952",
|
|
primaryColorHover: "#FC8952",
|
|
primaryColorPressed: "#FC8952",
|
|
primaryColorSuppl: "#FC8952",
|
|
},
|
|
Button: {
|
|
textColor: "#FC8952",
|
|
border: "1px solid #FF763B",
|
|
}
|
|
};
|
|
|
|
getSiteInfo().then((res: any) => {
|
|
const data = res
|
|
siteInfo.value = data
|
|
}).catch(err=>{
|
|
console.log(err)
|
|
})
|
|
|
|
</script>
|
|
|
|
<style>
|
|
body{
|
|
background-color: rgba(249, 249, 249, 1);
|
|
}
|
|
.w-1200 {
|
|
width: 1200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
.w-1440{
|
|
width: 1440px;
|
|
margin: 0 auto;
|
|
}
|
|
.header-height{ height: 80px}
|
|
.nav {
|
|
border-bottom: 1px solid rgba(137, 107, 52, 0.15);
|
|
}
|
|
</style>
|