twt 1 mese fa
parent
commit
e6a9fd0144
2 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 4 3
      pages/index/goodsList.vue
  2. 1 1
      pages/index/index.vue

+ 4 - 3
pages/index/goodsList.vue

@@ -38,12 +38,12 @@
 					<view class="modelRemarkLine" @click="modelRemarkTab(1)" :class="{activeMr:modelRemarkNum==1}">0-10万公里</view>
 					<view class="modelRemarkLine" @click="modelRemarkTab(2)" :class="{activeMr:modelRemarkNum==2}">10万公里以上</view>
 				</view> -->
-				<view class="brandBox">
+				<!-- <view class="brandBox">
 					<view class="brandBtn" :class="{brandActive:type==1}" @click="ckBrand(1)">阿诺德</view>
 					<view class="brandBtn" :class="{brandActive:type==2}" @click="ckBrand(2)">鸿雁</view>
 					<view class="brandBtn" :class="{brandActive:type==3}" @click="ckBrand(3)">三冠</view>
 					<view class="brandBtn" :class="{brandActive:type==4}" @click="ckBrand(4)">威斯康</view>
-				</view>
+				</view> -->
 				<view class="jylineBox">
 					<view class="jyline" v-for="(item,index) in 5" @click="godetail(item)"><!-- MaintainPartList -->
 						<view class="jyimgBox">
@@ -100,6 +100,7 @@
 			   modelRemarkNum:1,
 			   oldMaintainPartList:'',
 			   type:'',
+			   componentCode:'',
 			}
 		},
 		onLoad(opt) {
@@ -163,7 +164,7 @@
 				 uni.showLoading({ title: '加载中'});
 				 this.$http('partsByOpen/queryMaintainPartList', {
 				   groupId:this.optdata.id,
-				   componentCode:'015001',
+				   componentCode:this.componentCode,
 				   
 				  },'POST').then(res => {
 					  this.loading=true;

+ 1 - 1
pages/index/index.vue

@@ -58,7 +58,7 @@
 			 <view style="height: 43px;"></view>
 			 <view class="topNavBox">
 			 	<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
-			 	<view class="indexnav">巨江电源</view>
+			 	<view class="indexnav">VZK火花塞</view>
 			 </view>
 			 <!-- 轮播-->
 			 <view class="swpBox">