Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-fi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-fi
Commits
4ecae869
提交
4ecae869
authored
10月 28, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
fb427236
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
100 行增加
和
1 行删除
+100
-1
TreeItem.vue
src/components/layout/TreeItem.vue
+1
-1
Brand.vue
src/modules/home/components/Brand.vue
+20
-0
Course.vue
src/modules/home/components/Course.vue
+16
-0
Teacher.vue
src/modules/home/components/Teacher.vue
+18
-0
Index.vue
src/modules/home/views/Index.vue
+45
-0
没有找到文件。
src/components/layout/TreeItem.vue
浏览文件 @
4ecae869
...
...
@@ -30,7 +30,7 @@ function toggleVisible(event: Event) {
<li
class=
"tree-item"
:class=
"
{ 'is-active': isActive }">
<div
class=
"cell"
:class=
"
{ bold: isFolder }" @click.capture="toggleVisible">
<div
class=
"cell-title"
>
<
router-link
:to=
"item.path"
>
{{
item
.
name
}}
</router-link
>
<
a
:href=
"item.path"
>
{{
item
.
name
}}
</a
>
</div>
<div
class=
"cell-icon"
v-if=
"isFolder"
>
<i
class=
"el-icon-arrow-up"
v-if=
"isOpen"
></i>
...
...
src/modules/home/components/Brand.vue
0 → 100644
浏览文件 @
4ecae869
<
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
>
src/modules/home/components/Course.vue
0 → 100644
浏览文件 @
4ecae869
<
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
>
src/modules/home/components/Teacher.vue
0 → 100644
浏览文件 @
4ecae869
<
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
>
src/modules/home/views/Index.vue
浏览文件 @
4ecae869
<
script
setup
lang=
"ts"
>
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
>
<
template
>
<Banner></Banner>
<Teacher></Teacher>
<Course></Course>
<Brand></Brand>
</
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论