Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
xinhot
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
9eb032c6
authored
Mar 15, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
3e2f0ec2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
js/global.js
product_tep.html
js/global.js
View file @
9eb032c6
...
...
@@ -53,17 +53,6 @@
},
handleBind
:
function
(
opt
)
{
//menu
this
.
getData
(
null
,
2
,
function
(
res
)
{
var
html
=
[];
for
(
var
i
=
0
;
i
<
res
.
data
.
length
;
i
++
)
{
html
.
push
(
'<dd><a target="_blank" href="product_tep.html?id='
+
(
parseInt
(
i
)
+
1
)
+
'">'
+
res
.
data
[
i
].
sample_name
+
'</a></dd>'
)
}
$
(
"#menu"
).
empty
().
append
(
html
.
join
(
''
));
});
//nav hover
$
(
".pc-nav-wrap"
).
find
(
'li'
).
hover
(
function
()
{
$
(
this
).
children
(
'dl'
).
slideDown
(
'slow'
);
...
...
@@ -150,6 +139,20 @@
}
});
if
(
$
(
"#temp"
).
length
>
0
){
//menu
this
.
getData
(
null
,
2
,
function
(
res
)
{
var
html
=
[];
for
(
var
i
=
0
;
i
<
res
.
data
.
length
;
i
++
)
{
html
.
push
(
'<dd><a target="_blank" href="product_tep.html?id='
+
(
parseInt
(
i
)
+
1
)
+
'">'
+
res
.
data
[
i
].
sample_name
+
'</a></dd>'
)
}
$
(
"#menu"
).
empty
().
append
(
html
.
join
(
''
));
});
//产品详情
var
id
=
opt
.
getRequest
(
'id'
);
if
(
id
)
{
...
...
@@ -184,6 +187,7 @@
});
}
}
return
this
;
},
...
...
product_tep.html
View file @
9eb032c6
...
...
@@ -14,7 +14,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"./css/style.min.css"
>
</head>
<body>
<div
class=
"pc-index-head clr"
>
<div
class=
"pc-index-head clr"
id=
"temp"
>
<div
class=
"head-wrap page-width"
>
<div
class=
"fl l"
>
<a
href=
"index.html"
class=
"lineBlock va-m logo"
><img
src=
"./images/logo.png"
alt=
""
></a>
...
...
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