Authored by 沈志敏

fix bug

@@ -29,7 +29,10 @@ module.exports = { @@ -29,7 +29,10 @@ module.exports = {
29 return api.get('', { 29 return api.get('', {
30 method: 'app.brand.newBrandList', 30 method: 'app.brand.newBrandList',
31 yh_channel: yhChannel[params.channel].channel 31 yh_channel: yhChannel[params.channel].channel
32 - }, {code: 200, cache: true}); 32 + }, {
  33 + code: 200,
  34 + cache: true
  35 + });
33 }, 36 },
34 37
35 /** 38 /**
@@ -39,6 +42,9 @@ module.exports = { @@ -39,6 +42,9 @@ module.exports = {
39 getCateListData(params) { 42 getCateListData(params) {
40 return api.get('', Object.assign(params, { 43 return api.get('', Object.assign(params, {
41 method: 'app.sort.get' 44 method: 'app.sort.get'
42 - }, {code: 200, cache: true})); 45 + }, {
  46 + code: 200,
  47 + cache: true
  48 + }));
43 } 49 }
44 }; 50 };
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 <div class="sub-level-container"> 10 <div class="sub-level-container">
11 <ul class="sub-level"> 11 <ul class="sub-level">
12 <li class="ellipsis"> 12 <li class="ellipsis">
13 - <a v-if="jump" href="/product/list?sort={{rightAll.sortId}}&sort_name=全部{{rightAll.categoryName}}&gender={{gender}}">全部{{rightAll.categoryName}}</a> 13 + <a v-if="jump" href="/product/list?sort={{rightAll.sortId || '' }}&sort_name=全部{{rightAll.categoryName || ''}}&gender={{gender}}">全部{{rightAll.categoryName}}</a>
14 <a v-else @click="noJumpReturn(rightAll.sortId, '全部' + rightAll.categoryName)">全部{{rightAll.categoryName}}</a> 14 <a v-else @click="noJumpReturn(rightAll.sortId, '全部' + rightAll.categoryName)">全部{{rightAll.categoryName}}</a>
15 </li> 15 </li>
16 </ul> 16 </ul>
@@ -86,12 +86,12 @@ @@ -86,12 +86,12 @@
86 margin-left: -$w; 86 margin-left: -$w;
87 margin-right: -$w; 87 margin-right: -$w;
88 padding: 0 $w; 88 padding: 0 $w;
89 - height: 100px; 89 + font-size: 34px;
  90 + height: 102px;
90 line-height: 100px; 91 line-height: 100px;
91 overflow: hidden; 92 overflow: hidden;
92 text-overflow: ellipsis; 93 text-overflow: ellipsis;
93 white-space: nowrap; 94 white-space: nowrap;
94 -  
95 } 95 }
96 } 96 }
97 97