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

半导体样式

parent 59a8241b
......@@ -1267,7 +1267,7 @@
.page-teams .top .intro p {
font-size: 14px;
line-height: 1.8;
text-align: justify;
/*text-align: justify;*/
}
.page-teams .item {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
......@@ -1278,7 +1278,7 @@
}
.page-teams .item .text {
padding: 1rem 1.5rem;
text-align: justify;
/*text-align: justify;*/
position: relative;
}
@media only screen and (min-width: 768px) {
......@@ -1401,7 +1401,7 @@
max-width: 100%;
}
.page-business p {
line-height: 1.8;
line-height: 1.5;
}
.page-business .se2 {
text-align: center;
......@@ -1449,7 +1449,7 @@
width: 100%;
}
.page-business .buslist .bus .txt {
padding: 1.5rem 1.5rem 30px;
padding: 1.5rem 1.5rem 20px;
/*height: 190px;*/
position: relative;
}
......@@ -1520,6 +1520,7 @@
box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
padding: 15px;
padding-bottom: 30px;
display: block;
/*height: 280px;*/
}
......@@ -1542,6 +1543,7 @@
}
.page-business .item001 p {
color: #999;
margin: 0;
}
.page-business .art-title {
height: 90px;
......
This diff is collapsed.
......@@ -227,7 +227,7 @@
$(function () {
if (IsPC()) {
$("#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: 195px;overflow: hidden;'></div>");
}
var url = $(location).attr('href');
var oindex = url.indexOf("#");
......@@ -264,11 +264,20 @@
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>");
}
if ($("#tab3 .top .intro").parent().hasClass("tdiv")) {
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("close");
}else{
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
}
$("#tab3 .row .text p").each(function(){
if ($(this).height()>175) {
if ($(this).height()>195) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn1").html("close");
}else{
$(this).parent().parent().find(".zkbtn1").html("open");
}
})
$(".zkbtn").click(function(event){
......
......@@ -51,7 +51,7 @@
$(function () {
if (IsPC()) {
$("#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: 195px;overflow: hidden;'></div>");
}
var url = $(location).attr('href');
var oindex = url.indexOf("#");
......@@ -88,11 +88,20 @@
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>");
}
if ($("#tab3 .top .intro").parent().hasClass("tdiv")) {
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("close");
}else{
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
}
$("#tab3 .row .text p").each(function(){
if ($(this).height()>175) {
if ($(this).height()>195) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn1").html("close");
}else{
$(this).parent().parent().find(".zkbtn1").html("open");
}
})
$(".zkbtn").click(function(event){
......
......@@ -96,7 +96,7 @@
}
$(function () {
if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 100px;overflow: hidden;'></div>");
$("#tab2 .txt p").wrap("<div style='height: 110px;overflow: hidden;'></div>");
$("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>");
}
......@@ -136,15 +136,25 @@
$("#tab3 .row").addClass("disflex");
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>100) {
if ($(this).height()>110) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$("#tab3 p").each(function(){
console.log($(this).height());
if ($(this).height()>50) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$(".zkbtn").click(function(event){
event.stopPropagation();
......
......@@ -177,7 +177,7 @@
}
$(function () {
if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 100px;overflow: hidden;'></div>");
$("#tab2 .txt p").wrap("<div style='height: 110px;overflow: hidden;'></div>");
$("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>");
}
......@@ -216,15 +216,25 @@
$("#tab3 .row").addClass("disflex");
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>100) {
if ($(this).height()>110) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$("#tab3 p").each(function(){
console.log($(this).height());
if ($(this).height()>50) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$(".zkbtn").click(function(event){
event.stopPropagation();
......
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