Showing
6 changed files
with
64 additions
and
1 deletions
1 | {{> layout/header}} | 1 | {{> layout/header}} |
2 | <div class="products-page yoho-page"> | 2 | <div class="products-page yoho-page"> |
3 | {{# products}} | 3 | {{# products}} |
4 | + {{> layout/path-nav}} | ||
4 | <div class="filter-box"> | 5 | <div class="filter-box"> |
5 | {{# filters}} | 6 | {{# filters}} |
6 | {{# checkedConditions}} | 7 | {{# checkedConditions}} |
1 | +<p class="path-nav"> | ||
2 | + {{#each pathNav}} | ||
3 | + {{#if href}} | ||
4 | + <a href="{{href}}"> | ||
5 | + {{name}} | ||
6 | + | ||
7 | + {{#unless @last}} | ||
8 | + <span class="iconfont"></span> | ||
9 | + {{/unless}} | ||
10 | + </a> | ||
11 | + {{^}} | ||
12 | + <span> | ||
13 | + {{name}} | ||
14 | + | ||
15 | + {{#unless @last}} | ||
16 | + <i class="iconfont"></i> | ||
17 | + {{/unless}} | ||
18 | + </span> | ||
19 | + {{/if}} | ||
20 | + {{/each}} | ||
21 | +</p> |
web-static/sass/_path-nav.scss
0 → 100644
@@ -14,6 +14,15 @@ class IndexController extends AbstractAction | @@ -14,6 +14,15 @@ class IndexController extends AbstractAction | ||
14 | 'searchListPage' => true, | 14 | 'searchListPage' => true, |
15 | 15 | ||
16 | 'products' => array( | 16 | 'products' => array( |
17 | + 'pathNav' => array( | ||
18 | + array( | ||
19 | + 'href' => 'm.yohobuy.com', | ||
20 | + 'name' => '首页' | ||
21 | + ), | ||
22 | + array( | ||
23 | + 'name' => '搜索“安德玛”共18个结果' | ||
24 | + ) | ||
25 | + ), | ||
17 | 'filters' => array( | 26 | 'filters' => array( |
18 | 'checkedConditions' => array( | 27 | 'checkedConditions' => array( |
19 | 'conditions' => array( | 28 | 'conditions' => array( |
-
Please register or login to post a comment