<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>
