Showing
7 changed files
with
23 additions
and
13 deletions
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <div class="home-content"> | 4 | <div class="home-content"> |
5 | <ul> | 5 | <ul> |
6 | {{#content}} | 6 | {{#content}} |
7 | - <li class="content-item channel-{{channel}}"> | 7 | + <li class="content-item channel-{{channelType}}"> |
8 | <a class="img-link" href="{{link}}" target="_blank"> | 8 | <a class="img-link" href="{{link}}" target="_blank"> |
9 | <img src="{{img}}" alt=""/> | 9 | <img src="{{img}}" alt=""/> |
10 | <a class="sub-tag" href="{{subChannelLink}}">{{subChannel}}</a> | 10 | <a class="sub-tag" href="{{subChannelLink}}">{{subChannel}}</a> |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <div class="home-content"> | 4 | <div class="home-content"> |
5 | <ul> | 5 | <ul> |
6 | {{#content}} | 6 | {{#content}} |
7 | - <li class="content-item channel-{{channel}}"> | 7 | + <li class="content-item channel-{{channelType}}"> |
8 | <a class="img-link" href="{{link}}" target="_blank"> | 8 | <a class="img-link" href="{{link}}" target="_blank"> |
9 | <img src="{{img}}" alt=""/> | 9 | <img src="{{img}}" alt=""/> |
10 | <a class="sub-tag" href="{{subChannelLink}}">{{subChannel}}</a> | 10 | <a class="sub-tag" href="{{subChannelLink}}">{{subChannel}}</a> |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | <div class="home-content"> | 14 | <div class="home-content"> |
15 | <ul> | 15 | <ul> |
16 | {{# content}} | 16 | {{# content}} |
17 | - <li class="content-item channel-{{channel}}"> | 17 | + <li class="content-item channel-{{channelType}}"> |
18 | <a class="img-link" href="{{link}}" target="_blank"> | 18 | <a class="img-link" href="{{link}}" target="_blank"> |
19 | <img src="{{img}}" alt=""/> | 19 | <img src="{{img}}" alt=""/> |
20 | </a> | 20 | </a> |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | <div class="home-content"> | 14 | <div class="home-content"> |
15 | <ul> | 15 | <ul> |
16 | {{# content}} | 16 | {{# content}} |
17 | - <li class="content-item channel-{{channel}}"> | 17 | + <li class="content-item channel-{{channelType}}"> |
18 | <a class="img-link" href="{{link}}" target="_blank"> | 18 | <a class="img-link" href="{{link}}" target="_blank"> |
19 | <img src="{{img}}" alt=""/> | 19 | <img src="{{img}}" alt=""/> |
20 | </a> | 20 | </a> |
@@ -6,24 +6,26 @@ | @@ -6,24 +6,26 @@ | ||
6 | </div> | 6 | </div> |
7 | <div class="result"> | 7 | <div class="result"> |
8 | {{^ noq}} | 8 | {{^ noq}} |
9 | - {{#with ../total}} | 9 | + {{# total}} |
10 | {{# isSingular}} | 10 | {{# isSingular}} |
11 | {{val}} result | 11 | {{val}} result |
12 | {{/ isSingular}} | 12 | {{/ isSingular}} |
13 | + | ||
13 | {{^ isSingular}} | 14 | {{^ isSingular}} |
14 | {{val}} results | 15 | {{val}} results |
15 | {{/ isSingular}} | 16 | {{/ isSingular}} |
16 | - {{else}} | 17 | + {{/ total}} |
18 | + | ||
19 | + {{^ total}} | ||
17 | No result | 20 | No result |
18 | - {{/ with}} | 21 | + {{/ total}} |
19 | {{/ noq}} | 22 | {{/ noq}} |
20 | </div> | 23 | </div> |
21 | </div> | 24 | </div> |
22 | {{^ noq}} | 25 | {{^ noq}} |
23 | - {{#with ../total}} | ||
24 | - {{else}} | 26 | + {{^ total}} |
25 | <div style="text-align:center;font-size:20px;">未搜索到相关结果</div> | 27 | <div style="text-align:center;font-size:20px;">未搜索到相关结果</div> |
26 | - {{/ with}} | 28 | + {{/ total}} |
27 | {{/ noq}} | 29 | {{/ noq}} |
28 | <!--content--> | 30 | <!--content--> |
29 | <div class="home-content"> | 31 | <div class="home-content"> |
@@ -5,20 +5,28 @@ | @@ -5,20 +5,28 @@ | ||
5 | <span class="search_btn"></span> | 5 | <span class="search_btn"></span> |
6 | </div> | 6 | </div> |
7 | <div class="result"> | 7 | <div class="result"> |
8 | - {{^ total}}No result{{/ total}} | 8 | + {{^ noq}} |
9 | {{# total}} | 9 | {{# total}} |
10 | {{# isSingular}} | 10 | {{# isSingular}} |
11 | {{val}} result | 11 | {{val}} result |
12 | {{/ isSingular}} | 12 | {{/ isSingular}} |
13 | + | ||
13 | {{^ isSingular}} | 14 | {{^ isSingular}} |
14 | {{val}} results | 15 | {{val}} results |
15 | {{/ isSingular}} | 16 | {{/ isSingular}} |
16 | {{/ total}} | 17 | {{/ total}} |
18 | + | ||
19 | + {{^ total}} | ||
20 | + No result | ||
21 | + {{/ total}} | ||
22 | + {{/ noq}} | ||
17 | </div> | 23 | </div> |
18 | </div> | 24 | </div> |
25 | +{{^ noq}} | ||
19 | {{^ total}} | 26 | {{^ total}} |
20 | -<div style="text-align:center;font-size:20px;">未搜索到相關結果</div> | 27 | +<div style="text-align:center;font-size:20px;">未搜索到相关结果</div> |
21 | {{/ total}} | 28 | {{/ total}} |
29 | +{{/ noq}} | ||
22 | <!--content--> | 30 | <!--content--> |
23 | <div class="home-content"> | 31 | <div class="home-content"> |
24 | <ul> | 32 | <ul> |
1 | {{#content}} | 1 | {{#content}} |
2 | -<li class="content-item channel-{{channel}}"> | 2 | +<li class="content-item channel-{{channelType}}"> |
3 | <a class="img-link" href="{{link}}" target="_blank"> | 3 | <a class="img-link" href="{{link}}" target="_blank"> |
4 | <img src="{{img}}" alt=""/> | 4 | <img src="{{img}}" alt=""/> |
5 | </a> | 5 | </a> |
-
Please register or login to post a comment