瀏覽代碼

百援修改

twt 4 天之前
父節點
當前提交
a829454950

+ 13 - 8
common/request.js

@@ -5,9 +5,9 @@ console.log(getHashQuery('url'))
 if(getHashQuery('url')){
 	var baseUrl =url
 }else{
-  //var baseUrl = 'http://api.dms.66km.com.cn/'	
-  // var baseUrl = 'http://192.168.1.25:20012/'
- var baseUrl = 'http://testmanageapi.66km.cn/'
+  var baseUrl = 'http://api.db.66km.cn/'	
+ //  var baseUrl = 'http://192.168.1.22:20012/'
+  //var baseUrl = 'http://testmanageapi.66km.cn/'
    
 }
 
@@ -60,11 +60,16 @@ const http = (url = '', date = {}, type = 'POST', header = {
 				if(res.data.data.number == 200 || res.data.data.number == 5212){
 					
 				}else{
-					uni.showToast({
-					 	     title: res.data.msg,
-					 	 	 icon:'none',
-					 	     duration: 3000,
-					 	 });
+					if(url=='advancedEpc/cachekey'){
+						
+					}else{
+						uni.showToast({
+						 	     title: res.data.msg,
+						 	 	 icon:'none',
+						 	     duration: 3000,
+						 	 });
+					}
+					
 				}
 			}
 			

+ 14 - 3
pages/mobile/OemSearch.vue

@@ -5,8 +5,11 @@
 			<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
 			<view class="zdyNav">
 				<view class="zdyNavLeft">
-					<div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
-							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div>
+					<!-- <div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
+							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div> -->
+					<div class="gobackBox" @click="goback">
+						<image src="/static/img/goback.png" mode="" class="gobackImg"></image>
+					</div>
 		            <div class="goHomeBox" @click="goHome">
 		            	<image src="/static/img/home.png" mode="" class="goHomeImg"></image>
 		            </div>
@@ -369,7 +372,15 @@
 			height: 20px;
 			
 		}
-	
+	.gobackBox{
+		padding-left: 20rpx;
+		padding-top: 6rpx;
+	}
+	.gobackImg{
+		width: 10px;
+		height: 20px;
+		padding-right: 20rpx;
+	}
 	.zdyNavTitle {
 		background: #FFFFFF;
 		text-align: center;

+ 14 - 3
pages/mobile/SelectCarModel.vue

@@ -5,8 +5,11 @@
 			<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
 			<view class="zdyNav">
 				<view class="zdyNavLeft">
-					<div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
-							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div>
+					<!-- <div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
+							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div> -->
+					<div class="gobackBox" @click="goback">
+						<image src="/static/img/goback.png" mode="" class="gobackImg"></image>
+					</div>
 
 				</view>
 				<view class="zdyNavTitle">选择品牌</view>
@@ -493,7 +496,15 @@
 		color: #3F90F7;
 		width: 120rpx;
 	}
-	
+	.gobackBox{
+		padding-left: 20rpx;
+		padding-top: 6rpx;
+	}
+	.gobackImg{
+		width: 10px;
+		height: 20px;
+		padding-right: 20rpx;
+	}
 	
 	
 </style>

+ 23 - 9
pages/mobile/SelectCarTwo.vue

@@ -5,8 +5,11 @@
 			<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
 			<view class="zdyNav">
 				<view class="zdyNavLeft">
-					<div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
-							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div>
+					<!-- <div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
+							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div> -->
+					<div class="gobackBox" @click="goback">
+						<image src="/static/img/goback.png" mode="" class="gobackImg"></image>
+					</div>
 					<div class="goHomeBox" @click="goHome">
 						<image src="/static/img/home.png" mode="" class="goHomeImg"></image>
 					</div>		
@@ -176,10 +179,11 @@
 					uni.hideLoading();
 					console.log(res.data)
 					uni.setStorageSync('cachekey',res.data ) 
+					uni.navigateTo({
+						url: 'group?type=2&cart='+item.token+'&param='+item.param+'&access_time='+this.access_time+'&epc_id='+this.epc_id+'&modelname='+this.modelname
+					}) 
 				});
-				 uni.navigateTo({
-					url: 'group?type=2&cart='+item.token+'&param='+item.param+'&access_time='+this.access_time+'&epc_id='+this.epc_id+'&modelname='+this.modelname
-				}) 
+				 
 				
 				/*  */
 			},
