liting2017 6 years ago
parent
commit
b369efbf2b
3 changed files with 5 additions and 2 deletions
  1. 1 1
      src/css/newMenu/patentList.css
  2. 3 0
      src/js/newMenu/serviceList.js
  3. 1 1
      src/js/newMenu/shopList.js

+ 1 - 1
src/css/newMenu/patentList.css

@@ -53,7 +53,7 @@
 }
 
 .industry .industryList ul li {
-    width: 110px;
+    padding: 0 15px;
     text-align: center;
     cursor: pointer;
     float: left;

+ 3 - 0
src/js/newMenu/serviceList.js

@@ -263,6 +263,9 @@ $(function () {
                 $('.objList div').eq(index).find('span').addClass('active');     
             }
             $('.productionType ol').html('<li class="active" data-id=" ">不限</li>')
+            $('.preFirst').show();
+            $('.preFirst').html($(this).text());
+            $('.next').css('display', 'none')
             dataList.name='';
             dataList.topId='';
             dataList.secondId='';

+ 1 - 1
src/js/newMenu/shopList.js

@@ -226,7 +226,7 @@ $(function(){
               list.push({
                 commodityId:id,
                 commodityQuantity:number,
-                commodityType:type,
+                commodityType:type=='1'?1:0,
                 orderChannel:1
               })  
           };