Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-old
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-old
Commits
9a7e1d31
提交
9a7e1d31
authored
10月 27, 2022
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
38cf41f8
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
60 行增加
和
8 行删除
+60
-8
banner.vue
src/components/home/banner.vue
+60
-8
没有找到文件。
src/components/home/banner.vue
浏览文件 @
9a7e1d31
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-carousel
arrow=
"never"
class=
"banner-swiper"
>
<el-carousel
arrow=
"never"
class=
"banner-swiper"
>
<el-carousel-item
v-for=
"item in bannerList"
:key=
"item.src"
><img
:src=
"item.src"
/></el-carousel-item>
<el-carousel-item
v-for=
"item in bannerList"
:key=
"item.src"
><img
:src=
"item.src"
/></el-carousel-item>
</el-carousel>
</el-carousel>
<router-link
to=
"profession"
>
<
!--
<
router-link
to=
"profession"
>
<div
class=
"cover"
>
<div
class=
"cover"
>
<img
src=
"https://webapp-pub.ezijing.com/project/cuw/banner_top.jpg"
/>
<img
src=
"https://webapp-pub.ezijing.com/project/cuw/banner_top.jpg"
/>
<div
class=
"cover-inner"
>
<div
class=
"cover-inner"
>
...
@@ -14,13 +14,22 @@
...
@@ -14,13 +14,22 @@
</p>
</p>
</div>
</div>
</div>
</div>
</router-link>
</router-link>
-->
<div
class=
"video-box"
v-show=
"isPlaying"
>
<div
class=
"video-box"
v-show=
"isPlaying"
>
<video
ref=
"video"
src=
"https://webapp-pub.ezijing.com/project/cuw/video.mp4"
preload=
"auto"
playsinline
></video>
<video
ref=
"video"
src=
"https://webapp-pub.ezijing.com/project/cuw/video.mp4"
preload=
"auto"
playsinline
></video>
</div>
</div>
<div
class=
"button-group"
>
<div
class=
"intr-content"
>
<!--
<div
class=
"button-item"
><router-link
to=
"profession"
>
了解更多
</router-link></div>
-->
<div
class=
"cover-inner"
>
<div
class=
"button-item button-play"
:class=
"
{ 'is-playing': isPlaying }" @click="togglePlay">学校视频
</div>
<h1>
威斯康星协和大学
</h1>
<h2>
家庭教育硕士
</h2>
<p>
围绕“广义家庭教育”进行教学,从家庭系统的视角深度剖析全部家庭元素以及家庭与社会的关系,从根本上理解并解决家庭的问题。
</p>
</div>
<div
class=
"button-group"
>
<!--
<div
class=
"button-item"
><router-link
to=
"profession"
>
了解更多
</router-link></div>
-->
<div
class=
"button-item button-play"
:class=
"
{ 'is-playing': isPlaying }" @click="togglePlay">学校视频
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -90,11 +99,54 @@ export default {
...
@@ -90,11 +99,54 @@ export default {
object-fit
:
fill
;
object-fit
:
fill
;
}
}
}
}
.button-group
{
.intr-content
{
z-index
:
21
;
position
:
absolute
;
position
:
absolute
;
top
:
60%
;
left
:
100px
;
left
:
100px
;
bottom
:
30%
;
transform
:
translateY
(
-50%
);
z-index
:
11
;
.cover-inner
{
// position: absolute;
// left: 0;
// right: 0;
// top: 0;
// bottom: 0;
// z-index: 11;
// padding: 0 30px;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-end
;
// padding-bottom: 25%;
}
h1
{
font-size
:
36px
;
color
:
#fff
;
font-weight
:
500
;
// text-align: right;
}
h2
{
margin-top
:
16px
;
font-size
:
26px
;
color
:
#faa634
;
font-weight
:
400
;
// text-align: right;
}
p
{
width
:
360px
;
margin-top
:
16px
;
font-size
:
18px
;
color
:
#fff
;
line-height
:
2
;
text-align
:
justify
;
}
}
.button-group
{
margin-top
:
20px
;
z-index
:
21
;
position
:
relative
;
// left: 100px;
// bottom: 30%;
display
:
flex
;
display
:
flex
;
.button-item
{
.button-item
{
width
:
132px
;
width
:
132px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论