twt il y a 1 an
Parent
commit
5569dec996
2 fichiers modifiés avec 11 ajouts et 4 suppressions
  1. 9 2
      pages/index/byItem.vue
  2. 2 2
      utils/request.js

+ 9 - 2
pages/index/byItem.vue

@@ -31,7 +31,7 @@
 		 </view>
 	 </view>
 		  
-	    <view class="listBox">
+	    <view class="listBox" v-if="MaintainPartList.length!=0">
 			<view class="jiyouBox" v-if="loading">
 				<view class="title">前雨刷</view>
 				<view class="jylineBox">
@@ -44,6 +44,7 @@
 							<view class="jyName">
 								<span class="jyNametxt">{{item.name}} | {{item.partsCode}} | {{item.factoryNumber}} </span>
 							</view>
+							<view class="modelRemark">{{item.modelRemark}}</view>
 							<view v-for="(exObj,exindex) in item.ExtendDatas" class="exspanBox">
 							   <span class="exspan1" v-for="ex in Object.keys(exObj)" v-if="ex!='partsId'&&exObj[ex]">{{ex}}: <span class="exspan2">{{exObj[ex]}}</span></span>
 							</view>
@@ -54,7 +55,7 @@
 				<nodata v-if="MaintainPartList.length==0"></nodata>
 			</view>
 		</view>
-		<view class="listBox">
+		<view class="listBox" v-if="afterList.length!=0">
 			<view class="jiyouBox" v-if="loading">
 				<view class="title">后雨刷</view>
 				<view class="jylineBox">
@@ -67,6 +68,7 @@
 							<!-- <span class="best">最佳</span> -->
 							<span class="jyNametxt">{{item.name}} | {{item.specificationModel}} | {{item.partsCode}} </span>
 						</view>
+						<view class="modelRemark">{{item.modelRemark}}</view>
 						<view v-for="(exObj,exindex) in item.ExtendDatas" class="exspanBox">
 						   <span class="exspan1" v-for="ex in Object.keys(exObj)" v-if="ex!='partsId'&&exObj[ex]">{{ex}}: <span class="exspan2">{{exObj[ex]}}</span></span>
 						</view>
@@ -242,6 +244,11 @@
   padding-top: 24rpx;
 
 }
+.modelRemark{
+	font-weight: 400;
+	    color: #F19D01;
+		font-size: 26rpx;
+}
 .jylineRight{
 	width: 450rpx;padding-left: 16rpx;
 }

+ 2 - 2
utils/request.js

@@ -1,7 +1,7 @@
  //测试地址
 //const baseURL2 = 'http://192.168.0.125:20134/' 
-const baseURL='http://wiper.66km.com.cn/' 
-//const baseURL='https://wiper.66km.com.cn/' 
+//const baseURL='http://wiper.66km.com.cn/' 
+const baseURL='https://wiper.66km.com.cn/' 
 
 //66正式
 /* const baseURL = 'https://apidms.66km.com/'