Browse Source

Merge branch 'master' of http://git.zthymaoyi.com/gongdecai/wangluohuoyun-app

achao 1 year ago
parent
commit
0772afec94

+ 7 - 1
App.vue

@@ -351,7 +351,7 @@
 										}
 										}
 										this.$helper.gjList.push(_data)
 										this.$helper.gjList.push(_data)
 										uni.setStorageSync('mapGJ', this.$helper.gjList);
 										uni.setStorageSync('mapGJ', this.$helper.gjList);
-										if (uni.getStorageSync('mapGJ').length > 100) {
+										if (uni.getStorageSync('mapGJ').length > 10) {
 											this.$request.baseRequest('post',
 											this.$request.baseRequest('post',
 													'/hyOrderTravelPath/api/addInfo', {
 													'/hyOrderTravelPath/api/addInfo', {
 														orderId: that.id,
 														orderId: that.id,
@@ -536,5 +536,11 @@
 </script>
 </script>
 
 
 <style>
 <style>
+/* 	.uni-input-input{
+		filter: blur(4px);
+	}
+	uni-image{
+		filter: blur(4px);
+	} */
 	/*每个页面公共css */
 	/*每个页面公共css */
 </style>
 </style>

+ 2 - 2
config/index.js

@@ -1,6 +1,6 @@
 const dev = {
 const dev = {
-	baseUrlNew: 'https://api.changyuntong56.com',
-	// baseUrlNew: 'http://192.168.110.9:8099',
+	// baseUrlNew: 'https://api.changyuntong56.com',
+	baseUrlNew: 'http://192.168.110.9:8099',
 	// baseUrlNew: 'http://192.168.110.82:8999',
 	// baseUrlNew: 'http://192.168.110.82:8999',
 	// baseUrlNew: 'http://192.168.110.67:8999',
 	// baseUrlNew: 'http://192.168.110.67:8999',
 	h5Appid: 'wxb66b599f7f61b46f',
 	h5Appid: 'wxb66b599f7f61b46f',

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "畅运通",
     "name" : "畅运通",
     "appid" : "__UNI__9C76CB6",
     "appid" : "__UNI__9C76CB6",
     "description" : "",
     "description" : "",
-    "versionName" : "1.0.2",
-    "versionCode" : 102,
+    "versionName" : "1.2.4",
+    "versionCode" : 124,
     "transformPx" : false,
     "transformPx" : false,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 29 - 26
pages/goodSource/shippingDetails.vue

@@ -24,10 +24,10 @@
 			<view class="content1">
 			<view class="content1">
 				<view class="row1 flex flex-space-between">
 				<view class="row1 flex flex-space-between">
 					<view class="left flex">
 					<view class="left flex">
-						<u--image
+						<u-image
 							:src="detailData.cargoOwnerPortrait?detailData.cargoOwnerPortrait:'../../static/images/mine/tx.png'"
 							:src="detailData.cargoOwnerPortrait?detailData.cargoOwnerPortrait:'../../static/images/mine/tx.png'"
 							width='122rpx' height='122rpx' shape="circle">
 							width='122rpx' height='122rpx' shape="circle">
-						</u--image>
+						</u-image>
 						<view class="fontsize-46 ml20">{{detailData.cargoOwnerCall}}</view>
 						<view class="fontsize-46 ml20">{{detailData.cargoOwnerCall}}</view>
 					</view>
 					</view>
 					<view class="right">
 					<view class="right">
@@ -124,11 +124,11 @@
 					<view class="left">车型</view>
 					<view class="left">车型</view>
 					<!-- carModel -->
 					<!-- carModel -->
 					<view class="right">
 					<view class="right">
-						<text v-if="detailData.carModel.indexOf('1') != -1">不限</text>
+						<text>{{this.carModel}}</text>
+						<!-- <text v-show="detailData.carModel.indexOf('1') != -1">不限</text>
 						<text v-show="detailData.carModel.indexOf('2') != -1">高栏 | </text>
 						<text v-show="detailData.carModel.indexOf('2') != -1">高栏 | </text>
 						<text v-show="detailData.carModel.indexOf('3') != -1">集装箱 | </text>
 						<text v-show="detailData.carModel.indexOf('3') != -1">集装箱 | </text>
-						<text v-show="detailData.carModel.indexOf('4') != -1">自卸车</text>
-					
+						<text v-show="detailData.carModel.indexOf('4') != -1">自卸车</text> -->
 					</view>
 					</view>
 					<!-- <view class="right" v-else>不限</view> -->
 					<!-- <view class="right" v-else>不限</view> -->
 				</view>
 				</view>
@@ -176,6 +176,7 @@
 				src: 'https://cdn.uviewui.com/uview/album/1.jpg',
 				src: 'https://cdn.uviewui.com/uview/album/1.jpg',
 				id: '',
 				id: '',
 				detailData: {},
 				detailData: {},
+				carModel:""
 			};
 			};
 		},
 		},
 		onLoad(options) {
 		onLoad(options) {
@@ -198,6 +199,23 @@
 				console.log(length)
 				console.log(length)
 				return length
 				return length
 			},
 			},
+			
+			carWeight() {
+				this.detailData.loadWeightSmall
+				this.detailData.loadWeight
+				let weight = ''
+				if (this.detailData.loadWeightSmall && this.detailData.loadWeight) {
+					weight = this.detailData.loadWeightSmall + '~' + this.detailData.loadWeight + '吨'
+				} else if (this.detailData.loadWeightSmall) {
+					weight = "大于" + this.detailData.loadWeightSmall + '吨'
+				} else if (this.detailData.loadWeight) {
+					weight = "小于" + this.detailData.loadWeight + '吨'
+				}
+				console.log(weight)
+				return weight
+			},
+		},
+		methods: {
 			carType() {
 			carType() {
 				let _val = '';
 				let _val = '';
 				if (!this.detailData.carModel) this.detailData.carModel = ''
 				if (!this.detailData.carModel) this.detailData.carModel = ''
@@ -215,24 +233,8 @@
 					}
 					}
 				}
 				}
 				console.log(_val)
 				console.log(_val)
-				return _val
+				this.carModel = _val
 			},
 			},
