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
6 years ago
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 @@
...
@@ -23,11 +23,12 @@
</a>
</a>
</div>
</div>
<div
class=
"cont"
>
<div
class=
"cont"
>
<a
href=
"livetime.html"
>
<a
href=
"livetime.html"
>
<img
class=
"svg"
src=
"img/time.svg"
alt=
""
>
<img
class=
"svg"
src=
"img/time.svg"
alt=
""
>
<span>
时长查询
</span>
<span>
时长查询
</span>
</a>
</a>
</div>
</div>
<div
class=
"clearfix"
></div>
</div>
</div>
<div
class=
"weui_dialog_alert dialog-box"
id=
"tips"
>
<div
class=
"weui_dialog_alert dialog-box"
id=
"tips"
>
<div
class=
"weui_mask"
></div>
<div
class=
"weui_mask"
></div>
...
@@ -120,15 +121,15 @@
...
@@ -120,15 +121,15 @@
}
}
</style>
</style>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
all
=
$
(
".box"
).
children
().
length
;
//
var all = $(".box").children().length;
var
rowCount
=
parseInt
(
all
/
3
);
//
var rowCount = parseInt(all / 3);
var
lastRowCount
=
all
-
(
rowCount
*
3
);
//
var lastRowCount = all - (rowCount * 3);
if
(
lastRowCount
==
0
)
{
//
if (lastRowCount == 0) {
lastRowCount
=
3
;
//
lastRowCount = 3;
}
//
}
for
(
var
i
=
lastRowCount
;
i
>
0
;
i
--
)
{
//
for (var i = lastRowCount; i > 0; i--) {
$
(
".box .cont"
).
eq
(
all
-
i
).
css
(
"borderBottom"
,
"0"
);
//
$(".box .cont").eq(all-i).css("borderBottom", "0");
}
//
}
</script>
</script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
...
...
This diff is collapsed.
Click to expand it.
sudoke/livetime.html
View file @
2c0c595a
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
</div>
</div>
<script>
<script>
var
uid
;
var
uid
;
var
url
=
"https://taskweb.ishuaji.cn
:9095
/remote/livertime"
;
var
url
=
"https://taskweb.ishuaji.cn/remote/livertime"
;
$
(
function
(){
$
(
function
(){
$
(
".weui_btn"
).
click
(
function
(){
$
(
".weui_btn"
).
click
(
function
(){
var
type
=
$
(
this
).
attr
(
"data-time"
);
var
type
=
$
(
this
).
attr
(
"data-time"
);
...
...
This diff is collapsed.
Click to expand it.
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