|
@@ -3,7 +3,7 @@ import Carousel from "ant-design-vue/lib/carousel"; // 加载 JS
|
|
|
import "ant-design-vue/lib/carousel/style/css"; // 加载 CSS
|
|
|
// import type { RouteLocationRaw } from "vue-router";
|
|
|
import { useRouter } from "vue-router";
|
|
|
-import title from "~/assets/home/grb2.jpg";
|
|
|
+import title from "~/assets/home/grb3.png";
|
|
|
import icon6_1 from "~/assets/home/icon-6_1@2x.png";
|
|
|
import icon6_2 from "~/assets/home/icon-6@2x.png";
|
|
|
const router = useRouter();
|
|
@@ -62,7 +62,7 @@ async function carouselData() {
|
|
|
});
|
|
|
}
|
|
|
if (item.nic_id == "7") {
|
|
|
- tzggList.push({ content: item.ni_content });
|
|
|
+ tzggList.push({ content: item.ni_content, title: item.ni_title });
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -80,13 +80,13 @@ function showVideo(video) {
|
|
|
<div>
|
|
|
<div class="w-full flex items-center w-full relative min-h-134px mb-30px">
|
|
|
<img :src="title" alt="" class="w-full" />
|
|
|
- <div class="text-white text-16px absolute top-65px left-223px">
|
|
|
+ <div class="text-hex-e3b177 text-16px absolute bottom-22px left-558px">
|
|
|
浏览量:{{ viewNum ? viewNum : 0 }}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="grid grid-cols-2 gap-x-6 h-410px overflow-hidden">
|
|
|
<div class="bg-white p-15px">
|
|
|
- <div class="mb-10px text-20px">视频展示</div>
|
|
|
+ <div class="mb-10px text-20px">优秀学员风采</div>
|
|
|
<Carousel height="350px" class="w-full h-350px" autoplay draggable>
|
|
|
<div v-for="(item, i) in spzsList" :key="i">
|
|
|
<div class="h-312px overflow-hidden">
|
|
@@ -116,10 +116,12 @@ function showVideo(video) {
|
|
|
<Carousel height="350px" class="w-full h-350px" autoplay draggable>
|
|
|
<div v-for="(item, i) in tzggList" :key="i">
|
|
|
<div
|
|
|
- class="h-318px overflow-auto text-18px mb-20px"
|
|
|
+ v-html="item.content"
|
|
|
+ class="h-286px overflow-auto text-18px mb-20px"
|
|
|
style="width: 100%; text-indent: 2em"
|
|
|
- >
|
|
|
- {{ item.content }}
|
|
|
+ ></div>
|
|
|
+ <div class="text-center py-5px">
|
|
|
+ {{ item.title }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</Carousel>
|