-			carWeight() {
-				this.detailData.loadWeightSmall
-				this.detailData.loadWeight
-				let weight = ''
-				if (this.detailData.loadWeightSmall && this.detailData.loadWeight) {
-					weight = this.detailData.loadWeightSmall + '~' + this.detailData.loadWeight + '吨'
-				} else if (this.detailData.loadWeightSmall) {
-					weight = "大于" + this.detailData.loadWeightSmall + '吨'
-				} else if (this.detailData.loadWeight) {
-					weight = "小于" + this.detailData.loadWeight + '吨'
-				}
-				console.log(weight)
-				return weight
-			},
-		},
-		methods: {
 			share() {
 			share() {
 				console.log('share')
 				console.log('share')
 			},
 			},
@@ -249,14 +251,15 @@
 				// 		uni.$u.toast(res.message);
 				// 		uni.$u.toast(res.message);
 				// 	});
 				// 	});
 			},
 			},
-			async init() {
-				await this.$request.baseRequest('get', '/publishTaskInfo/seeTask', {
+			init() {
+				this.$request.baseRequest('get', '/publishTaskInfo/seeTask', {
 						id: this.id,
 						id: this.id,
 						// id: '8f1f3c624d7946d79a9d44a4057d9623',
 						// id: '8f1f3c624d7946d79a9d44a4057d9623',
 					}).then(res => {
 					}).then(res => {
 						if (res.code == 200) {
 						if (res.code == 200) {
-							this.detailData = res.data
-						}
+							this.detailData = res.data	
+												this.carType()
+					}
 					})
 					})
 					.catch(res => {
 					.catch(res => {
 						uni.$u.toast(res.message);
 						uni.$u.toast(res.message);

+ 3 - 3
pages/mine/set.vue

@@ -48,13 +48,13 @@
 				<image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
 				<image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
 			</view>
 			</view>
 
 
-			<!-- <u-line color="#EEEEEE" class="line"></u-line>
+			<u-line color="#EEEEEE" class="line"></u-line>
 			<view class='flex flex-space-between' @click='clearStorage'>
 			<view class='flex flex-space-between' @click='clearStorage'>
 				<view>
 				<view>
-					<text>清除缓存</text>
+					<text>注销账号</text>
 				</view>
 				</view>
 				<image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
 				<image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
-			</view> -->
+			</view>
 		</view>
 		</view>
 		<view class='exitloginwrap'>
 		<view class='exitloginwrap'>
 			<button @click='logout()' class='exitlogin'>退出登录</button>
 			<button @click='logout()' class='exitlogin'>退出登录</button>

+ 1 - 1
pages/order/confirmLoading.vue

@@ -782,7 +782,7 @@
 								// console.log(this.$helper.gjList)
 								// console.log(this.$helper.gjList)
 								console.log("条数", uni.getStorageSync('mapGJ').length)
 								console.log("条数", uni.getStorageSync('mapGJ').length)
 								// console.log("条数", uni.getStorageSync('mapGJ'))
 								// console.log("条数", uni.getStorageSync('mapGJ'))
-								if (uni.getStorageSync('mapGJ').length > 100) {
+								if (uni.getStorageSync('mapGJ').length > 10) {
 									// console.log(JSON.stringify(uni.getStorageSync('mapGJ')))
 									// console.log(JSON.stringify(uni.getStorageSync('mapGJ')))
 									// that.send()
 									// that.send()
 									that.$request.baseRequest('post', '/hyOrderTravelPath/api/addInfo', {
 									that.$request.baseRequest('post', '/hyOrderTravelPath/api/addInfo', {

+ 1 - 1
pages/public/register.vue

@@ -54,7 +54,7 @@
 					width="17px" height="17px"></u--image>
 					width="17px" height="17px"></u--image>
 				已阅读并同意
 				已阅读并同意
 				<navigator
 				<navigator
-					url="/pages/sale/webview?can_share=false&url=http://liangxin.zthymaoyi.com/cytUserAgreement.html"
+					url="/pages/sale/webview?can_share=false&url=http://liangxin.zthymaoyi.com/cythzUserAgreement.html"
 					class="path" hover-class="navigator-hover">《服务协议》</navigator>和<navigator
 					class="path" hover-class="navigator-hover">《服务协议》</navigator>和<navigator
 					url="/pages/sale/webview?can_share=false&url=http://liangxin.zthymaoyi.com/cytScrectAgreement.html"
 					url="/pages/sale/webview?can_share=false&url=http://liangxin.zthymaoyi.com/cytScrectAgreement.html"
 					class="path" hover-class="navigator-hover">《隐私政策》</navigator>
 					class="path" hover-class="navigator-hover">《隐私政策》</navigator>