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
a5389acb
authored
Mar 15, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
88ffae1e
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
56 additions
and
112 deletions
about.html
contact.html
index.html
js/global.js
product.html
product_2.html
product_3.html
product_4.html
product_5.html
product_6.html
product_7.html
product_tep.html
about.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
contact.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
index.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
js/global.js
View file @
a5389acb
...
...
@@ -19,21 +19,52 @@
}
return
object
[
value
];
},
getData
:
function
(
params
,
callback
)
{
$
.
ajax
({
type
:
"POST"
,
url
:
"https://api.ichunt.com/xht/companyinfo"
,
data
:
params
,
xhrFields
:
{
withCredentials
:
true
},
success
:
function
(
data
)
{
if
(
data
.
err_code
==
0
)
{
typeof
callback
==
'function'
&&
callback
(
data
);
}
}
getData
:
function
(
params
,
type
,
callback
)
{
var
index
=
layer
.
load
(
1
,
{
offset
:
[
'50%'
,
"50%"
],
shade
:
false
});
if
(
type
==
1
)
{
$
.
ajax
({
type
:
"GET"
,
url
:
"http://api.ichunt.com/xht/companyinfo"
,
data
:
params
,
xhrFields
:
{
withCredentials
:
true
},
success
:
function
(
data
)
{
layer
.
close
(
index
);
if
(
data
.
err_code
==
0
)
{
typeof
callback
==
'function'
&&
callback
(
data
);
}
}
});
}
else
{
$
.
ajax
({
type
:
"GET"
,
url
:
"http://api.ichunt.com/xht/company"
,
data
:
params
,
xhrFields
:
{
withCredentials
:
true
},
success
:
function
(
data
)
{
layer
.
close
(
index
);
if
(
data
.
err_code
==
0
)
{
typeof
callback
==
'function'
&&
callback
(
data
);
}
}
});
}
},
handleBind
:
function
(
opt
)
{
//nav
//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'
);
},
function
()
{
...
...
@@ -124,11 +155,11 @@
if
(
id
)
{
this
.
getData
({
com_id
:
id
},
function
(
res
)
{
},
1
,
function
(
res
)
{
var
html_combg
=
[],
html_cominfo
=
[],
html_cominfotext
=
[];
html_combg
.
push
(
'<img src="'
+
res
.
data
[
'company_bg_img'
].
images
+
'" alt="" class="img">'
+
' <div class="text">'
+
' <a href="javascript:;" class="bg"><img src="'
+
res
.
data
.
logo_pc
+
'" alt=""></a>'
+
' <a href="javascript:;" class="bg"><img src="'
+
res
.
data
.
logo_pc
+
'" alt=""></a>'
+
' <p>'
+
res
.
data
.
slogan
+
'</p>'
+
' </div>'
);
...
...
product.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
product_2.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
product_3.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
product_4.html
View file @
a5389acb
...
...
@@ -37,14 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
product_5.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
product_6.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
product_7.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
product_tep.html
View file @
a5389acb
...
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=1"
>
华新
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=2"
>
三星
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=3"
>
厚生
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=4"
>
长电
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=5"
>
乐山
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=6"
>
风华
</a></dd>
<dd><a
target=
"_blank"
href=
"product_tep.html?id=7"
>
国巨
</a></dd>
</dl>
<dl
id=
"menu"
></dl>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
...
...
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