Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
f922c3e2
提交
f922c3e2
authored
1月 27, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/marywood-plus' into marywood-plus
上级
77f68260
5406311b
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
56 行增加
和
31 行删除
+56
-31
school3.vue
pages/school/school3.vue
+56
-31
没有找到文件。
pages/school/school3.vue
浏览文件 @
f922c3e2
...
@@ -85,34 +85,35 @@
...
@@ -85,34 +85,35 @@
</div>
</div>
<div
class=
"h5-content"
>
<div
class=
"h5-content"
>
<div
class=
"h5-title"
>
玛丽伍德大学介绍
</div>
<div
class=
"h5-title"
>
玛丽伍德大学介绍
</div>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img1.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img1.png"
alt=
""
/
>
<div
class=
"h5-title m-t-10"
>
专业介绍
</div>
<div
class=
"h5-title m-t-10"
>
专业介绍
</div>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img2.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img2.png"
alt=
""
/
>
<div
class=
"h5-title m-t-10"
>
合作院校
</div>
<div
class=
"h5-title m-t-10"
>
合作院校
</div>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img3.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img3.png"
alt=
""
/
>
<div
class=
"h5-title m-t-10"
>
申请条件
</div>
<div
class=
"h5-title m-t-10"
>
申请条件
</div>
<div
class=
"h5-list"
>
<div
class=
"h5-list"
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img4.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img4.png"
alt=
""
/
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img5.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img5.png"
alt=
""
/
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img6.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img6.png"
alt=
""
/
>
</div>
</div>
<div
class=
"h5-title m-t-10"
>
学制安排
</div>
<div
class=
"h5-title m-t-10"
>
学制安排
</div>
<div
class=
"img-list"
>
<div
class=
"img-list"
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg1.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg1.png"
alt=
""
/
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg2.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg2.png"
alt=
""
/
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg3.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg3.png"
alt=
""
/
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg4.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-nimg4.png"
alt=
""
/
>
</div>
</div>
<div
class=
"h5-title m-t-10"
>
课程设置
</div>
<div
class=
"h5-title m-t-10"
>
课程设置
</div>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img7.png"
alt=
""
>
<img
src=
"https://webapp-pub.ezijing.com/project/marywood/h5/school-img7.png"
alt=
""
/
>
<div
class=
"h5-title m-t-10"
>
校园风光
</div>
<div
class=
"h5-title m-t-10"
>
校园风光
</div>
<div
class=
"swiper-content"
@
mouseenter=
"swiperStop"
@
mouseleave=
"swiperStart"
>
<div
class=
"swiper-content"
@
mouseenter=
"swiperStop"
@
mouseleave=
"swiperStart"
>
<div
v-swiper:mySwiper=
"swiperOption"
ref=
"mySwiper"
>
<div
v-swiper:mySwiper=
"swiperOption
2
"
ref=
"mySwiper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
v-for=
"(item, index) in listDataH5"
:key=
"index"
>
<div
class=
"swiper-slide"
v-for=
"(item, index) in listDataH5"
:key=
"index"
>
<img
:src=
"item.web_img_uri"
/>
<img
:src=
"item.web_img_uri"
/>
</div>
</div>
</div>
</div>
<div
class=
"swiper-pagination"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -120,6 +121,7 @@
...
@@ -120,6 +121,7 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
'swiper/css/swiper.css'
export
default
{
export
default
{
layout
:
'normal'
,
layout
:
'normal'
,
data
()
{
data
()
{
...
@@ -156,6 +158,25 @@ export default {
...
@@ -156,6 +158,25 @@ export default {
_this
.
swiper
.
slideNext
()
_this
.
swiper
.
slideNext
()
}
}
}
}
},
swiperOption2
:
{
observer
:
true
,
observeParents
:
true
,
speed
:
400
,
autoplay
:
true
,
delay
:
3000
,
loop
:
true
,
slidesPerView
:
'auto'
,
centeredSlides
:
true
,
spaceBetween
:
20
,
pagination
:
{
el
:
'.swiper-pagination'
},
on
:
{
init
()
{
_this
.
swiper
.
slideNext
()
}
}
}
}
// frameParams: {
// frameParams: {
// banner: 'https://webapp-pub.ezijing.com/project/marywood/mary_banner_nx4.jpg',
// banner: 'https://webapp-pub.ezijing.com/project/marywood/mary_banner_nx4.jpg',
...
@@ -374,47 +395,51 @@ export default {
...
@@ -374,47 +395,51 @@ export default {
}
}
}
}
.is-h5
{
.is-h5
{
.banner
{
.banner
{
img
{
img
{
width
:
100%
;
width
:
100%
;
display
:
block
;
display
:
block
;
}
}
}
}
.h5-content
{
.h5-content
{
padding
:
0
.15rem
;
padding
:
0
0
.15rem
;
img
{
img
{
width
:
100%
;
width
:
100%
;
display
:
block
;
display
:
block
;
}
}
.h5-title
{
.h5-title
{
font-size
:
.14rem
;
font-size
:
0
.14rem
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#424242
;
color
:
#424242
;
line-height
:
.36rem
;
line-height
:
0
.36rem
;
&
.m-t-10
{
&
.m-t-10
{
margin-top
:
.1rem
;
margin-top
:
0
.1rem
;
}
}
}
}
.h5-list
{
.h5-list
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
img
{
img
{
width
:
1
.08rem
;
width
:
1
.08rem
;
display
:
block
;
display
:
block
;
}
}
}
}
.img-list
{
.img-list
{
overflow-x
:
scroll
;
overflow-x
:
scroll
;
display
:
flex
;
display
:
flex
;
img
{
img
{
width
:
1
.46rem
;
width
:
1
.46rem
;
margin-right
:
.05rem
;
margin-right
:
0
.05rem
;
}
}
}
}
.swiper-content
{
.swiper-content
{
padding-bottom
:
.5rem
;
padding-bottom
:
0
.5rem
;
}
}
}
}
}
}
::v-deep
{
.swiper-pagination-bullet-active
{
background
:
#fff
;
}
}
</
style
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论