Commit 18dc53c5 by 林翔

Merge branch 'lx_xinhot_h5_20190307'

parents 6561a688 8b7379be
......@@ -70,10 +70,10 @@
<div class="about-box1-img1"><img src="./images/about/2.png" alt="xinhot"></div>
<span class="about-box1-img2"><img src="./images/about/3.png" alt="xinhot"></span>
<span class="about-box1-img3"><img src="./images/about/4.png" alt="xinhot"></span>
<p>深圳市信宏泰电子有限公司是元器件集成供应商,专业代理全球各大品牌的全系列产品(主推被动器件);</p>
<p>主营业务代理销售风华、国巨、华科以及三星等电容器件;厚声、风华、国巨等电阻器件;长电、LRC等二三极管;</p>
<p>产品主要应用于医疗军工航空设备、电源管理、电脑电器、便携式通讯设备、安防监控等市场领域;</p>
<p>宗旨是:只做<i>原包正品!价格优!服务好!交货快!</i></p>
<p>深圳市信宏泰电子有限公司是一家诚信经营被动元器件的专业公司。</p>
<p>目前主要经营销售风华高科、国巨、华科以及三星等的电容元件;厚声、风华高科、国巨等电阻元件;长电、LRC的二三极管等。</p>
<p>产品主要应用于医疗设备、电源管理、电脑电器、便携式通讯设备、安防监控、工业控制等领域。</p>
<p>公司秉承"<i>品质一流、诚信服务</i>"的经营理念,本着客户至上、服务至上的经营原则,以专业的团队,高质量的产品,长期服务客户,不断为客户创造价值。</p>
</div>
</div>
......@@ -128,6 +128,7 @@
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/layui/layui.all.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<!-- <script type="text/javascript" src="./js/index.js"></script> -->
<script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script>
</body>
</html>
\ No newline at end of file
......@@ -166,6 +166,7 @@
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/layui/layui.all.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<!-- <script type="text/javascript" src="./js/index.js"></script> -->
<script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script>
</body>
</html>
\ No newline at end of file
......@@ -108,6 +108,7 @@
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/layui/layui.all.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<!-- <script type="text/javascript" src="./js/index.js"></script> -->
<script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script>
</body>
</html>
\ No newline at end of file
......@@ -35,7 +35,7 @@ var xinhot = {
$(".about-box2-content li").click(function(){
$(".about-box2-content li").removeClass("big");
$(this).addClass("big");
let checkId = $(this).attr("data-box");
var checkId = $(this).attr("data-box");
$(".about-box2-text").hide();
$(".about-box2-text").each(function(){
if($(this).attr("id") == checkId){
......@@ -46,7 +46,7 @@ var xinhot = {
//产品展示
$(".product-box1-content li").click(function(){
let brandId = $(this).attr("data-brand");
var brandId = $(this).attr("data-brand");
$(".product-mask").show();
//屏幕滚动到指定位置
var top = $(".product-mask-content").offset().top; //获取某个元素距顶部的距离
......@@ -59,7 +59,8 @@ var xinhot = {
datatype:'jsonp',
success:function(data){
var brandData = data.data;
// console.log(brandData);
console.log(brandData);
console.log(brandId);
$(".product-mask-brand").find("img").attr("src",brandData[brandId].brandImg);
$(".product-mask-company").text(brandData[brandId].company);
$(".product-mask-address").text(brandData[brandId].address);
......@@ -76,7 +77,7 @@ var xinhot = {
//联系我们
$(".layui-table .job_detail").click(function(){
let jobId = $(this).attr("data-job");
var jobId = $(this).attr("data-job");
$(".contact-mask").show();
//屏幕滚动到指定位置
var top = $(".contact-mask-content").offset().top; //获取某个元素距顶部的距离
......
......@@ -151,6 +151,7 @@
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/layui/layui.all.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<!-- <script type="text/javascript" src="./js/index.js"></script> -->
<script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script>
</body>
</html>
\ No newline at end of file
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