Authored by lore-w

意见反馈bug

@@ -39,10 +39,14 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); @@ -39,10 +39,14 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
39 border-top: 1px solid #e0e0e0; 39 border-top: 1px solid #e0e0e0;
40 border-bottom: pxToRem(30px) solid #f0f0f0; 40 border-bottom: pxToRem(30px) solid #f0f0f0;
41 41
42 - > img {  
43 - display: block;  
44 - overflow: hidden; 42 + .suggest-item-img {
45 width: 100%; 43 width: 100%;
  44 + overflow: hidden;
  45 + > img {
  46 + display: block;
  47 + overflow: hidden;
  48 + width: 100%;
  49 + }
46 } 50 }
47 51
48 > h2 { 52 > h2 {
@@ -10,18 +10,20 @@ @@ -10,18 +10,20 @@
10 {{# suggestContent}} 10 {{# suggestContent}}
11 <div class="suggest-item" data-id="{{suggest_id}}"> 11 <div class="suggest-item" data-id="{{suggest_id}}">
12 {{#if imgUrl}} 12 {{#if imgUrl}}
  13 + <div class="suggest-item-img">
13 <img class="lazy" data-original="{{imgUrl}}" alt=""/> 14 <img class="lazy" data-original="{{imgUrl}}" alt=""/>
  15 + </div>
14 {{/if}} 16 {{/if}}
15 <h2>{{title}}</h2> 17 <h2>{{title}}</h2>
16 <p>{{content}}</p> 18 <p>{{content}}</p>
17 19
18 - <div class="suggest-type suggest-good"> 20 + <div class="suggest-type suggest-good {{#good}}show{{/good}}">
19 <div class="active"> 21 <div class="active">
20 <span class="iconfont">&#xe601;</span> 22 <span class="iconfont">&#xe601;</span>
21 <span>靠谱,谢谢您的反馈</span> 23 <span>靠谱,谢谢您的反馈</span>
22 </div> 24 </div>
23 </div> 25 </div>
24 - <div class="suggest-type suggest-bad"> 26 + <div class="suggest-type suggest-bad {{# bad}}show{{/ bad}}">
25 <div class="active"> 27 <div class="active">
26 <span class="iconfont">&#xe601;</span> 28 <span class="iconfont">&#xe601;</span>
27 <span>不靠谱,谢谢您的反馈</span> 29 <span>不靠谱,谢谢您的反馈</span>