Authored by 李靖

feature/gallery

@@ -62,7 +62,6 @@ @@ -62,7 +62,6 @@
62 </a> 62 </a>
63 {{/ privilegeList}} 63 {{/ privilegeList}}
64 <div class="transverse"> 64 <div class="transverse">
65 - {{#if privileges}}  
66 {{# privileges}} 65 {{# privileges}}
67 <div class="level-item"> 66 <div class="level-item">
68 <img class="item-ico" src="{{image icon 125 125}}"> 67 <img class="item-ico" src="{{image icon 125 125}}">
@@ -70,12 +69,14 @@ @@ -70,12 +69,14 @@
70 <span class="state">{{status}}</span> 69 <span class="state">{{status}}</span>
71 </div> 70 </div>
72 {{/ privileges}} 71 {{/ privileges}}
73 - {{else}}  
74 - <div class="no-privilege">  
75 - 暂无特权  
76 - </div>  
77 - {{/if}}  
78 </div> 72 </div>
  73 + {{#unless privilegeList}}
  74 + {{#unless privileges}}
  75 + <div class="no-privilege">
  76 + 暂无特权
  77 + </div>
  78 + {{/unless}}
  79 + {{/unless}}
79 </div> 80 </div>
80 81
81 {{#if birthShow}} 82 {{#if birthShow}}
@@ -545,13 +545,13 @@ @@ -545,13 +545,13 @@
545 overflow-y: hidden; 545 overflow-y: hidden;
546 white-space: nowrap; 546 white-space: nowrap;
547 width: 100%; 547 width: 100%;
  548 + }
548 549
549 - .no-privilege {  
550 - font-size: 28px;  
551 - color: #b0b0b0;  
552 - text-align: center;  
553 - line-height: 200px;  
554 - } 550 + .no-privilege {
  551 + font-size: 28px;
  552 + color: #b0b0b0;
  553 + text-align: center;
  554 + line-height: 200px;
555 } 555 }
556 556
557 .privilege-item { 557 .privilege-item {