Administrator 4 years ago
parent
commit
944628297d

+ 2 - 2
src/main/resources/static/css/product/instruement.css

@@ -96,7 +96,7 @@
     .productItem .price .mIcon.i2:before {background-position: -84vw -76.5vw;}
     .productItem .price .mIcon.i3:before {background-position: -84vw -83.7vw;}
     .productItem .price .mIcon.i4:before {background-position: -84vw -90.7vw;}
-    #recommendBox{width: calc(100% + 2.6vw);height:150vw;overflow:hidden;position:relative;}
+    #recommendBox{width: calc(100%);height:150vw;overflow:hidden;position:relative;}
     #recommendBox .swiper-pagination{width:100%;height:2.6vw;z-index:1;text-align:center;font-size:0;position:absolute;bottom:2.6vw;left:0}
     #recommendBox .swiper-pagination .swiper-pagination-bullet{display:block;width:2vw;border-width:1vw 1px;border-color:transparent;cursor:pointer;background:none;font-size:0;opacity:.2}
     #recommendBox .swiper-pagination .swiper-pagination-bullet:before{content:"";display:block;width:100%;height:.6vw;background:#E15616;border-radius:.3vw}
@@ -106,7 +106,7 @@
     .icon.hot:before{width: 5.3vw;height:4.5vw;background-position: -53.9vw -69.3vw;position: absolute;top: -2.7vw;right: -2.7vw;}
     .priceTag .tag, .listTag{padding: 0 2vw;border: .27vw solid #ffe6dc;background: none;font-size: 2.8vw;float: left;height: 4.2vw;line-height: 4.2vw;}
     .brand{color: #9aa5b5;margin: 1vw 3.2vw;border: .27vw solid #e3ebf7;display: inline-block;padding: 0 1.3vw;border-radius: .54vw}
-    .floorCon .hotList .imgbaner{width: 93.6vw;height: 24vw;margin:1.3vw auto 2.6vw;display: block}
+    .floorCon .hotList .imgbaner{width: 93.6vw !important;height: 24vw;margin:1.3vw auto 2.6vw;display: block}
     .floorCon .hotList .imgbaner img{width: 100%;height: 100%;}
     .hotList .section_page_main {height: 140vw;overflow: hidden;}
     .hotList .section_page_main.type{height: 167vw}

BIN
src/main/resources/static/img/base/icon.png


BIN
src/main/resources/static/img/base/icon_m.png


+ 1 - 1
src/main/resources/static/js/product/instruement.js

@@ -99,7 +99,7 @@
                      var swiper = new Swiper('#recommendBox', {
                                 slidesPerView: 2,
                                 slidesPerColumn: 2,
-                                spaceBetween: 0,
+                                spaceBetween:0,
                                 slidesPerGroup: 2,
                                 autoplay: {
                                     delay: 3000,

+ 4 - 0
src/main/resources/static/js/product/produce-list.js

@@ -165,12 +165,16 @@ var productList = new Vue({
         console.log( this.tinyTypeID)
         if(this.tinyTypeID==null &&  this.smallTypeID==null){
             this.params.id=this.bigTypeID;
+            this.params.idType = 1;
         }else if(this.tinyTypeID==null){
             this.params.id=this.smallTypeID;
+            this.params.idType = 2;
         }else if(this.smallTypeID==null){
             this.params.id=this.bigTypeID;
+            this.params.idType = 1;
         }else {
             this.params.id=this.tinyTypeID;
+            this.params.idType = 3;
         }
 
         var typeSort =  getUrlParam('typeSort');