twt 1 年之前
父节点
当前提交
dff38ead1c
共有 3 个文件被更改,包括 12 次插入8 次删除
  1. 2 1
      pages/rescue/rescueOrder.vue
  2. 8 5
      pages/rescue/rescueOrderDetail.vue
  3. 2 2
      utils/request.js

+ 2 - 1
pages/rescue/rescueOrder.vue

@@ -213,10 +213,11 @@
 				],
 				],
 				orderTimesxSHow:false,
 				orderTimesxSHow:false,
 				typeSHow:false,
 				typeSHow:false,
+				iStatusBarHeight:'',
 			}
 			}
 		},
 		},
 		onLoad(opt) {
 		onLoad(opt) {
-			
+			this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
 			//this.getData();
 			//this.getData();
 			this.getShopinfo();
 			this.getShopinfo();
 			
 			

+ 8 - 5
pages/rescue/rescueOrderDetail.vue

@@ -29,14 +29,14 @@
 
 
 		</view>
 		</view>
 		<!-- 拖车起始点 -->
 		<!-- 拖车起始点 -->
-		<view class="startPointBox" v-if="orderData.openShopHelpSheet.helpType==2">
-			<div class="hStartAddressBox">
+		<view class="startPointBox" >
+			<div class="hStartAddressBox" :class="{hStartAddressBox2:orderData.openShopHelpSheet.helpType==2}">
 				<div class="hStartAddressYd"></div>
 				<div class="hStartAddressYd"></div>
 				<div class="startPointTitle">起点</div>
 				<div class="startPointTitle">起点</div>
 				<div class="hStartAddress">{{orderData.openShopHelpSheet.hStartAddress}}</div>
 				<div class="hStartAddress">{{orderData.openShopHelpSheet.hStartAddress}}</div>
 				<img src="../../static/img/icon_ditu.png" alt="" class="mapImg" @click="goMapStart"/>
 				<img src="../../static/img/icon_ditu.png" alt="" class="mapImg" @click="goMapStart"/>
 			</div>
 			</div>
-			<div class="hEndAddressBox">
+			<div class="hEndAddressBox" v-if="orderData.openShopHelpSheet.helpType==2">
 				<div class="hEndAddressYd"></div>
 				<div class="hEndAddressYd"></div>
 				<div class="startPointTitle">终点</div>
 				<div class="startPointTitle">终点</div>
 				<div class="hStartAddress">{{orderData.openShopHelpSheet.hEndAddress}}</div>
 				<div class="hStartAddress">{{orderData.openShopHelpSheet.hEndAddress}}</div>
@@ -840,10 +840,13 @@
 		width: 44rpx;height: 44rpx;
 		width: 44rpx;height: 44rpx;
 	}
 	}
 	.hStartAddressBox{
 	.hStartAddressBox{
-		border-bottom: 1px solid #EEEEEE;
-		display: flex;padding-bottom: 30rpx;
+		display: flex;
+	}
+	.hStartAddressBox2{
+		padding-bottom: 30rpx;
 	}
 	}
 	.hEndAddressBox{
 	.hEndAddressBox{
+			border-top: 1px solid #EEEEEE;
 		display: flex;padding-top: 30rpx;
 		display: flex;padding-top: 30rpx;
 	}
 	}
 	.hEndAddressYd{
 	.hEndAddressYd{

+ 2 - 2
utils/request.js

@@ -1,10 +1,10 @@
 //测试地址
 //测试地址
-const baseUrl = 'http://api.dms.66km.com.cn/'
+//const baseUrl = 'http://api.dms.66km.com.cn/'
 //const baseUrl = 'http://dms.66km.com.cn/'
 //const baseUrl = 'http://dms.66km.com.cn/'
 //const baseUrl = 'http://192.168.0.146:20187/'
 //const baseUrl = 'http://192.168.0.146:20187/'
 //const baseUrl = 'http://syadmin.66km.com/'
 //const baseUrl = 'http://syadmin.66km.com/'
 //正式地址-66
 //正式地址-66
-//const baseUrl = 'http://apidms.66km.com/'
+const baseUrl = 'http://apidms.66km.com/'
 //欧洲维修
 //欧洲维修
 //const baseUrl = 'https://crm.eurorepar.cn/'
 //const baseUrl = 'https://crm.eurorepar.cn/'
 import $store from '../store'
 import $store from '../store'