提交 477feca7 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 首页显示公开课

上级 ff5c5d7d
<template> <template>
<AppCard :title="$t('home.openLesson.title')" class="home-class"> <AppCard :title="$t('home.openLesson.title')" class="home-class">
<template #title>
<nuxt-link to="/about/lesson">{{ $t('home.openLesson.title') }}</nuxt-link>
</template>
<template #header-aside> <template #header-aside>
<nuxt-link to="/about/lesson">{{ $t('viewMore') }}</nuxt-link> <nuxt-link to="/about/lesson">{{ $t('viewMore') }}</nuxt-link>
</template> </template>
...@@ -132,13 +135,14 @@ export default { ...@@ -132,13 +135,14 @@ export default {
flex-direction: column; flex-direction: column;
width: 600px; width: 600px;
padding: 79px 30px 64px 0; padding: 79px 30px 64px 0;
li + li {
margin-top: 33px;
}
li { li {
width: 568px; width: 568px;
height: 84px; height: 84px;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
margin-bottom: 33px;
.main_content { .main_content {
display: flex; display: flex;
...@@ -156,13 +160,13 @@ export default { ...@@ -156,13 +160,13 @@ export default {
align-items: center; align-items: center;
.date { .date {
font-size: 26px; font-size: 20px;
font-weight: normal; font-weight: normal;
color: #999999; color: #999999;
opacity: 0.8; opacity: 0.8;
} }
.year { .year {
font-size: 24px; font-size: 16px;
font-weight: normal; font-weight: normal;
color: #999999; color: #999999;
opacity: 0.8; opacity: 0.8;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<!-- 校友故事 --> <!-- 校友故事 -->
<alumni-stories /> <alumni-stories />
<!-- 公开课 --> <!-- 公开课 -->
<!-- <open-class /> --> <open-class />
</div> </div>
</template> </template>
...@@ -36,7 +36,7 @@ import educationServices from '../components/home/educationServices' ...@@ -36,7 +36,7 @@ import educationServices from '../components/home/educationServices'
import projectNotice from '../components/home/projectNotice' import projectNotice from '../components/home/projectNotice'
import headmasterMsg from '../components/home/headmasterMsg' import headmasterMsg from '../components/home/headmasterMsg'
import alumniStories from '../components/home/alumniStories' import alumniStories from '../components/home/alumniStories'
// import openClass from '../components/home/openClass' import openClass from '../components/home/openClass'
import serviceCase from '../components/home/serviceCase' import serviceCase from '../components/home/serviceCase'
import industrialCollege from '../components/home/industrialCollege' import industrialCollege from '../components/home/industrialCollege'
import onlineEdu from '../components/home/onlineEdu' import onlineEdu from '../components/home/onlineEdu'
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
projectNotice, projectNotice,
headmasterMsg, headmasterMsg,
alumniStories, alumniStories,
// openClass, openClass,
serviceCase, serviceCase,
industrialCollege, industrialCollege,
onlineEdu, onlineEdu,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论