提交 4ecae869 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 fb427236
...@@ -30,7 +30,7 @@ function toggleVisible(event: Event) { ...@@ -30,7 +30,7 @@ function toggleVisible(event: Event) {
<li class="tree-item" :class="{ 'is-active': isActive }"> <li class="tree-item" :class="{ 'is-active': isActive }">
<div class="cell" :class="{ bold: isFolder }" @click.capture="toggleVisible"> <div class="cell" :class="{ bold: isFolder }" @click.capture="toggleVisible">
<div class="cell-title"> <div class="cell-title">
<router-link :to="item.path">{{ item.name }}</router-link> <a :href="item.path">{{ item.name }}</a>
</div> </div>
<div class="cell-icon" v-if="isFolder"> <div class="cell-icon" v-if="isFolder">
<i class="el-icon-arrow-up" v-if="isOpen"></i> <i class="el-icon-arrow-up" v-if="isOpen"></i>
......
<script setup></script>
<template>
<section class="section">
<div class="section-title"><h2>合作机构</h2></div>
</section>
</template>
<style lang="scss" scoped>
.section {
position: relative;
max-width: 1200px;
margin: 0 auto;
margin-top: 80px;
margin-bottom: -45px;
background: #fff;
border-radius: 10px;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
</style>
<script setup></script>
<template>
<section class="section">
<div class="section-title"><h2>定制专属类课程</h2></div>
</section>
</template>
<style lang="scss" scoped>
.section {
position: relative;
max-width: 1200px;
margin: 0 auto;
margin-top: 80px;
}
</style>
<script setup></script>
<template>
<section class="section" id="teacher">
<div class="section-title"><h2>师资团队</h2></div>
</section>
</template>
<style lang="scss" scoped>
.section {
position: relative;
max-width: 1200px;
margin: 0 auto;
margin-top: 80px;
--section-title-color: #fff;
--section-title-dot-bgcolor: #fff;
}
</style>
<script setup lang="ts"> <script setup lang="ts">
import Banner from '../components/Banner.vue' import Banner from '../components/Banner.vue'
import Teacher from '../components/Teacher.vue'
import Course from '../components/Course.vue'
import Brand from '../components/Brand.vue'
</script> </script>
<template> <template>
<Banner></Banner> <Banner></Banner>
<Teacher></Teacher>
<Course></Course>
<Brand></Brand>
</template> </template>
<style lang="scss">
.section {
--section-title-color: #333;
--section-title-dot-bgcolor: #aa1941;
}
.section-title {
display: flex;
align-items: center;
justify-content: center;
padding: 30px 0;
h2 {
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
font-weight: 500;
line-height: 1;
color: var(--section-title-color);
&::after {
display: inline-block;
content: '';
width: 6px;
height: 6px;
margin: 0 12px;
background-color: var(--section-title-dot-bgcolor);
}
&::before {
display: inline-block;
content: '';
width: 6px;
height: 6px;
margin: 0 12px;
background-color: var(--section-title-dot-bgcolor);
}
}
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论