Commit 0f689398 by 林翔

Merge branch 'lx_xinhot_h5_20190307'

parents 619d4615 16233b1d
Showing with 6 additions and 6 deletions
...@@ -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]);
} }
}) })
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment