Commit 07c647ca authored by 郭朴讴's avatar 郭朴讴

半导体

parent 03608e87
...@@ -228,11 +228,10 @@ ...@@ -228,11 +228,10 @@
if (IsPC()) { if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>"); $("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 195px;overflow: hidden;'></div>"); $("#tab3 .row .text p").wrap("<div style='height: 195px;overflow: hidden;'></div>");
$("#tab3 .row:first-child").css("margin-left","-2px");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) { if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent) console.log(userAgent)
$("#tab3 .row:first-child").css("margin-left","-2px"); $("#tab3 .row div:first-child").css("margin-left","-2px");
} }
} }
var url = $(location).attr('href'); var url = $(location).attr('href');
......
...@@ -52,11 +52,10 @@ ...@@ -52,11 +52,10 @@
if (IsPC()) { if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>"); $("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 195px;overflow: hidden;'></div>"); $("#tab3 .row .text p").wrap("<div style='height: 195px;overflow: hidden;'></div>");
$("#tab3 .row:first-child").css("margin-left","-2px");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) { if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent) console.log(userAgent)
$("#tab3 .row:first-child").css("margin-left","-2px"); $("#tab3 .row div:first-child").css("margin-left","-2px");
} }
} }
var url = $(location).attr('href'); var url = $(location).attr('href');
......
...@@ -100,8 +100,8 @@ ...@@ -100,8 +100,8 @@
$("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>"); $("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) { if (userAgent.indexOf("Safari") > -1) {
$("#tab2 .row:first-child").css("margin-left","-2px"); $("#tab2 .row div:first-child").css("margin-left","-2px");
$("#tab3 .row:first-child").css("margin-left","-2px"); $("#tab3 .row div:first-child").css("margin-left","-2px");
} }
} }
......
...@@ -181,8 +181,8 @@ ...@@ -181,8 +181,8 @@
$("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>"); $("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) { if (userAgent.indexOf("Safari") > -1) {
$("#tab2 .row:first-child").css("margin-left","-2px"); $("#tab2 .row div:first-child").css("margin-left","-2px");
$("#tab3 .row:first-child").css("margin-left","-2px"); $("#tab3 .row div:first-child").css("margin-left","-2px");
} }
} }
......
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 to comment