Commit 5291bbe4 authored by 郭朴讴's avatar 郭朴讴

半导体样式

parent 1cff7321
......@@ -1448,7 +1448,7 @@
width: 100%;
}
.page-business .buslist .bus .txt {
padding: 1.5rem 1.5rem 0 1.5rem;
padding: 1.5rem 1.5rem 30px;
/*height: 190px;*/
position: relative;
}
......
......@@ -10,7 +10,7 @@
position: relative;
}
#tab2 .tdiv{
height: auto;
height: auto!important;
}
</style>
<div class="sub-nav">
......@@ -167,7 +167,7 @@
<script>
$(function () {
$("#tab2 .txt p").wrap("<div class='tdiv' style='height: 100px;overflow: hidden;'></div>");
$("#tab2 .txt p").wrap("<div style='height: 100px;overflow: hidden;'></div>");
var url = $(location).attr('href');
......@@ -202,7 +202,7 @@
})
if ($("#tab2 .txt p").offset().height()>100) {
if ($("#tab2 .txt p").height()>100) {
$("#tab2 .txt").after("<div class='zkbtn' style='position: absolute;right: 0;bottom: 0;'>展开</div>");
}
......
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