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
2028fdb9
authored
Mar 12, 2019
by
林翔
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
lx
parent
8b7379be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
15 deletions
h5/js/brandData.json
h5/js/index.js
h5/product.html
h5/js/brandData.json
View file @
2028fdb9
{
"data"
:
[
"data"
:
[
{
"brandImg"
:
"./images/product/group_6/1.jpg"
,
"company"
:
"风华高新科技股份有限公司"
,
...
...
@@ -77,8 +77,6 @@
"introduce"
:
[
"乐山无线电股份有限公司(简称LRC)位于中国西部大开发中心地带的历史文化名城——四 川乐山,创建于1970年,是以半导体分立器件为主产品的综合性电子企业。在改革开放中,经过多年艰苦奋斗,工厂持续快速发展壮大成为拥有多个独资和合资公司的集团企业。"
,
"集团获得首届中国市场消费商品质量信誉竞争力评比“同行业十佳品牌”,中国技术监督情报协会“中国质量过硬放心品牌”,中国半导体行业协会“2010年中国十大封装测试企业”,生产线通过ISO9001、ISO/TS16949、ISO14001和QC080000标准体系认证, 产品符合RoHS等有害物资管理法律法规要求。"
]
},
}
]
}
}
\ No newline at end of file
h5/js/index.js
View file @
2028fdb9
...
...
@@ -56,13 +56,12 @@ var xinhot = {
url
:
'./js/brandData.json'
,
methods
:
'get'
,
async
:
false
,
datatype
:
'json
p
'
,
datatype
:
'json'
,
success
:
function
(
data
){
var
brandData
=
data
.
data
;
console
.
log
(
brandData
);
console
.
log
(
brandId
);
// console.log(brandData);
$
(
".product-mask-brand"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
brandImg
);
$
(
".product-mask-company"
).
text
(
brandData
[
brandId
].
company
);
$
(
".product-mask-company"
).
text
(
brandData
[
brandId
].
jobName
);
$
(
".product-mask-address"
).
text
(
brandData
[
brandId
].
address
);
$
(
".product-mask-time"
).
text
(
brandData
[
brandId
].
time
);
$
(
".product-mask-name"
).
text
(
brandData
[
brandId
].
name
);
...
...
@@ -87,7 +86,7 @@ var xinhot = {
url
:
'./js/jobData.json'
,
methods
:
'get'
,
async
:
false
,
datatype
:
'json
p
'
,
datatype
:
'json'
,
success
:
function
(
data
){
var
jobData
=
data
.
data
;
// console.log(jobData);
...
...
h5/product.html
View file @
2028fdb9
...
...
@@ -128,15 +128,15 @@
<div
class=
"product-mask mask"
style=
"display: none;"
>
<div
class=
"product-mask-content"
>
<div
class=
"mask-close"
><img
src=
"./images/close.png"
alt=
""
></div>
<div
class=
"product-mask-brand"
><img
src=
"
./images/product/group_1/1.jpg
"
alt=
""
></div>
<div
class=
"product-mask-brand"
><img
src=
""
alt=
""
></div>
<p
class=
"product-mask-company product-mask-text"
></p>
<p
class=
"product-mask-address product-mask-text"
></p>
<p
class=
"product-mask-time product-mask-text"
></p>
<p
class=
"product-mask-name product-mask-text"
></p>
<ul
class=
"product-mask-img"
>
<li
class=
"product-img_1"
><img
src=
"
./images/product/group_1/2.jpg
"
alt=
""
></li>
<li
class=
"product-img_2"
><img
src=
"
./images/product/group_1/3.jpg
"
alt=
""
></li>
<li
class=
"product-img_3"
><img
src=
"
./images/product/group_1/4.jpg
"
alt=
""
></li>
<li
class=
"product-img_1"
><img
src=
""
alt=
""
></li>
<li
class=
"product-img_2"
><img
src=
""
alt=
""
></li>
<li
class=
"product-img_3"
><img
src=
""
alt=
""
></li>
</ul>
<p
class=
"product-mask-introduce introduce-1"
></p>
<p
class=
"product-mask-introduce introduce-2"
></p>
...
...
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