Commit 7a73f27c by 林翔

Merge branch 'lx_xinhot_h5_20190307'

parents 0a8d3fe9 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
......@@ -56,13 +56,12 @@ var xinhot = {
url:'./js/brandData.json',
methods:'get',
async:false,
datatype:'jsonp',
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:'jsonp',
datatype:'json',
success:function(data){
var jobData = data.data;
// console.log(jobData);
......
......@@ -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>
......
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