@@ -240,19 +244,29 @@
 		display: flex;
 	}
 	.goHomeBox{
+		padding-left: 20rpx;
+		padding-top: 4rpx;
+	}
+	
+    .goHomeImg{
+		width: 22px;
+		height: 22px;
+		
+	}
+	.gobackBox{
 		padding-left: 20rpx;
 		padding-top: 6rpx;
 	}
-.goHomeImg{
-		width: 20px;
+	.gobackImg{
+		width: 10px;
 		height: 20px;
-		
+		padding-right: 20rpx;
 	}
 	.zdyNavTitle {
 		background: #FFFFFF;
 		text-align: center;
 		/* font-size: 32rpx; */
-		/* font-weight: bold; */
+		font-weight: bold;
 		font-size: 18px!important;
 		color: #333333!important;
 	}

+ 16 - 4
pages/mobile/group.vue

@@ -6,8 +6,11 @@
 			<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
 			<view class="zdyNav">
 				<view class="zdyNavLeft">
-					<div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
-							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div>
+					<!-- <div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
+							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div> -->
+					<div class="gobackBox" @click="goback">
+						<image src="/static/img/goback.png" mode="" class="gobackImg"></image>
+					</div>
                     <div class="goHomeBox" @click="goHome">
                     	<image src="/static/img/home.png" mode="" class="goHomeImg"></image>
                     </div>
@@ -55,8 +58,8 @@
 		<view class="mainBox" v-if="restrainShow">
 			<view class="maintitle">{{caption}}</view>
 			<view class="mainLine" v-for="(item,index) in restrains" @click="restrainsClick(item)">
-				<!-- <view class="lineName">{{item.combine_cp}}</view> -->
-				<view class="lineName">{{item.car_name}}</view> 
+				<view class="lineName" v-if="vin">{{item.combine_cp}}</view>
+				<view class="lineName" v-else>{{item.car_name}}</view> 
 				
 				<image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
 			</view>
@@ -382,6 +385,15 @@
 			height: 20px;
 			
 		}
+	.gobackBox{
+		padding-left: 20rpx;
+		padding-top: 6rpx;
+	}
+	.gobackImg{
+		width: 10px;
+		height: 20px;
+		padding-right: 20rpx;
+	}	
 
 	.zdyNavTitle {
 		background: #FFFFFF;

+ 14 - 3
pages/mobile/modelTwo.vue

@@ -5,8 +5,11 @@
 			<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
 			<view class="zdyNav">
 				<view class="zdyNavLeft">
-					<div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
-							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div>
+					<!-- <div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
+							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div> -->
+					<div class="gobackBox" @click="goback">
+						<image src="/static/img/goback.png" mode="" class="gobackImg"></image>
+					</div>
 					<div class="goHomeBox" @click="goHome">
 						<image src="/static/img/home.png" mode="" class="goHomeImg"></image>
 					</div>
@@ -407,7 +410,15 @@
 			height: 20px;
 			
 		}
-	
+	.gobackBox{
+		padding-left: 20rpx;
+		padding-top: 6rpx;
+	}
+	.gobackImg{
+		width: 10px;
+		height: 20px;
+		padding-right: 20rpx;
+	}
 	.zdyNavTitle {
 		background: #FFFFFF;
 		text-align: center;

+ 14 - 3
pages/mobile/vinDetail.vue

@@ -4,8 +4,11 @@
 			<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
 			<view class="zdyNav">
 				<view class="zdyNavLeft">
-					<div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
-							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div>
+					<!-- <div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
+							style="color: rgb(0, 0, 0); font-size: 27px;"></i></div> -->
+					<div class="gobackBox" @click="goback">
+						<image src="/static/img/goback.png" mode="" class="gobackImg"></image>
+					</div>
 					<div class="goHomeBox" @click="goHome">
 						<image src="/static/img/home.png" mode="" class="goHomeImg"></image>
 					</div>
@@ -367,7 +370,15 @@
 			height: 20px;
 			
 		}
-	
+	.gobackBox{
+		padding-left: 20rpx;
+		padding-top: 6rpx;
+	}
+	.gobackImg{
+		width: 10px;
+		height: 20px;
+		padding-right: 20rpx;
+	}
 	.zdyNavTitle {
 		background: #FFFFFF;
 		text-align: center;

二進制
static/img/goback.png


二進制
static/img/home.png