This commit is contained in:
xuhe@fangjia.com
2018-05-30 18:17:32 +08:00
parent 0b089f5c89
commit f171c46dd0
2 changed files with 10 additions and 9 deletions
+8 -7
View File
@@ -494,6 +494,7 @@ input::-webkit-input-placeholder{
.cardInfo01 .card-header{padding:0.5rem 0;font-size:0.85rem;}
.cardInfo01 .card-content-inner{padding:0.5rem 0;}
.cardInfo01 .card-footer{padding:0.5rem 0;}
.cardInfo01 .card-footer span label{font-size:0.55rem;line-height:0.8rem;display:inline-block;vertical-align:text-top;}
.cardInfo01a .card-content-inner{padding:0;}
.cardInfo01a .card-content-inner .tag{display:block;margin-bottom:0.5rem;}
@@ -506,8 +507,8 @@ input::-webkit-input-placeholder{
.cardInfo01b .card-footer span{font-size:0.7rem;color:#999;display:inline-block;width:100%;word-wrap:break-word;white-space:normal;}
.cardInfo01c .card-footer span small{width:1.5rem;height:0.8rem;background:#F0F0F0;border-radius:0.1rem;font-size:0.55rem;text-align:center;line-height:0.8rem;display:inline-block;margin-right:0.3rem;}
.cardInfo01c .card-footer span label{font-size:0.55rem;color:#B5B5B5;line-height:0.8rem;}
.cardInfo01c .card-footer span small{width:1.5rem;height:0.8rem;background:#F0F0F0;border-radius:0.1rem;font-size:0.55rem;line-height:0.8rem;text-align:center;display:inline-block;vertical-align:middle;margin-right:0.3rem;}
.cardInfo01c .card-footer span label{vertical-align:middle;}
.cardInfo02{padding:0.25rem 0;}
.cardInfo02 img{width:6.5rem;height:5.2rem;}
@@ -525,7 +526,7 @@ input::-webkit-input-placeholder{
.cardInfo02a img{width:5.8rem;height:3.6rem;}
.cardInfo02a .item-title{line-height:1.2rem;}
.cardInfo02a .item-subtitle{position:absolute;bottom:0.3rem;}
.cardInfo02a .item-subtitle span label{font-size:0.55rem;color:#B5B5B5;}
.cardInfo02a .item-subtitle span label{font-size:0.55rem;color:#B5B5B5;display:inline-block;vertical-align:text-top;}
.cardInfo03 .card-header{padding-left:0;padding-right:0;font-size:0.85rem;}
.cardInfo03 .card-content-inner{padding-top:0;}
@@ -543,12 +544,12 @@ input::-webkit-input-placeholder{
.icon-eye-white{width:0.89rem;height:0.57rem;background:url(../images/icon-eye-white.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
.icon-eye-grey{width:0.85rem;height:0.6rem;background:url(../images/icon-eye-grey.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
.icon-eye-grey01{width:0.7rem;height:0.55rem;background:url(../images/icon-eye-grey01.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
.icon-eye-orange{width:0.7rem;height:0.5rem;background:url(../images/icon-eye-orange.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
.icon-eye-grey01{width:0.7rem;height:0.55rem;background:url(../images/icon-eye-grey01.png) no-repeat center center;background-size:100%;margin-right:0.2rem;}
.icon-eye-orange{width:0.7rem;height:0.5rem;background:url(../images/icon-eye-orange.png) no-repeat center center;background-size:100%;margin-right:0.2rem;}
.icon-comments-white{width:13px;height:12px;background:url(../images/icon-comments-white.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
.icon-comments-grey{width:13px;height:12px;background:url(../images/icon-comments-grey.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
.icon-comments-grey01{width:0.55rem;height:0.5rem;background:url(../images/icon-comments-grey01.png) no-repeat center center;background-size:100%;margin-right:0.3rem;margin-left:0.5rem;vertical-align:baseline;}
.icon-comments-orange{width:0.55rem;height:0.5rem;background:url(../images/icon-comments-orange.png) no-repeat center center;background-size:100%;margin-right:0.3rem;margin-left:0.5rem;vertical-align:baseline;}
.icon-comments-grey01{width:0.6rem;height:0.55rem;background:url(../images/icon-comments-grey01.png) no-repeat center center;background-size:100%;margin-right:0.2rem;margin-left:0.5rem;}
.icon-comments-orange{width:0.6rem;height:0.55rem;background:url(../images/icon-comments-orange.png) no-repeat center center;background-size:100%;margin-right:0.2rem;margin-left:0.5rem;}
.icon-light-grey{width:45px;height:45px;background:url(../images/icon-light-grey.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;}
.icon-light-red{width:45px;height:45px;background:url(../images/icon-light-red.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;}
.icon-light-blue{width:45px;height:45px;background:url(../images/icon-light-blue.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;}
+2 -2
View File
@@ -1866,8 +1866,8 @@ function addItems(number, lastIndex) {
'<img src="cardInfoPlaceholderImg.png" onload="loadImg(\''+dataObj[i].coverImg+'\', this)">'+
'<div class="card-footer">'+
'<span>'+
'<i class="icon icon-eye-orange"></i><label id="visitCount_'+dataObj[i].id+'">'+numberConver(dataObj[i].visitCount)+'人</label>'+
'<i class="icon icon-comments-orange"></i><label id="visitComment_'+dataObj[i].id+'">'+numberConver(dataObj[i].recommendCommentCount)+'条</label>'+
'<i class="icon icon-eye-grey01"></i><label id="visitCount_'+dataObj[i].id+'">'+numberConver(dataObj[i].visitCount)+'人</label>'+
'<i class="icon icon-comments-grey01"></i><label id="visitComment_'+dataObj[i].id+'">'+numberConver(dataObj[i].recommendCommentCount)+'条</label>'+
'</span>'+
'</div>'+
'</div>';