Commit efa4ae59 authored by xhx's avatar xhx

fix:头尾css调整

parent 9ead4031
<template> <template>
<div class="fixed min-w-1200 top-0 w-full z-50 flex justify-center ease-in duration-200" :class="{'bg-white': $route.path !== '/home' || !isTop}"> <div class="fixed top-0 w-full z-50 flex justify-center ease-in duration-200" :class="{'bg-white': $route.path !== '/home' || !isTop, 'min-w-1200': !isMobile}">
<div v-if="!isMobile" class="min-w-1200 h-16 text-footer-color md:w-bodySet flex justify-between items-center ease-in duration-500"> <div v-if="!isMobile" class="min-w-1200 h-16 text-footer-color md:w-bodySet flex justify-between items-center ease-in duration-500">
<div class="flex items-center"> <div class="flex items-center">
<img src="@/assets/images/header/logo.png" alt="logo" width="164"> <img src="@/assets/images/header/logo.png" alt="logo" width="164">
...@@ -118,6 +118,3 @@ export default Vue.extend({ ...@@ -118,6 +118,3 @@ export default Vue.extend({
} }
}) })
</script> </script>
<style scoped>
</style>
\ No newline at end of file
<template> <template>
<div :class="{'ycc_container': !isMobile}"> <div :class="{'ycc_container': !isMobile}">
<!-- <main-header></main-header> --> <main-header></main-header>
<div class="bg-gray-50"> <div class="bg-gray-50">
<keep-alive name="newsLists"> <keep-alive name="newsLists">
<router-view /> <router-view />
</keep-alive> </keep-alive>
</div> </div>
<!-- <main-footer></main-footer> --> <main-footer></main-footer>
</div> </div>
</template> </template>
...@@ -26,8 +26,8 @@ export default Vue.extend({ ...@@ -26,8 +26,8 @@ export default Vue.extend({
} }
}, },
components: { components: {
// "main-header": () => import("./Header.vue"), "main-header": () => import("./Header.vue"),
// "main-footer": () => import("./Footer.vue"), "main-footer": () => import("./Footer.vue"),
} }
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment