diff --git a/application/wechat/view/news.index.html b/application/wechat/view/news.index.html index 60bee58e8..e4e3aeb2e 100644 --- a/application/wechat/view/news.index.html +++ b/application/wechat/view/news.index.html @@ -24,8 +24,8 @@ <div class="hr-line-dashed"></div> {else} <div class='news_articel_item other'> - <div data-tips-image='{$v.local_url}' class='left-image' style='background-image:url("{$v.local_url}");'></div> <div class='right-text'>{$v.title}</div> + <div data-tips-image='{$v.local_url}' class='left-image' style='background-image:url("{$v.local_url}");'></div> </div> <div class="hr-line-dashed"></div> {/if} @@ -63,9 +63,9 @@ #news_box .news_item {position:relative;left:0;top:0;padding:5px;border:1px solid #ccc;box-sizing:content-box;margin:10px;width: 300px} #news_box .news_item .news_articel_item{background-position:center center;background-size:100%;position:relative;height:150px;width:100%;overflow:hidden;} #news_box .news_item .news_articel_item p {padding:5px;font-size:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow: ellipsis;background: rgba(0, 0, 0, 0.7);position:absolute;width: 100%;bottom:0} - #news_box .news_item .news_articel_item.other{height:80px;padding:5px 0;} - #news_box .news_item .news_articel_item .left-image{width:100px;height:75px;position:relative;float:left;background-position:center center;background-size:100%;overflow:hidden;} - #news_box .news_item .news_articel_item .right-text{float:left;width:200px;padding-left: 5px;} + #news_box .news_item .news_articel_item.other{height:50px;padding:5px 0;} + #news_box .news_item .news_articel_item .left-image{width:50px;height:50px;position:relative;float:left;background-position:center center;background-size:100%;overflow:hidden;} + #news_box .news_item .news_articel_item .right-text{float:left;width:250px;padding-right:10px;line-height:45px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} #news_box .news_item .hr-line-dashed:last-child{display:none} #news_box .hr-line-dashed{margin:6px 0 1px 0} #news_box .news_tools{top:0;z-index:80;color:#fff;width:312px;margin-left:-6px;position:absolute;background: rgba(0, 0, 0, 0.7);text-align:right;padding:0 5px;line-height: 38px;}