Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-fi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-fi
Commits
c644815c
提交
c644815c
authored
10月 29, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改tab圆角
上级
b8823e5e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
33 行增加
和
15 行删除
+33
-15
ProjectSystem.vue
src/modules/home/components/ProjectSystem.vue
+15
-5
Teacher.vue
src/modules/home/components/Teacher.vue
+18
-10
没有找到文件。
src/modules/home/components/ProjectSystem.vue
浏览文件 @
c644815c
...
@@ -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
;
...
...
src/modules/home/components/Teacher.vue
浏览文件 @
c644815c
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论