Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-fi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-fi
Commits
037b2320
提交
037b2320
authored
10月 28, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
4ecae869
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
51 行增加
和
39 行删除
+51
-39
Brand.vue
src/modules/home/components/Brand.vue
+5
-1
Course.vue
src/modules/home/components/Course.vue
+5
-1
Teacher.vue
src/modules/home/components/Teacher.vue
+6
-1
style.scss
src/modules/home/style.scss
+34
-0
Index.vue
src/modules/home/views/Index.vue
+1
-36
没有找到文件。
src/modules/home/components/Brand.vue
浏览文件 @
037b2320
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<
template
>
<
template
>
<section
class=
"section"
>
<section
class=
"section"
>
<div
class=
"section-title"
><h2>
合作机构
</h2></div>
<div
class=
"section-title"
>
<em
class=
"section-title_dot"
></em>
<h2>
合作机构
</h2>
<em
class=
"section-title_dot"
></em>
</div>
</section>
</section>
</
template
>
</
template
>
...
...
src/modules/home/components/Course.vue
浏览文件 @
037b2320
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<
template
>
<
template
>
<section
class=
"section"
>
<section
class=
"section"
>
<div
class=
"section-title"
><h2>
定制专属类课程
</h2></div>
<div
class=
"section-title"
>
<em
class=
"section-title_dot"
></em>
<h2>
定制专属类课程
</h2>
<em
class=
"section-title_dot"
></em>
</div>
</section>
</section>
</
template
>
</
template
>
...
...
src/modules/home/components/Teacher.vue
浏览文件 @
037b2320
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<
template
>
<
template
>
<section
class=
"section"
id=
"teacher"
>
<section
class=
"section"
id=
"teacher"
>
<div
class=
"section-title"
><h2>
师资团队
</h2></div>
<div
class=
"section-title"
>
<em
class=
"section-title_dot"
></em>
<h2>
师资团队
</h2>
<em
class=
"section-title_dot"
></em>
</div>
</section>
</section>
</
template
>
</
template
>
...
@@ -14,5 +18,6 @@
...
@@ -14,5 +18,6 @@
margin-top
:
80px
;
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
;
}
}
</
style
>
</
style
>
src/modules/home/style.scss
0 → 100644
浏览文件 @
037b2320
.section
{
--section-title-color
:
#333
;
--section-title-dot-bgcolor
:
#aa1941
;
--section-title-dot-border-color
:
#c1ab85
;
}
.section-title
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
padding
:
30px
0
;
h2
{
font-size
:
32px
;
font-weight
:
500
;
line-height
:
1
;
color
:
var
(
--
section-title-color
);
}
.section-title_dot
{
position
:
relative
;
width
:
16px
;
height
:
16px
;
margin
:
0
12px
;
border
:
1px
dashed
var
(
--
section-title-dot-border-color
);
&
:
:
after
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
content
:
''
;
width
:
6px
;
height
:
6px
;
background-color
:
var
(
--
section-title-dot-bgcolor
);
}
}
}
src/modules/home/views/Index.vue
浏览文件 @
037b2320
...
@@ -13,40 +13,5 @@ import Brand from '../components/Brand.vue'
...
@@ -13,40 +13,5 @@ import Brand from '../components/Brand.vue'
</
template
>
</
template
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.section
{
@import
'../style.scss'
;
--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
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论