提交 c644815c authored 作者: matian's avatar matian

修改tab圆角

上级 b8823e5e
...@@ -225,7 +225,7 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [ ...@@ -225,7 +225,7 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
.con_content { .con_content {
width: 1200px; width: 1200px;
margin: auto; margin: auto;
padding:59px 0 126px 0; padding: 59px 0 126px 0;
:deep(.my-tabs) { :deep(.my-tabs) {
.el-tabs__active-bar, .el-tabs__active-bar,
.el-tabs__nav-wrap::after { .el-tabs__nav-wrap::after {
...@@ -238,8 +238,9 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [ ...@@ -238,8 +238,9 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border: 1px solid #e6e6e6; border: 1px solid #e6e6e6;
border-radius: 6px;
} }
.el-tabs__content{ .el-tabs__content {
overflow: inherit; overflow: inherit;
} }
.el-tabs__nav-scroll { .el-tabs__nav-scroll {
...@@ -247,7 +248,16 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [ ...@@ -247,7 +248,16 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
#tab-0 {
border-radius: 6px 0 0 6px;
}
#tab-1 {
border-radius: 0;
}
#tab-2 {
border-radius: 0 6px 6px 0;
}
.el-tabs__item { .el-tabs__item {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -296,8 +306,8 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [ ...@@ -296,8 +306,8 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
grid-column-gap: 30px; grid-column-gap: 30px;
.main_list { .main_list {
background: rgba(255,255,255,0.39); background: rgba(255, 255, 255, 0.39);
box-shadow: 0px 3px 6px rgba(0,0,0,0.16); box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
padding: 21px 16px 16px 16px; padding: 21px 16px 16px 16px;
.list_img1 { .list_img1 {
width: 350px; width: 350px;
......
...@@ -96,7 +96,8 @@ function next(swiper) { ...@@ -96,7 +96,8 @@ function next(swiper) {
:slidesPerView="4" :slidesPerView="4"
:spaceBetween="20" :spaceBetween="20"
:modules="[Navigation]" :modules="[Navigation]"
@swiper="swiper => (swiper1 = swiper)"> @swiper="swiper => (swiper1 = swiper)"
>
<SwiperSlide v-for="(item, index) in list" :key="index" class="teacher-item"> <SwiperSlide v-for="(item, index) in list" :key="index" class="teacher-item">
<img :src="item.avatar" /> <img :src="item.avatar" />
<h3>{{ item.name }}</h3> <h3>{{ item.name }}</h3>
...@@ -116,7 +117,8 @@ function next(swiper) { ...@@ -116,7 +117,8 @@ function next(swiper) {
:slidesPerView="4" :slidesPerView="4"
:spaceBetween="20" :spaceBetween="20"
:modules="[Navigation]" :modules="[Navigation]"
@swiper="swiper => (swiper2 = swiper)"> @swiper="swiper => (swiper2 = swiper)"
>
<SwiperSlide v-for="(item, index) in list2" :key="index" class="teacher-item1"> <SwiperSlide v-for="(item, index) in list2" :key="index" class="teacher-item1">
<!-- <img :src="item.avatar" /> --> <!-- <img :src="item.avatar" /> -->
<h3>{{ item.name }}</h3> <h3>{{ item.name }}</h3>
...@@ -134,11 +136,10 @@ function next(swiper) { ...@@ -134,11 +136,10 @@ function next(swiper) {
<style lang="scss" scoped> <style lang="scss" scoped>
.section { .section {
// margin-top: 80px;
--section-title-color: #fff; --section-title-color: #fff;
--section-title-dot-bgcolor: #fff; --section-title-dot-bgcolor: #fff;
--section-title-dot-border-color: #fff; --section-title-dot-border-color: #fff;
background: url('https://webapp-pub.ezijing.com/project_online/fi/teacher_bg.jpg') no-repeat center top; background: url('https://webapp-pub.ezijing.com/project_online/fi/teacher_bg.jpg') no-repeat center / 100% 100%;
} }
.section-title { .section-title {
padding-bottom: 0; padding-bottom: 0;
...@@ -217,7 +218,7 @@ function next(swiper) { ...@@ -217,7 +218,7 @@ function next(swiper) {
margin-top: 10px; margin-top: 10px;
} }
} }
.teacher-item1{ .teacher-item1 {
width: 267px; width: 267px;
height: 208px; height: 208px;
background-color: #fff; background-color: #fff;
...@@ -225,17 +226,24 @@ function next(swiper) { ...@@ -225,17 +226,24 @@ function next(swiper) {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding-top:32px; padding-top: 32px;
box-sizing: border-box; box-sizing: border-box;
ol{ h3 {
margin-top:29px; font-size: 18px;
li{ font-weight: 500;
line-height: 1;
color: #333;
text-align: center;
}
ol {
margin-top: 29px;
li {
position: relative; position: relative;
margin: 0 29px; margin: 0 29px;
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 24px;
color: #535353; color: #535353;
&::before { &::before {
content: ''; content: '';
position: absolute; position: absolute;
left: -10px; left: -10px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论