切换导航条
此项目
正在载入...
登录
PC
/
tmuch
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
王毅
6 years ago
提交
b6c1f49660da9ef2d87432314acc65d32a46ed6c
2 个父辈
6388e2c1
d2576b39
合并分支 'Branch_wy' 到 'master'
Branch wy 查看合并请求
!6
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
41 行增加
和
30 行删除
clinical/depart_detail.2.2.html
clinical/depart_detail.2.2.html
查看文件 @
b6c1f49
...
...
@@ -146,10 +146,11 @@
color
:
#727171
;
line-height
:
30px
;
}
.swiper-container
{
width
:
600px
;
height
:
300px
;
}
width
:
850px
;
margin
:
60px
auto
;
}
</style>
</head>
...
...
@@ -393,24 +394,28 @@
Clinical Resources
<span>
>
</span>
Clinical Departments
<span>
>
</span>
Medical Oncology
<span>
>
</span>
Thoracic Medical Oncology
</div>
<div
class=
"contant"
>
<div
class=
"swiper-container"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
>
Slide 1
</div>
<div
class=
"swiper-slide"
>
Slide 2
</div>
<div
class=
"swiper-slide"
>
Slide 3
</div>
</div>
<!-- 如果需要分页器 -->
<div
class=
"swiper-pagination"
></div>
<!-- 如果需要导航按钮 -->
<div
class=
"swiper-button-prev"
></div>
<div
class=
"swiper-button-next"
></div>
<!-- 如果需要滚动条 -->
<div
class=
"swiper-scrollbar"
></div>
</div>
<div
class=
"swiper-container swiper-container-horizontal"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide swiper-slide-active"
style=
"height:236px; "
>
<img
src=
"../images/60.png"
alt=
""
/>
</div>
<div
class=
"swiper-slide swiper-slide-next"
style=
"height:236px;"
>
<img
src=
"../images/60.png"
alt=
""
/>
</div>
<div
class=
"swiper-slide"
style=
"height:236px;"
>
<img
src=
"../images/60.png"
alt=
""
/>
</div>
</div>
<!-- Add Pagination -->
<div
class=
"swiper-pagination swiper-pagination-clickable swiper-pagination-bullets"
>
<span
class=
"swiper-pagination-bullet swiper-pagination-bullet-active"
></span
><span
class=
"swiper-pagination-bullet"
></span
><span
class=
"swiper-pagination-bullet"
></span>
</div>
</div>
<div
class=
"contant_img"
>
<img
src=
"../images/58.png"
alt=
""
srcset=
""
/>
</div>
...
...
@@ -508,17 +513,17 @@
$
(
this
).
addClass
(
"navbtnActive"
);
// 添加当前元素的样式
});
});
var
swiper
=
new
Swiper
(
".swiper-container"
,
{
pagination
:
".swiper-pagination"
,
paginationClickable
:
true
});
// var swiper = new Swiper(".swiper-container", {
// pagination: ".swiper-pagination",
// paginationClickable: true
// });
var
swiper
=
new
Swiper
(
".swiper-container1"
,
{
pagination
:
".swiper-pagination"
,
slidesPerView
:
3
,
paginationClickable
:
true
,
spaceBetween
:
30
});
// var swiper = new Swiper(".swiper-container1", {
// pagination: ".swiper-pagination",
// slidesPerView: 3,
// paginationClickable: true,
// spaceBetween: 30
// });
$
(
".content-word-left"
).
on
(
"click"
,
"h4"
,
function
()
{
$
(
this
)
...
...
@@ -531,6 +536,12 @@
.
siblings
()
.
removeClass
(
"active"
);
});
var
swiper
=
new
Swiper
(
".swiper-container"
,
{
pagination
:
".swiper-pagination"
,
slidesPerView
:
3
,
paginationClickable
:
true
,
spaceBetween
:
40
});
</script>
</body>
...
...
请
注册
或
登录
后发表评论