Authored by 王水玲

新潮教室新搭配去除收藏数量

@@ -108,7 +108,6 @@ $(document).on('touchstart', '.collection', function() { @@ -108,7 +108,6 @@ $(document).on('touchstart', '.collection', function() {
108 $icon.addClass('collected'); 108 $icon.addClass('collected');
109 } 109 }
110 110
111 - $that.find('.collected-num').html(data.num);  
112 } 111 }
113 112
114 if (code === 201) { 113 if (code === 201) {
@@ -731,7 +731,7 @@ @@ -731,7 +731,7 @@
731 } 731 }
732 732
733 .cont-txt { 733 .cont-txt {
734 - font-size: 30px; 734 + font-size: 28px;
735 line-height: 46px; 735 line-height: 46px;
736 color: #b0b0b0; 736 color: #b0b0b0;
737 margin-top: 10px; 737 margin-top: 10px;
@@ -747,11 +747,17 @@ @@ -747,11 +747,17 @@
747 } 747 }
748 748
749 .title { 749 .title {
750 - font-size: 42px; 750 + font-size: 40px;
751 line-height: 48px; 751 line-height: 48px;
752 752
753 a { 753 a {
754 color: #fff; 754 color: #fff;
  755 + width: 100%;
  756 + overflow: hidden;
  757 + text-overflow: ellipsis;
  758 + display: -webkit-box;
  759 + -webkit-line-clamp: 2;
  760 + -webkit-box-orient: vertical;
755 } 761 }
756 } 762 }
757 763
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 <div class="count-area"> 9 <div class="count-area">
10 <span class="time"><i class="iconfont time-ico">&#xe603;</i>{{time}}</span> 10 <span class="time"><i class="iconfont time-ico">&#xe603;</i>{{time}}</span>
11 <span class="see"><i class="iconfont see-ico">&#xe602;</i>{{seeNum}}</span> 11 <span class="see"><i class="iconfont see-ico">&#xe602;</i>{{seeNum}}</span>
12 - <span class="collection"><i class="iconfont collected-ico {{#isCollected}} collected {{/isCollected}}">&#xe605;</i><i class="collected-num">{{zanNum}}</i></span> 12 + <span class="collection"><i class="iconfont collected-ico {{#isCollected}} collected {{/isCollected}}">&#xe605;</i></span>
13 {{# share}} 13 {{# share}}
14 <a href="{{this}}" class="iconfont forward">&#xe600;</a> 14 <a href="{{this}}" class="iconfont forward">&#xe600;</a>
15 {{/share}} 15 {{/share}}