Commit 4f8c4a3d authored by 郭朴讴's avatar 郭朴讴

半导体样式

parent a298442e
...@@ -226,8 +226,12 @@ ...@@ -226,8 +226,12 @@
} }
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 360px;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>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
$("#tab3 .row:first-child").css("margin-left","-2px");
}
} }
var url = $(location).attr('href'); var url = $(location).attr('href');
var oindex = url.indexOf("#"); var oindex = url.indexOf("#");
...@@ -261,7 +265,7 @@ ...@@ -261,7 +265,7 @@
$(".zkbtn,.zkbtn1").remove(); $(".zkbtn,.zkbtn1").remove();
$("#tab3 .row").addClass("disflex"); $("#tab3 .row").addClass("disflex");
if ($("#tab3 .top .intro").height()>360) { if ($("#tab3 .top .intro").height()>353) {
$("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>"); $("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>");
} }
if ($("#tab3 .top .intro").parent().hasClass("tdiv")) { if ($("#tab3 .top .intro").parent().hasClass("tdiv")) {
......
...@@ -50,8 +50,12 @@ ...@@ -50,8 +50,12 @@
} }
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 360px;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>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
$("#tab3 .row:first-child").css("margin-left","-2px");
}
} }
var url = $(location).attr('href'); var url = $(location).attr('href');
var oindex = url.indexOf("#"); var oindex = url.indexOf("#");
...@@ -85,7 +89,7 @@ ...@@ -85,7 +89,7 @@
$(".zkbtn,.zkbtn1").remove(); $(".zkbtn,.zkbtn1").remove();
$("#tab3 .row").addClass("disflex"); $("#tab3 .row").addClass("disflex");
if ($("#tab3 .top .intro").height()>360) { if ($("#tab3 .top .intro").height()>353) {
$("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>"); $("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>");
} }
if ($("#tab3 .top .intro").parent().hasClass("tdiv")) { if ($("#tab3 .top .intro").parent().hasClass("tdiv")) {
......
...@@ -97,8 +97,12 @@ ...@@ -97,8 +97,12 @@
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 120px;overflow: hidden;'></div>"); $("#tab2 .txt p").wrap("<div style='height: 120px;overflow: hidden;'></div>");
$("#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字符串
if (userAgent.indexOf("Safari") > -1) {
$("#tab2 .row:first-child").css("margin-left","-2px");
$("#tab3 .row:first-child").css("margin-left","-2px");
}
} }
......
...@@ -178,8 +178,12 @@ ...@@ -178,8 +178,12 @@
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 120px;overflow: hidden;'></div>"); $("#tab2 .txt p").wrap("<div style='height: 120px;overflow: hidden;'></div>");
$("#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字符串
if (userAgent.indexOf("Safari") > -1) {
$("#tab2 .row:first-child").css("margin-left","-2px");
$("#tab3 .row:first-child").css("margin-left","-2px");
}
} }
var url = $(location).attr('href'); var url = $(location).attr('href');
......
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