Commit a298442e authored by 郭朴讴's avatar 郭朴讴

半导体样式

parent f9c5c1cb
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
} }
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 110px;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>");
} }
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
$("#tab3 .row").addClass("disflex"); $("#tab3 .row").addClass("disflex");
$("#tab2 .txt p").each(function(){ $("#tab2 .txt p").each(function(){
console.log($(this).height()); console.log($(this).height());
if ($(this).height()>110) { if ($(this).height()>120) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>"); $(this).parent().parent().append("<div class='zkbtn'>open</div>");
} }
if ($(this).parent().hasClass("tdiv")) { if ($(this).parent().hasClass("tdiv")) {
......
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
} }
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 110px;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>");
} }
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
$("#tab3 .row").addClass("disflex"); $("#tab3 .row").addClass("disflex");
$("#tab2 .txt p").each(function(){ $("#tab2 .txt p").each(function(){
console.log($(this).height()); console.log($(this).height());
if ($(this).height()>110) { if ($(this).height()>120) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>"); $(this).parent().parent().append("<div class='zkbtn'>open</div>");
} }
if ($(this).parent().hasClass("tdiv")) { if ($(this).parent().hasClass("tdiv")) {
......
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