zhengjinyi %!s(int64=3) %!d(string=hai) anos
pai
achega
0dba4aa8c2

+ 1 - 2
src/main/resources/static/css/product/list.css

@@ -162,5 +162,4 @@ li{list-style:none}
     .product-screen-btn{width: 100%;height: 11.2vw;float: left;margin-top: 4vw;}
     .product-screen-btn .sub-button{width: 64vw;height: 11.2vw;margin: 0 auto;line-height: 11.2vw;background-color: #E15621;text-align: center;font-size: 3.4ve;color: #FFFFFF;}
 
-}
-
+}

+ 6 - 6
src/main/resources/static/js/product/list.js

@@ -179,8 +179,8 @@ var productList = new Vue({
         },
         choiceBrandHref: function (brand, index) {// PC端跳转链接
             window.location.href =  '/product/list.html?keyword=' + encodeURIComponent(this.params.keyword) +
-                                    '&bpn=' + brand.id + '&pro=' + this.params.promotionFlag +
-                                    '&newg='+ this.params.newFlag;
+                '&bpn=' + brand.id + '&pro=' + this.params.promotionFlag +
+                '&newg='+ this.params.newFlag;
         },
         choiceBrandAllHref:function(){// PC全部品牌跳转链接
             window.location.href =  '/product/list.html?keyword=' + encodeURIComponent(this.params.keyword) +
@@ -234,13 +234,13 @@ var productList = new Vue({
         hanldCheckedActiviHref(){// 选择促销商品选项跳转链接(PC专用)
             var promotionFlag = this.isActiviChecked ? 0 : 1;
             window.location.href = '/product/list.html?keyword='+encodeURIComponent(this.params.keyword)+
-                                   '&bpn='+this.hrefBrandId+ '&pro='+promotionFlag+'&newg='+ this.params.newFlag;
+                '&bpn='+this.hrefBrandId+ '&pro='+promotionFlag+'&newg='+ this.params.newFlag;
         },
         hanldCheckedNewsHref(){// 选择新品选项跳转链接(PC专用)
             var newFlag = this.isNewsChecked ? 0 : 1;
             window.location.href = '/product/list.html?keyword='+encodeURIComponent(this.params.keyword)+
-                                   '&bpn='+this.hrefBrandId+ '&pro=' + this.params.promotionFlag +
-                                   '&newg='+newFlag;
+                '&bpn='+this.hrefBrandId+ '&pro=' + this.params.promotionFlag +
+                '&newg='+newFlag;
         },
         showIsProductScreen:function(){//
             this.isProductScreen = true;
@@ -328,4 +328,4 @@ var productList = new Vue({
             });
         }
     }
-});
+});

+ 1 - 1
src/main/resources/templates/product/list.html

@@ -221,4 +221,4 @@
         th:src="@{/js/common/serviceapi/product.service.js(v=${version})}"></script>
 <script charset="utf-8" type="text/javascript" th:src="@{/js/product/list.js(v=${version})}"></script>
 </body>
-</html>
+</html>