diff --git a/src/Layout/footer/index.vue b/src/Layout/footer/index.vue index 84b9185..b6c1707 100644 --- a/src/Layout/footer/index.vue +++ b/src/Layout/footer/index.vue @@ -1,6 +1,17 @@ @@ -18,8 +29,32 @@ import {} from 'vue' background: url('../../assets//images/footer.png') no-repeat; background-size: cover; display: flex; + flex-direction: column; align-items: center; - justify-content: center; - color: #000; + // justify-content: center; + color: #333333; + .footer-nav { + display: flex; + margin-top: 120px; + .item { + width: 180px; + text-align: center; + font-size: 18px; + cursor: pointer; + } + .item:nth-child(2) { + border-left: 1px solid #333333; + border-right: 1px solid #333333; + } + .item:hover { + color: #0bd7c6; + } + } + .copyright{ + margin-top: 80px; + } + .report{ + margin-top: .1042rem; + } } diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 9911359..0842f20 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -30,18 +30,18 @@
-
竞赛导航
+
新闻资讯
30+项目登陆后报名
- 全部 + {{ item }}
@@ -76,6 +76,8 @@ import { ElLoading } from 'element-plus' const router = useRouter() const reacProjectList = ref([]) const isLoading = ref(false) + +const News =ref(['全部','通知公告','赛事资讯','活动速递','政策文件']) const getRaceProjectListEvent = async () => { let page = { column: 'createTime', @@ -97,7 +99,7 @@ const getRaceProjectListEvent = async () => { loading.close() } getRaceProjectListEvent() -const active = ref(1) +const active = ref(0) const setImageUrl = (url: string) => { return import.meta.env.VITE_APP_BASE_API + url }