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

半导体样式

parent 47ebdfec
...@@ -2367,3 +2367,9 @@ a:hover { ...@@ -2367,3 +2367,9 @@ a:hover {
.tdivs{ .tdivs{
height: 620px!important; height: 620px!important;
} }
.disflex{
display: flex;
display: -webkit-flex;
flex-wrap: wrap;
-webkit-flex-wrap: wrap;
}
This diff is collapsed.
...@@ -244,6 +244,7 @@ ...@@ -244,6 +244,7 @@
$(this).addClass("active"); $(this).addClass("active");
var con = $(this).attr("href"); var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active"); $(con).addClass("active").siblings().removeClass("active");
$("#tab3 .row").addClass("disflex");
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>"); $("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>"); $("#tab3 .row .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
......
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
$(this).addClass("active"); $(this).addClass("active");
var con = $(this).attr("href"); var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active"); $(con).addClass("active").siblings().removeClass("active");
$("#tab3 .row").addClass("disflex");
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>"); $("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>"); $("#tab3 .row .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
......
...@@ -120,6 +120,8 @@ ...@@ -120,6 +120,8 @@
$(this).addClass("active"); $(this).addClass("active");
var con = $(this).attr("href"); var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active"); $(con).addClass("active").siblings().removeClass("active");
$("#tab2 .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()>100) { if ($(this).height()>100) {
......
...@@ -199,6 +199,8 @@ ...@@ -199,6 +199,8 @@
$(this).addClass("active"); $(this).addClass("active");
var con = $(this).attr("href"); var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active"); $(con).addClass("active").siblings().removeClass("active");
$("#tab2 .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()>100) { if ($(this).height()>100) {
......
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