|
|
|
@ -12,8 +12,7 @@
|
|
|
|
|
<swiper-vue /> |
|
|
|
|
</div> |
|
|
|
|
<div |
|
|
|
|
class="w-full pt-[.4rem] pb-[.7rem] bg-gray-100 flex flex-col items-center" |
|
|
|
|
> |
|
|
|
|
class="w-full pt-[.4rem] pb-[.7rem] bg-gray-100 flex flex-col items-center"> |
|
|
|
|
<div class="w-[13rem] bg-white py-[.2rem] px-[.5rem] mb-[.2rem]"> |
|
|
|
|
<list-title-vue cn-title="通知公告" :type="1" url="/notice" /> |
|
|
|
|
<div class="w-full flex py-[.4rem] -mx-[.12rem]"> |
|
|
|
@ -96,15 +95,17 @@ import imageListItemVue from "@/components/list/imageListItem.vue";
|
|
|
|
|
import rankingVue from "@/components/ranking.vue"; |
|
|
|
|
import { getNewsPage } from "@/api/news"; |
|
|
|
|
import { getCoursePageIndex } from "@/api/course"; |
|
|
|
|
import { ref } from "vue"; |
|
|
|
|
import { ref ,onMounted } from "vue"; |
|
|
|
|
import { useRouter } from "vue-router"; |
|
|
|
|
import Ranking from "@/components/user-center/ranking.vue"; |
|
|
|
|
const router = useRouter(); |
|
|
|
|
|
|
|
|
|
const height=ref(1000) |
|
|
|
|
const toNews = (id: number) => { |
|
|
|
|
router.push({ path: "/news/item", query: { id } }); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const dynamicStyle=ref({ |
|
|
|
|
height:'3000px', |
|
|
|
|
}) |
|
|
|
|
const toCourse = (id: number) => { |
|
|
|
|
router.push({ path: "/course/item", query: { id } }); |
|
|
|
|
}; |
|
|
|
|