Authored by 郝肖肖

默认筛选选中

@@ -555,6 +555,7 @@ const getShopData = (req, shopId, uid, isApp) => { @@ -555,6 +555,7 @@ const getShopData = (req, shopId, uid, isApp) => {
555 return Promise.all([ 555 return Promise.all([
556 searchModel.getFilterSearchData({ 556 searchModel.getFilterSearchData({
557 shop_id: shopId, 557 shop_id: shopId,
  558 + type: 'default',//默认
558 brand: brandData.join(','), 559 brand: brandData.join(','),
559 order: '0', 560 order: '0',
560 channel: channel 561 channel: channel
@@ -123,9 +123,9 @@ @@ -123,9 +123,9 @@
123 123
124 <div class="discount-area first" id="navlist2"> 124 <div class="discount-area first" id="navlist2">
125 <ul id="list-nav" class="home-sub-nav list-nav pos-list clearfix"> 125 <ul id="list-nav" class="home-sub-nav list-nav pos-list clearfix">
126 - <li data-bp-id="shop_listnav_new_1" class="new active buriedpoint first-li-more"> 126 + <li data-bp-id="shop_listnav_default_1" class="default active buriedpoint first-li-more">
127 <a href="javascript:void(0);"> 127 <a href="javascript:void(0);">
128 - <span class="spanTest">最新</span> 128 + <span class="spanTest">默认</span>
129 <span class="iconfont up cur hide">&#xe615;</span> 129 <span class="iconfont up cur hide">&#xe615;</span>
130 <span class="iconfont down cur">&#xe616;</span> 130 <span class="iconfont down cur">&#xe616;</span>
131 </a> 131 </a>
@@ -193,9 +193,9 @@ @@ -193,9 +193,9 @@
193 </ul> 193 </ul>
194 <div id="pos-list" class='hide'> 194 <div id="pos-list" class='hide'>
195 <ul class="home-sub-nav pos-list"> 195 <ul class="home-sub-nav pos-list">
196 - <li class="new active buriedpoint first-li-more" data-bp-id="shop_poslist_new_1"> 196 + <li class="default active buriedpoint first-li-more" data-bp-id="shop_listnav_default_1">
197 <a href="javascript:void(0);"> 197 <a href="javascript:void(0);">
198 - <span class="spanTest">最新</span> 198 + <span class="spanTest">默认</span>
199 <span class="iconfont cur">&#xe616;</span> 199 <span class="iconfont cur">&#xe616;</span>
200 <b></b> 200 <b></b>
201 </a> 201 </a>
@@ -232,7 +232,6 @@ @@ -232,7 +232,6 @@
232 <ul> 232 <ul>
233 <li class='active default' data-bp-id='shop_listnav_default_1'>默认</li> 233 <li class='active default' data-bp-id='shop_listnav_default_1'>默认</li>
234 <li class='new' data-bp-id='shop_listnav_new_1'>最新</li> 234 <li class='new' data-bp-id='shop_listnav_new_1'>最新</li>
235 - <li class='sale' data-bp-id='shop_listnav_sale_1'>销量</li>  
236 </ul> 235 </ul>
237 </div> 236 </div>
238 </div> 237 </div>
@@ -89,9 +89,9 @@ @@ -89,9 +89,9 @@
89 89
90 <div> 90 <div>
91 <ul id="list-nav" class="list-nav clearfix"> 91 <ul id="list-nav" class="list-nav clearfix">
92 - <li class="new active buriedpoint first-li-more" data-bp-id="shop_listnav_new_1"> 92 + <li class="default active buriedpoint first-li-more" data-bp-id="shop_listnav_default_1">
93 <a href="javascript:void(0);"> 93 <a href="javascript:void(0);">
94 - <span class="nav-txt">最新</span> 94 + <span class="nav-txt">默认</span>
95 <span class="iconfont up cur hide">&#xe615;</span> 95 <span class="iconfont up cur hide">&#xe615;</span>
96 <span class="iconfont down cur">&#xe616;</span> 96 <span class="iconfont down cur">&#xe616;</span>
97 </a> 97 </a>