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
0f689398
authored
Mar 12, 2019
by
林翔
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'lx_xinhot_h5_20190307'
parents
619d4615
16233b1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
h5/js/index.js
h5/js/index.js
View file @
0f689398
...
@@ -61,15 +61,15 @@ var xinhot = {
...
@@ -61,15 +61,15 @@ var xinhot = {
var
brandData
=
data
.
data
;
var
brandData
=
data
.
data
;
// console.log(brandData);
// console.log(brandData);
$
(
".product-mask-brand"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
brandImg
);
$
(
".product-mask-brand"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
brandImg
);
$
(
".product-mask-company"
).
html
(
brandData
[
brandId
].
company
);
$
(
".product-mask-company"
).
text
(
brandData
[
brandId
].
company
);
$
(
".product-mask-address"
).
html
(
brandData
[
brandId
].
company
);
$
(
".product-mask-address"
).
text
(
brandData
[
brandId
].
company
);
$
(
".product-mask-time"
).
html
(
brandData
[
brandId
].
company
);
$
(
".product-mask-time"
).
text
(
brandData
[
brandId
].
company
);
$
(
".product-mask-name"
).
html
(
brandData
[
brandId
].
company
);
$
(
".product-mask-name"
).
text
(
brandData
[
brandId
].
company
);
$
(
".product-mask-img .product-img_1"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
img
[
0
]);
$
(
".product-mask-img .product-img_1"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
img
[
0
]);
$
(
".product-mask-img .product-img_2"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
img
[
1
]);
$
(
".product-mask-img .product-img_2"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
img
[
1
]);
$
(
".product-mask-img .product-img_3"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
img
[
2
]);
$
(
".product-mask-img .product-img_3"
).
find
(
"img"
).
attr
(
"src"
,
brandData
[
brandId
].
img
[
2
]);
$
(
".introduce-1"
).
html
(
brandData
[
brandId
].
introduce
[
0
]);
$
(
".introduce-1"
).
text
(
brandData
[
brandId
].
introduce
[
0
]);
$
(
".introduce-2"
).
html
(
brandData
[
brandId
].
introduce
[
1
]);
$
(
".introduce-2"
).
text
(
brandData
[
brandId
].
introduce
[
1
]);
}
}
})
})
});
});
...
...
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