Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a81b71e9
authored
Jun 16, 2021
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
7126ee76
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
css/history/history.min.css
history.html
js/shutter.js
css/history/history.min.css
View file @
a81b71e9
...
@@ -47,11 +47,9 @@ ul, li { list-style: none; }
...
@@ -47,11 +47,9 @@ ul, li { list-style: none; }
}
}
.shutter-btn
li
.prev
{
.shutter-btn
li
.prev
{
left
:
20px
;
left
:
20px
;
background
:
url(../images/shutter_prevBtn.png)
no-repeat
0
-49px
;
}
}
.shutter-btn
li
.next
{
.shutter-btn
li
.next
{
right
:
20px
;
right
:
20px
;
background
:
url(../images/shutter_nextBtn.png)
no-repeat
0
-49px
;
}
}
.shutter-desc
{
.shutter-desc
{
position
:
absolute
;
position
:
absolute
;
...
...
history.html
View file @
a81b71e9
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
<body>
<body>
<div
class=
"shutter"
>
<div
class=
"shutter"
>
<div
class=
"shutter-img"
>
<div
class=
"shutter-img"
>
<a
href=
"#"
><img
src=
"images/fuwu.png"
alt=
"#"
></a>
<a><img
src=
"images/fuwu.png"
alt=
"#"
></a>
<a
href=
"#"
><img
src=
"images/licheng.png"
alt=
"#"
></a>
<a><img
src=
"images/licheng.png"
alt=
"#"
></a>
</div>
</div>
<ul
class=
"shutter-btn"
style=
"display:none"
>
<ul
class=
"shutter-btn"
>
<li
class=
"prev"
></li>
<li
class=
"prev"
></li>
<li
class=
"next"
></li>
<li
class=
"next"
></li>
</ul>
</ul>
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
function
()
{
$
(
function
()
{
$
(
'.shutter'
).
shutter
({
$
(
'.shutter'
).
shutter
({
shutterW
:
100
0
,
// 容器宽度
shutterW
:
384
0
,
// 容器宽度
shutterH
:
358
,
// 容器高度
shutterH
:
2160
,
// 容器高度
isAutoPlay
:
true
,
// 是否自动播放
isAutoPlay
:
true
,
// 是否自动播放
playInterval
:
5000
,
// 自动播放时间
playInterval
:
5000
,
// 自动播放时间
curDisplay
:
1
,
// 当前显示页
curDisplay
:
1
,
// 当前显示页
...
...
js/shutter.js
View file @
a81b71e9
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
this
.
defaults
=
{
this
.
defaults
=
{
shutterW
:
1200
,
shutterW
:
1200
,
shutterH
:
500
,
shutterH
:
500
,
isAutoPlay
:
fals
e
,
isAutoPlay
:
tru
e
,
playInterval
:
3000
,
playInterval
:
3000
,
curDisplay
:
0
,
curDisplay
:
0
,
fullPage
:
fals
e
fullPage
:
tru
e
};
};
this
.
opts
=
$
.
extend
({},
this
.
defaults
,
options
);
this
.
opts
=
$
.
extend
({},
this
.
defaults
,
options
);
...
@@ -194,11 +194,11 @@
...
@@ -194,11 +194,11 @@
this
.
play
();
this
.
play
();
this
.
$shutter
.
hover
(
function
()
{
/*
this.$shutter.hover(function () {
clearInterval(self.playTime);
clearInterval(self.playTime);
}, function () {
}, function () {
self.play();
self.play();
});
});
*/
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment