Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
sf
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2c0c595a
authored
Jun 29, 2018
by
qiaomu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
68e8d95d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
sudoke/index.html
sudoke/livetime.html
sudoke/index.html
View file @
2c0c595a
...
...
@@ -23,11 +23,12 @@
</a>
</div>
<div
class=
"cont"
>
<a
href=
"livetime.html"
>
<img
class=
"svg"
src=
"img/time.svg"
alt=
""
>
<span>
时长查询
</span>
</a>
</div>
<a
href=
"livetime.html"
>
<img
class=
"svg"
src=
"img/time.svg"
alt=
""
>
<span>
时长查询
</span>
</a>
</div>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"weui_dialog_alert dialog-box"
id=
"tips"
>
<div
class=
"weui_mask"
></div>
...
...
@@ -120,15 +121,15 @@
}
</style>
<script
type=
"text/javascript"
>
var
all
=
$
(
".box"
).
children
().
length
;
var
rowCount
=
parseInt
(
all
/
3
);
var
lastRowCount
=
all
-
(
rowCount
*
3
);
if
(
lastRowCount
==
0
)
{
lastRowCount
=
3
;
}
for
(
var
i
=
lastRowCount
;
i
>
0
;
i
--
)
{
$
(
".box .cont"
).
eq
(
all
-
i
).
css
(
"borderBottom"
,
"0"
);
}
//
var all = $(".box").children().length;
//
var rowCount = parseInt(all / 3);
//
var lastRowCount = all - (rowCount * 3);
//
if (lastRowCount == 0) {
//
lastRowCount = 3;
//
}
//
for (var i = lastRowCount; i > 0; i--) {
//
$(".box .cont").eq(all-i).css("borderBottom", "0");
//
}
</script>
<script
type=
"text/javascript"
>
...
...
sudoke/livetime.html
View file @
2c0c595a
...
...
@@ -122,7 +122,7 @@
</div>
<script>
var
uid
;
var
url
=
"https://taskweb.ishuaji.cn
:9095
/remote/livertime"
;
var
url
=
"https://taskweb.ishuaji.cn/remote/livertime"
;
$
(
function
(){
$
(
".weui_btn"
).
click
(
function
(){
var
type
=
$
(
this
).
attr
(
"data-time"
);
...
...
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