|
|
@@ -280,6 +280,18 @@
|
|
|
/*max-height: 13rem;*/
|
|
|
/*overflow: hidden;*/
|
|
|
}
|
|
|
+ .project-intro .bottom .list-show .show-all p{
|
|
|
+ margin-top: 0;
|
|
|
+ margin-bottom: .22rem;
|
|
|
+ font-size: .28rem !important ;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+ .project-intro .bottom .list-show .show-all a{
|
|
|
+ width: 100% !important;
|
|
|
+ }
|
|
|
+ .project-intro .bottom .list-show .show-all a img{
|
|
|
+ width: 100% !important;
|
|
|
+ }
|
|
|
.project-intro .bottom p{
|
|
|
line-height: .42rem;
|
|
|
font-size: .28rem;
|
|
|
@@ -437,6 +449,11 @@
|
|
|
color: #1e1e1e;
|
|
|
}
|
|
|
/*结项报告*/
|
|
|
+ .footer{
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ }
|
|
|
.footer a.looks{
|
|
|
width: 100%;
|
|
|
height: 1rem;
|
|
|
@@ -721,7 +738,7 @@
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
|
<div class="list-show">
|
|
|
- <div class="show-all" style="max-height: 70px" ng-bind-html="introduction">
|
|
|
+ <div class="show-all" ng-bind-html="introduction">
|
|
|
|
|
|
</div>
|
|
|
<div class="btnClick btnDown" style="display:none">
|
|
|
@@ -1009,16 +1026,18 @@
|
|
|
$(document).ready(function() {
|
|
|
// debugger
|
|
|
var $showAll = $('.show-all');
|
|
|
+
|
|
|
var $height = document.documentElement.clientHeight;
|
|
|
- if ($height > 70) {
|
|
|
+ console.log($height)
|
|
|
+ if ($height > 700) {
|
|
|
$showAll.css({
|
|
|
- height: 70,
|
|
|
- overflow: 'hidden'
|
|
|
+ 'height': '6rem',
|
|
|
+ 'overflow': 'hidden'
|
|
|
}).next().css('display','block');
|
|
|
} else {
|
|
|
$showAll.css({
|
|
|
- height: 'auto',
|
|
|
- overflow: 'visible'
|
|
|
+ 'height': 'auto',
|
|
|
+ 'overflow': 'visible'
|
|
|
}).next().css('display','none');
|
|
|
}
|
|
|
});
|
|
|
@@ -1033,7 +1052,7 @@
|
|
|
$('.btnUp').on('click',function(){
|
|
|
// debugger
|
|
|
$(this).css('display','none').prev().prev().css({
|
|
|
- height: 700,
|
|
|
+ height: '6rem',
|
|
|
overflow: 'hidden'
|
|
|
})
|
|
|
$(this).prev().css('display','block')
|