Showing
1 changed file
with
17 additions
and
15 deletions
@@ -92,20 +92,18 @@ | @@ -92,20 +92,18 @@ | ||
92 | {{/ default}} | 92 | {{/ default}} |
93 | </ul> | 93 | </ul> |
94 | 94 | ||
95 | - {{#unless hideMore}} | ||
96 | - <div class="brand-opt"> | ||
97 | - {{#if showMore}} | ||
98 | - <span id="brand-more" class="brand-more"> | ||
99 | - <em>更多</em> | ||
100 | - <i class="iconfont"></i> | ||
101 | - </span> | ||
102 | - {{/if}} | ||
103 | - | ||
104 | - {{#if showMulti}} | ||
105 | - <span id="brand-multi" class="multi-select">多选 +</span> | ||
106 | - {{/if}} | ||
107 | - </div> | ||
108 | - {{/unless}} | 95 | + <div class="brand-opt"> |
96 | + {{#if showMore}} | ||
97 | + <span id="brand-more" class="brand-more"> | ||
98 | + <em>更多</em> | ||
99 | + <i class="iconfont"></i> | ||
100 | + </span> | ||
101 | + {{/if}} | ||
102 | + | ||
103 | + {{#if showMulti}} | ||
104 | + <span id="brand-multi" class="multi-select">多选 +</span> | ||
105 | + {{/if}} | ||
106 | + </div> | ||
109 | 107 | ||
110 | <div class="brand-panel hide"> | 108 | <div class="brand-panel hide"> |
111 | <div class="panel-head clearfix"> | 109 | <div class="panel-head clearfix"> |
@@ -225,7 +223,11 @@ | @@ -225,7 +223,11 @@ | ||
225 | {{#each sub}} | 223 | {{#each sub}} |
226 | <li class="attr {{#if checked}}checked{{/if}}"> | 224 | <li class="attr {{#if checked}}checked{{/if}}"> |
227 | <a href="{{href}}"> | 225 | <a href="{{href}}"> |
228 | - <span class="iconfont checkbox" data-id="{{id}}"></span> | 226 | + {{#if checked}} |
227 | + <span class="iconfont checkbox checked" data-id="{{id}}"></span> | ||
228 | + {{^}} | ||
229 | + <span class="iconfont checkbox" data-id="{{id}}"></span> | ||
230 | + {{/if}} | ||
229 | <span>{{name}}</span> | 231 | <span>{{name}}</span> |
230 | </a> | 232 | </a> |
231 | </li> | 233 | </li> |
-
Please register or login to post a comment