Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
ddd_display
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
twj
ddd_display
Commits
4b78d519
Commit
4b78d519
authored
Mar 21, 2022
by
twj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twj
parent
6b99c5bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
display/displayOrder.html
display/displayOrder.html
+19
-19
No files found.
display/displayOrder.html
View file @
4b78d519
...
...
@@ -360,7 +360,7 @@
var
data
=
{};
data
.
page
=
'
0
'
;
data
.
limit
=
'
20
'
;
data
.
limit
=
'
20
0
'
;
if
(
ajax_zt
)
{
ajax_zt
=
false
;
...
...
@@ -389,11 +389,11 @@
}
else
{
that
.
items
=
result
[
'
data
'
][
'
order_list
'
];
}
//
if ($("#downpaly").find("li").length - max_id
<
5
)
{
//
if (result['data']['order_list'].length > 0) {
//
that.items = that.items.concat(result['data']['order_list']);
//
}
//
}
if
(
$
(
"
#downpaly
"
).
find
(
"
li
"
).
length
-
max_id
<
5
)
{
if
(
result
[
'
data
'
][
'
order_list
'
].
length
>
0
)
{
that
.
items
=
that
.
items
.
concat
(
result
[
'
data
'
][
'
order_list
'
]);
}
}
},
error
:
function
()
{
ajax_zt
=
true
;
}
...
...
@@ -415,14 +415,14 @@
get_sou
=
false
;
}
},
mounted
()
{
// for (var i = 0; i
<
20
;
i
++
)
{
// $("#downpaly").find("li[a_id='" + i + "']").show();
// mounted() {
// // for (var i = 0; i
<
20
;
i
++
)
{
// // $("#downpaly").find("li[a_id='" + i + "']").show();
// // }
// },
// beforeDestroy() {
// clearInterval(this.timer);
// }
},
beforeDestroy
()
{
clearInterval
(
this
.
timer
);
}
})
...
...
@@ -439,7 +439,7 @@
function
init
(
o
)
{
this
.
id
=
o
.
id
;
this
.
at
=
o
.
auto
?
o
.
auto
:
1
;
this
.
at
=
o
.
auto
?
o
.
auto
:
1
0
;
this
.
o
=
0
;
this
.
pos
();
...
...
@@ -531,10 +531,10 @@
}
return
init
;
}();
function
range
(
min
,
max
)
{
return
1
//return parseInt(Math.random() * (max - min + 1) + min)
}
//
function range(min, max) {
//
return 1
//
//return parseInt(Math.random() * (max - min + 1) + min)
//
}
new
downpaly
({
id
:
'
downpaly
'
});
...
...
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