Bläddra i källkod

Merge branch 'dev/v1.0.3_yf' of jianyu/jybxseo into feature/v1.0.3

yangfeng 1 år sedan
förälder
incheckning
023b2c444a

+ 1 - 1
resource/staticres/css/mobile/detail.css

@@ -41,7 +41,7 @@
   padding: .24rem .4rem;
   font-size: .24rem;
   line-height: .36rem;
-  text-align: center;
+  text-align: justify;
   color: #1D1D1D;
   border: 1px solid #87DFEA;
   background: linear-gradient(rgba(234, 248, 250, 1), rgba(234, 248, 250, 0));

+ 2 - 4
resource/template/mobile/components/tag-bidding-list.html

@@ -1,7 +1,7 @@
 {{$global:=.global}}
+{{if ne (len .data) 0}}
 <section class="bidding-list">
   <h3 class="tag-divider">{{.title}}</h3>
-  {{if ne (len .data) 0}}
   {{range $v:= .data}}
   <div class="tag-card-list">
     <a class="list-title ellipsis-5" href="{{$v.Url}}" title="{{$v.Title}}">{{$v.Title}}</a>
@@ -24,7 +24,5 @@
     </div>
   </div>
   {{end}}
-  {{else}}
-  {{include "mobile/common/empty.html" .}}
-  {{end}}
 </section>
+{{end}}