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
bc595b88
Commit
bc595b88
authored
Mar 21, 2022
by
wuxiaoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
4b78d519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
display/displayOrder.html
display/displayOrder.html
+18
-1
No files found.
display/displayOrder.html
View file @
bc595b88
...
...
@@ -266,7 +266,7 @@
<div
class=
"gundon_shuju_zt"
>
用户订单展示
</div>
</div>
<div>
<ul
class=
"ul_title"
>
<ul
class=
"ul_title"
id=
"searchBar"
>
<li
class=
"id"
style=
"width: 10%;"
>
订单ID
</li>
<li
class=
"nickname"
style=
"width: 10%;"
>
用户姓名
</li>
<li
class=
"mobile"
style=
"width: 10%;"
>
手机号
</li>
...
...
@@ -531,6 +531,23 @@
}
return
init
;
}();
window
.
onload
=
function
(){
var
oDiv
=
document
.
getElementById
(
"
searchBar
"
),
H
=
0
,
Y
=
oDiv
while
(
Y
){
H
+=
Y
.
offsetTop
;
Y
=
Y
.
offsetParent
;
}
window
.
onscroll
=
function
(){
var
s
=
document
.
body
.
scrollTop
||
document
.
documentElement
.
scrollTop
;
if
(
s
>
H
){
oDiv
.
style
=
"
position:fixed;top:0;left:0.4%;right:0;
"
}
else
{
oDiv
.
style
=
""
}
}
};
// function range(min, max) {
// return 1
// //return parseInt(Math.random() * (max - min + 1) + min)
...
...
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