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
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
48 additions
and
104 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 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
contact.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
index.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
js/global.js
View file @
a5389acb
...
@@ -19,21 +19,52 @@
...
@@ -19,21 +19,52 @@
}
}
return
object
[
value
];
return
object
[
value
];
},
},
getData
:
function
(
params
,
callback
)
{
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
({
$
.
ajax
({
type
:
"POS
T"
,
type
:
"GE
T"
,
url
:
"https://api.ichunt.com/xht/companyinfo
"
,
url
:
"http://api.ichunt.com/xht/company
"
,
data
:
params
,
data
:
params
,
xhrFields
:
{
withCredentials
:
true
},
xhrFields
:
{
withCredentials
:
true
},
success
:
function
(
data
)
{
success
:
function
(
data
)
{
layer
.
close
(
index
);
if
(
data
.
err_code
==
0
)
{
if
(
data
.
err_code
==
0
)
{
typeof
callback
==
'function'
&&
callback
(
data
);
typeof
callback
==
'function'
&&
callback
(
data
);
}
}
}
}
});
});
}
},
},
handleBind
:
function
(
opt
)
{
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
()
{
$
(
".pc-nav-wrap"
).
find
(
'li'
).
hover
(
function
()
{
$
(
this
).
children
(
'dl'
).
slideDown
(
'slow'
);
$
(
this
).
children
(
'dl'
).
slideDown
(
'slow'
);
},
function
()
{
},
function
()
{
...
@@ -124,11 +155,11 @@
...
@@ -124,11 +155,11 @@
if
(
id
)
{
if
(
id
)
{
this
.
getData
({
this
.
getData
({
com_id
:
id
com_id
:
id
},
function
(
res
)
{
},
1
,
function
(
res
)
{
var
html_combg
=
[],
html_cominfo
=
[],
html_cominfotext
=
[];
var
html_combg
=
[],
html_cominfo
=
[],
html_cominfotext
=
[];
html_combg
.
push
(
'<img src="'
+
res
.
data
[
'company_bg_img'
].
images
+
'" alt="" class="img">'
+
html_combg
.
push
(
'<img src="'
+
res
.
data
[
'company_bg_img'
].
images
+
'" alt="" class="img">'
+
' <div class="text">'
+
' <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>'
+
' <p>'
+
res
.
data
.
slogan
+
'</p>'
+
' </div>'
);
' </div>'
);
...
...
product.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
product_2.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
product_3.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
product_4.html
View file @
a5389acb
...
@@ -37,14 +37,7 @@
...
@@ -37,14 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
product_5.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
product_6.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
product_7.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</ul>
...
...
product_tep.html
View file @
a5389acb
...
@@ -37,15 +37,7 @@
...
@@ -37,15 +37,7 @@
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"about.html"
>
关于我们
</a></li>
<li
class=
"lineBlock"
>
<li
class=
"lineBlock"
>
<a
href=
"product.html"
>
产品展示
</a>
<a
href=
"product.html"
>
产品展示
</a>
<dl>
<dl
id=
"menu"
></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>
</li>
</li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
<li
class=
"lineBlock"
><a
href=
"contact.html"
>
联系我们
</a></li>
</ul>
</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