Commit 085b9598 authored by 郭朴讴's avatar 郭朴讴

半导体

parent 4f8c4a3d
...@@ -228,8 +228,10 @@ ...@@ -228,8 +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)
$("#tab3 .row:first-child").css("margin-left","-2px"); $("#tab3 .row:first-child").css("margin-left","-2px");
} }
} }
......
...@@ -52,8 +52,10 @@ ...@@ -52,8 +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)
$("#tab3 .row:first-child").css("margin-left","-2px"); $("#tab3 .row: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