gjy 2 anni fa
parent
commit
6cfea2c1ff

+ 4 - 0
.hbuilderx/launch.json

@@ -14,6 +14,10 @@
      	{
      	{
      		"launchtype" : "local"
      		"launchtype" : "local"
      	},
      	},
+     	"mp-weixin" : 
+     	{
+     		"launchtype" : "local"
+     	},
      	"type" : "uniCloud"
      	"type" : "uniCloud"
      }
      }
     ]
     ]

+ 2 - 2
pages.json

@@ -586,7 +586,7 @@
 			"style": {
 			"style": {
 				"navigationBarTitleText": "评价",
 				"navigationBarTitleText": "评价",
 				"enablePullDownRefresh": false,
 				"enablePullDownRefresh": false,
-				"navigationBarBackgroundColor": "white"
+				"navigationBarBackgroundColor": "#fff"
 			}
 			}
 
 
 		}, {
 		}, {
@@ -609,7 +609,7 @@
 	"globalStyle": {
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
 		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "uni-app",
 		"navigationBarTitleText": "uni-app",
-		"navigationBarBackgroundColor": "white",
+		"navigationBarBackgroundColor": "#fff",
 		"backgroundColor": "#F8F8F8"
 		"backgroundColor": "#F8F8F8"
 	},
 	},
 	"condition": { //模式配置,仅开发期间生效
 	"condition": { //模式配置,仅开发期间生效

+ 1 - 1
pages/carSource/driverSee.vue

@@ -97,7 +97,7 @@
 									{{item.driverContent}}
 									{{item.driverContent}}
 								</view>
 								</view>
 								<view>
 								<view>
-									<u--image v-for="(item,index) in item.imgList" :src="item" width='170rpx'
+									<u--image v-for="item in item.imgList" :src="item" width='170rpx'
 										height='170rpx' class="img-style">
 										height='170rpx' class="img-style">
 									</u--image>
 									</u--image>
 								</view>
 								</view>

+ 3 - 3
pages/carSource/index.vue

@@ -50,13 +50,13 @@
 									@confirm="invitationCheng">
 									@confirm="invitationCheng">
 								</u-picker>
 								</u-picker>
 							</view>
 							</view>
-							<view class="address" v-for="(items,index) in item.startAdress">
+							<view class="address" v-for="(items,index1) in item.startAdress">
 								<span class="spots spot1"></span>
 								<span class="spots spot1"></span>
-								{{item.startAdress[index]}}
+								{{item.startAdress[index1]}}
 								<!-- {{item.sendCity ? item.sendCity: item.sendProvince }}{{item.sendArea}} -->
 								<!-- {{item.sendCity ? item.sendCity: item.sendProvince }}{{item.sendArea}} -->
 								<image class="jt-icon" src="@/static/images/goodSource/jt.png" mode='widthFix'></image>
 								<image class="jt-icon" src="@/static/images/goodSource/jt.png" mode='widthFix'></image>
 								<span class="spots spot2"></span>
 								<span class="spots spot2"></span>
-								{{item.endAdress[index]}}
+								{{item.endAdress[index1]}}
 								<!-- {{item.unloadCity ? item.unloadCity: item.unloadProvince }}{{item.unloadArea}} -->
 								<!-- {{item.unloadCity ? item.unloadCity: item.unloadProvince }}{{item.unloadArea}} -->
 							</view>
 							</view>
 						</view>
 						</view>

+ 1 - 1
pages/mine/company/addcompany.vue

@@ -707,7 +707,7 @@
 					})
 					})
 					return true
 					return true
 				}
 				}
-				if (uni.$u.test.rangeLength(this.dataDetails.unifiedSocialCreditCode, [0, 18])) {
+				if (!uni.$u.test.rangeLength(this.dataDetails.unifiedSocialCreditCode, [18, 18])) {
 					this.$refs.uToast.show({
 					this.$refs.uToast.show({
 						type: 'error',
 						type: 'error',
 						message: "统一社会信用代码输出错误!",
 						message: "统一社会信用代码输出错误!",

+ 1 - 1
pages/mine/company/editcompany.vue

@@ -605,7 +605,7 @@
 					})
 					})
 					return true
 					return true
 				}
 				}
-				if (uni.$u.test.rangeLength(this.dataDetails.unifiedSocialCreditCode, [17, 17])) {
+				if (!uni.$u.test.rangeLength(this.dataDetails.unifiedSocialCreditCode, [18, 18])) {
 					this.$refs.uToast.show({
 					this.$refs.uToast.show({
 						type: 'error',
 						type: 'error',
 						message: "统一社会信用代码输出错误!",
 						message: "统一社会信用代码输出错误!",

+ 2 - 2
pages/mine/driverEvaluation.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="content">
 	<view class="content">
 		<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
 		<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
-		<view class="content-list" v-for="(item,index) in list" :key='index'>
+		<view class="content-list" v-for="(item,index) in list">
 			<view class="top flex flex-space-between">
 			<view class="top flex flex-space-between">
 				<view class="left flex">
 				<view class="left flex">
 					<view>
 					<view>
@@ -59,7 +59,7 @@
 				<u-icon name="arrow-up" color="#2979ff" size="18" v-else></u-icon>
 				<u-icon name="arrow-up" color="#2979ff" size="18" v-else></u-icon>
 			</view>
 			</view>
 			<view v-if="isOpen" class="img-content">
 			<view v-if="isOpen" class="img-content">
-				<u--image :showLoading="true" :src="item1" width="80px" height="80px" class="img" v-for="(item1,index) in item.imgList"></u--image>
+				<u--image :showLoading="true" :src="item1" width="80px" height="80px" class="img" v-for="item1 in item.imgList"></u--image>
 			</view>
 			</view>
 			<u-line class="line"></u-line>
 			<u-line class="line"></u-line>
 			<view class="gray999">
 			<view class="gray999">

+ 2 - 2
pages/mine/evaluate.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="content">
 	<view class="content">
 			<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
 			<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
-		<view class="content-list" v-for="(item,index) in list" :key='index'>
+		<view class="content-list" v-for="(item,index) in list">
 			<view class="top flex flex-space-between">
 			<view class="top flex flex-space-between">
 				<view style='align-items: center;' class="left flex">
 				<view style='align-items: center;' class="left flex">
 						<u--image :showLoading="true" :src="item.driverPortrait" width="100rpx" height="100rpx" @click=""
 						<u--image :showLoading="true" :src="item.driverPortrait" width="100rpx" height="100rpx" @click=""
@@ -71,7 +71,7 @@
 			
 			
 			<view v-if="item.isOpen" class="img-content">
 			<view v-if="item.isOpen" class="img-content">
 				<u--image :showLoading="true" :src="item1" width="80px" height="80px" class="img"
 				<u--image :showLoading="true" :src="item1" width="80px" height="80px" class="img"
-					v-for="(item1,index) in item.imgList"></u--image>
+					v-for="item1 in item.imgList"></u--image>
 				
 				
 			</view>
 			</view>
 			<u-line class="line"></u-line>
 			<u-line class="line"></u-line>

+ 1 - 1
pages/mine/manageBankCards/index.vue

@@ -12,7 +12,7 @@
 			<view v-if="bankList.length > 0"><image style='width:17px;height:17px;margin-top: 10rpx;' @click="del()" src="../../../static/mine/sanchu.png" mode=""></image></view>
 			<view v-if="bankList.length > 0"><image style='width:17px;height:17px;margin-top: 10rpx;' @click="del()" src="../../../static/mine/sanchu.png" mode=""></image></view>
 		</view>
 		</view>
 		<!-- <image src="../../../static/images/mine/bank/nongyelogo.png" mode=""></image> -->
 		<!-- <image src="../../../static/images/mine/bank/nongyelogo.png" mode=""></image> -->
-		<view class="card-list" v-for="(item,index) in bankList" :key='index' v-if="bankList.length > 0">
+		<view class="card-list" v-for="(item,index) in bankList" v-if="bankList.length > 0">
 			<view class="card-list-item" :style='{"background-image":"url("+item.cardColor+")"}'>
 			<view class="card-list-item" :style='{"background-image":"url("+item.cardColor+")"}'>
 				<view class="flex flex-end number carNumber">{{item.bankCard}}</view>
 				<view class="flex flex-end number carNumber">{{item.bankCard}}</view>
 				<view class="flex align-center">
 				<view class="flex align-center">

+ 1 - 1
pages/mine/myAccount/bankList.vue

@@ -13,7 +13,7 @@
 			<view v-else><image style='width:17px;height:17px;' @click="del()" src="../../../static/mine/sanchu.png" mode=""></image></view>
 			<view v-else><image style='width:17px;height:17px;' @click="del()" src="../../../static/mine/sanchu.png" mode=""></image></view>
 		</view>
 		</view>
 		<!-- <image src="../../../static/images/mine/bank/nongyelogo.png" mode=""></image> -->
 		<!-- <image src="../../../static/images/mine/bank/nongyelogo.png" mode=""></image> -->
-		<view class="card-list" v-for="(item,index) in bankList" :key='index' @click="bankCheng(item)">
+		<view class="card-list" v-for="(item,index) in bankList" @click="bankCheng(item)">
 			<view class="card-list-item" :style='{"background-image":"url("+item.cardColor+")"}'>
 			<view class="card-list-item" :style='{"background-image":"url("+item.cardColor+")"}'>
 				<view class="flex flex-end number carNumber">{{item.bankCard}}</view>
 				<view class="flex flex-end number carNumber">{{item.bankCard}}</view>
 				<view class="flex align-center">
 				<view class="flex align-center">

+ 1 - 1
pages/order/driverDetail.vue

@@ -96,7 +96,7 @@
 									{{item.driverContent}}
 									{{item.driverContent}}
 								</view>
 								</view>
 								<view>
 								<view>
-									<u--image v-for="(item,index) in item.imgList" :src="item" width='170rpx'
+									<u--image v-for="item in item.imgList" :src="item" width='170rpx'
 										height='170rpx' class="img-style">
 										height='170rpx' class="img-style">
 									</u--image>
 									</u--image>
 								</view>
 								</view>

+ 2 - 2
pages/order/evaluationRecord.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="content">
 	<view class="content">
 		<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
 		<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
-			<view class="content-list" v-for="(item,index) in list" :key='index'>
+			<view class="content-list" v-for="(item,index) in list">
 				<view class="top flex flex-space-between">
 				<view class="top flex flex-space-between">
 					<view  class="left flex">
 					<view  class="left flex">
 						<view @click='toDetail(item.orderId)'>
 						<view @click='toDetail(item.orderId)'>
@@ -100,7 +100,7 @@
 				</view>
 				</view>
 				<view class="img-content">
 				<view class="img-content">
 					<u--image :showLoading="true" :src="item1" width="80px" height="80px" class="img"
 					<u--image :showLoading="true" :src="item1" width="80px" height="80px" class="img"
-						v-for="(item1,index) in item.imgList"></u--image>
+						v-for="item1 in item.imgList"></u--image>
 				</view>
 				</view>
 				<u-line class="line"></u-line>
 				<u-line class="line"></u-line>
 				<view class="flex flex-space-between">
 				<view class="flex flex-space-between">

+ 1 - 0
pages/order/jb.vue

@@ -63,6 +63,7 @@
 				}
 				}
 			},
 			},
 			submit() {
 			submit() {
+				var that=this
 				if (!this.value1) {
 				if (!this.value1) {
 					that.$refs.uToast.show({
 					that.$refs.uToast.show({
 						type: 'error',
 						type: 'error',

+ 3 - 3
pages/order/orderDetails.vue

@@ -7,7 +7,7 @@
 				<image class="back"  src="../../static/images/return.png" @click="back" mode="" style="width: 40rpx; height: 40rpx;"></image>
 				<image class="back"  src="../../static/images/return.png" @click="back" mode="" style="width: 40rpx; height: 40rpx;"></image>
 				<!-- <u-icon class="back" name="arrow-left" color="" size="20" @click="back"></u-icon> -->
 				<!-- <u-icon class="back" name="arrow-left" color="" size="20" @click="back"></u-icon> -->
 				<view class="nav-title">订单详情</view>
 				<view class="nav-title">订单详情</view>
-				<image class="search" style='width:18px;height:18px;' src="../../static/images/kefu.png" @click="$helper.contactCustomerService" mode=""></image>
+				<image class="search" style='width:18px;height:18px;' src="../../static/images/kefu.png" @click="$helper.contactCustomerService()" mode=""></image>
 				<!-- <u-icon class="search" name="server-fill" color="" size="28" @click="$helper.contactCustomerService()"> -->
 				<!-- <u-icon class="search" name="server-fill" color="" size="28" @click="$helper.contactCustomerService()"> -->
 				</u-icon>
 				</u-icon>
 			</view>
 			</view>
@@ -183,7 +183,7 @@
 				<view class="row-left-text gray">装车照片</view>
 				<view class="row-left-text gray">装车照片</view>
 				<view class="flex">
 				<view class="flex">
 					<u--image :showLoading="true" :src="item" width="40px" height="40px"
 					<u--image :showLoading="true" :src="item" width="40px" height="40px"
-						v-for="(item,index) in zcImgList" :key='index' @click='ylImg(zcImgList)'></u--image>
+						v-for="(item,index) in zcImgList" @click='ylImg(zcImgList)'></u--image>
 				</view>
 				</view>
 			</view>
 			</view>
 			<view class='row-between'>
 			<view class='row-between'>
@@ -200,7 +200,7 @@
 				<view class="row-left-text gray">卸车照片</view>
 				<view class="row-left-text gray">卸车照片</view>
 				<view class="flex">
 				<view class="flex">
 					<u--image :showLoading="true" :src="item" width="40px" height="40px"
 					<u--image :showLoading="true" :src="item" width="40px" height="40px"
-						v-for="(item,index) in xcImgList" :key='index' @click='ylImg(xcImgList)'></u--image>
+						v-for="(item,index) in xcImgList" @click='ylImg(xcImgList)'></u--image>
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>

+ 4 - 1
pages/release/addAddress.vue

@@ -117,7 +117,10 @@
 				let that = this
 				let that = this
 				// this.isShowMap = true
 				// this.isShowMap = true
 				uni.getLocation({
 				uni.getLocation({
-					type: 'wgs84',
+					type: 'gcj02',
+					geocode:true,
+					altitude:true,
+					isHighAccuracy:true,
 					success: function (res) {
 					success: function (res) {
 						console.log('当前位置的经度:' + res.longitude);
 						console.log('当前位置的经度:' + res.longitude);
 						console.log('当前位置的纬度:' + res.latitude);
 						console.log('当前位置的纬度:' + res.latitude);

+ 3 - 2
pages/release/lookRelease.vue

@@ -393,6 +393,7 @@
 			.left .top {
 			.left .top {
 				display: flex;
 				display: flex;
 			}
 			}
+			
 		}
 		}
 	}
 	}
 
 
@@ -403,11 +404,11 @@
 		}
 		}
 
 
 		.left {
 		.left {
-			color: #8F8F8F;
+			color: #8F8F8F;width: calc(50% - 25rpx);
 		}
 		}
-
 		.right {
 		.right {
 			color: #333333;
 			color: #333333;
+			text-align: right;
 		}
 		}
 	}
 	}
 
 

+ 72 - 64
pages/release/selectAddress.vue

@@ -5,49 +5,49 @@
 			</u-search>
 			</u-search>
 		</view>
 		</view>
 		<view class="content2-wrap">
 		<view class="content2-wrap">
-			<view class="content2" v-for="(item,index) in dataList" :key='index' @click="configAddress(item)">
-			<view class="row flex row1">
-				<view class="name">
-					{{item.contacts}}
-				</view>
-				<view class="phone">
-					{{item.contactPhone1}}
-				</view>
-			</view>
-			<view class="row flex row2">
-				{{item.province}}{{item.city}}{{item.area}}{{item.detailedAddress}}
-			</view>
-			<view class="row flex row3">
-				<u-radio-group placement="row" class="select-type" v-model="item.radiovalue">
-					<u-radio :customStyle="radioCustomStyle" v-for="(item1, index) in radiolist1" :key="index"
-						:label="item1.name" :name="item1.name" @change="radioChange($event,item)" labelSize='12px'
-						:iconSize='10'>
-					</u-radio>
-				</u-radio-group>
-				<view class="flex">
-					<view class="mr20 icon-img" @click.stop="toTop(item)">
-						<!-- <u-icon name="arrow-upward" color="#999999" size="18"></u-icon> -->
-						<image class="jt-icon" src="@/static/images/release/zhiding.png" mode='widthFix'>
-						</image>
-						置顶
+			<view class="content2" v-for="(item,index) in dataList" @click="configAddress(item)">
+				<view class="row flex row1">
+					<view class="name">
+						{{item.contacts}}
 					</view>
 					</view>
-					<view class="mr20 icon-img" @click.stop="edit(item)">
-						<!-- <u-icon name="edit-pen-fill" color="#999999" size="18"></u-icon> -->
-						<image class="jt-icon" src="@/static/images/release/bianji.png" mode='widthFix'>
-						</image>
-						编辑
+					<view class="phone">
+						{{item.contactPhone1}}
 					</view>
 					</view>
-					<view class="mr20 icon-img" @click.stop="del(item)">
-						<!-- <u-icon name="trash-fill" color="#999999" size="18"></u-icon> -->
-						<image class="jt-icon" src="@/static/images/release/shanchu.png" mode='widthFix'>
-						</image>
-						删除
+				</view>
+				<view class="row flex row2">
+					{{item.province}}{{item.city}}{{item.area}}{{item.detailedAddress}}
+				</view>
+				<view class="row flex row3">
+					<u-radio-group placement="row" class="select-type" v-model="item.radiovalue">
+						<u-radio :customStyle="radioCustomStyle" v-for="item1 in radiolist1"
+							:label="item1.name" :name="item1.name" @change="radioChange($event,item)" labelSize='12px'
+							:iconSize='10'>
+						</u-radio>
+					</u-radio-group>
+					<view class="flex">
+						<view class="mr20 icon-img" @click.stop="toTop(item)">
+							<!-- <u-icon name="arrow-upward" color="#999999" size="18"></u-icon> -->
+							<image class="jt-icon" src="@/static/images/release/zhiding.png" mode='widthFix'>
+							</image>
+							置顶
+						</view>
+						<view class="mr20 icon-img" @click.stop="edit(item)">
+							<!-- <u-icon name="edit-pen-fill" color="#999999" size="18"></u-icon> -->
+							<image class="jt-icon" src="@/static/images/release/bianji.png" mode='widthFix'>
+							</image>
+							编辑
+						</view>
+						<view class="mr20 icon-img" @click.stop="del(item)">
+							<!-- <u-icon name="trash-fill" color="#999999" size="18"></u-icon> -->
+							<image class="jt-icon" src="@/static/images/release/shanchu.png" mode='widthFix'>
+							</image>
+							删除
+						</view>
 					</view>
 					</view>
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
-		</view>
-		
+
 		<view class="bottom-btn">
 		<view class="bottom-btn">
 			<view class="btn-left" @click="selectAddress(0)">选择临时地址</view>
 			<view class="btn-left" @click="selectAddress(0)">选择临时地址</view>
 			<view class="btn-right" @click="selectAddress(1)">新增地址</view>
 			<view class="btn-right" @click="selectAddress(1)">新增地址</view>
@@ -95,10 +95,10 @@
 					},
 					},
 
 
 				],
 				],
-				delId:"",
-				isShowAlert:false,
-				alertTitle:"",
-				alertContent:"",
+				delId: "",
+				isShowAlert: false,
+				alertTitle: "",
+				alertContent: "",
 			}
 			}
 		},
 		},
 		computed: {
 		computed: {
@@ -114,7 +114,7 @@
 			this.getList()
 			this.getList()
 		},
 		},
 		methods: {
 		methods: {
-			confirmClick(){
+			confirmClick() {
 				this.isShowAlert = false
 				this.isShowAlert = false
 				this.$request.baseRequest('post', '/cargoOwnerAddressInfo/api/deleteCargoOwnerAddress', {
 				this.$request.baseRequest('post', '/cargoOwnerAddressInfo/api/deleteCargoOwnerAddress', {
 						id: this.delId,
 						id: this.delId,
@@ -137,7 +137,7 @@
 						})
 						})
 					});
 					});
 			},
 			},
-			cancelClick(){
+			cancelClick() {
 				this.isShowAlert = false
 				this.isShowAlert = false
 			},
 			},
 			configAddress(val) {
 			configAddress(val) {
@@ -163,9 +163,10 @@
 						currentPage: 1
 						currentPage: 1
 					}).then(res => {
 					}).then(res => {
 						if (res.code == 200) {
 						if (res.code == 200) {
-							if(res.data.records.length){
+							if (res.data.records.length) {
 								for (var i = 0; i < res.data.records.length; i++) {
 								for (var i = 0; i < res.data.records.length; i++) {
-									res.data.records[i].contactPhone1=res.data.records[i].contactPhone.replace(/(\d{3})(\d{4})(\d{4})/, "$1****$3")
+									res.data.records[i].contactPhone1 = res.data.records[i].contactPhone.replace(
+										/(\d{3})(\d{4})(\d{4})/, "$1****$3")
 								}
 								}
 							}
 							}
 							console.log(res.data.records)
 							console.log(res.data.records)
@@ -196,14 +197,14 @@
 				console.log('radioChange', n);
 				console.log('radioChange', n);
 				console.log('radioChange', val);
 				console.log('radioChange', val);
 				for (var i = 0; i < this.dataList.length; i++) {
 				for (var i = 0; i < this.dataList.length; i++) {
-					if (this.dataList[i].defaultShipment == 1&&n=='默认装货') {
+					if (this.dataList[i].defaultShipment == 1 && n == '默认装货') {
 						this.dataList[i].radiovalue = ''
 						this.dataList[i].radiovalue = ''
 					}
 					}
-					if (this.dataList[i].defaultReceipt == 1&&n=='默认卸货') {
+					if (this.dataList[i].defaultReceipt == 1 && n == '默认卸货') {
 						this.dataList[i].radiovalue = ''
 						this.dataList[i].radiovalue = ''
 					}
 					}
 				}
 				}
-				this.$set(val,'radioChange',n)
+				this.$set(val, 'radioChange', n)
 				let _flag;
 				let _flag;
 				if (n == '默认卸货') {
 				if (n == '默认卸货') {
 					_flag = 2
 					_flag = 2
@@ -270,7 +271,10 @@
 					console.log(111111111)
 					console.log(111111111)
 					let that = this
 					let that = this
 					uni.getLocation({
 					uni.getLocation({
-						type: 'wgs84',
+						type: 'gcj02',
+						geocode:true,
+						altitude:true,
+						isHighAccuracy:true,
 						success: function(res) {
 						success: function(res) {
 							console.log('当前位置的经度:' + res.longitude);
 							console.log('当前位置的经度:' + res.longitude);
 							console.log('当前位置的纬度:' + res.latitude);
 							console.log('当前位置的纬度:' + res.latitude);
@@ -285,8 +289,8 @@
 									console.log('经度:' + res.longitude);
 									console.log('经度:' + res.longitude);
 									let _address = that.$helper.formatLocation(res.address)
 									let _address = that.$helper.formatLocation(res.address)
 									console.log('----------------------------')
 									console.log('----------------------------')
-									console.log(_address,that.type)
-									var data={}
+									console.log(_address, that.type)
+									var data = {}
 									data.latitude = res.latitude
 									data.latitude = res.latitude
 									data.longitude = res.longitude
 									data.longitude = res.longitude
 									data.detailedAddress = _address.Village
 									data.detailedAddress = _address.Village
@@ -294,14 +298,14 @@
 									data.city = _address.City
 									data.city = _address.City
 									data.area = _address.Country
 									data.area = _address.Country
 									data.commonId = that.userInfo.id
 									data.commonId = that.userInfo.id
-									if(that.type==0){
-										uni.setStorageSync('storage_faddress',data)
-									}else{
-										uni.setStorageSync('storage_saddress',data)
+									if (that.type == 0) {
+										uni.setStorageSync('storage_faddress', data)
+									} else {
+										uni.setStorageSync('storage_saddress', data)
 									}
 									}
-									
+
 									uni.navigateBack({
 									uni.navigateBack({
-										delta:1
+										delta: 1
 									})
 									})
 									// uni.$u.route('/pages/release/release');
 									// uni.$u.route('/pages/release/release');
 									// that.temporaryAddress.latitude = res.latitude
 									// that.temporaryAddress.latitude = res.latitude
@@ -314,7 +318,7 @@
 									// that.configAddress(that.temporaryAddress)
 									// that.configAddress(that.temporaryAddress)
 									// that.$forceUpdate()
 									// that.$forceUpdate()
 								},
 								},
-								
+
 								fail(err) {
 								fail(err) {
 									console.log(err)
 									console.log(err)
 								},
 								},
@@ -340,23 +344,27 @@
 		background: white;
 		background: white;
 		padding: 20rpx;
 		padding: 20rpx;
 	}
 	}
+
 	.content {
 	.content {
-		height:100vh;
+		height: 100vh;
 	}
 	}
-	.content2-wrap{
-		margin-bottom:200rpx;
+
+	.content2-wrap {
+		margin-bottom: 200rpx;
 	}
 	}
+
 	.jt-icon {
 	.jt-icon {
 		position: relative;
 		position: relative;
 		top: 4rpx;
 		top: 4rpx;
 		width: 24rpx;
 		width: 24rpx;
 		margin: 0 10rpx;
 		margin: 0 10rpx;
-	
+
 	}
 	}
+
 	.content2 {
 	.content2 {
 		border-radius: 20rpx;
 		border-radius: 20rpx;
 		background: white;
 		background: white;
-		margin: 20rpx ;
+		margin: 20rpx;
 		padding: 20rpx;
 		padding: 20rpx;
 
 
 		.row {
 		.row {
@@ -386,7 +394,7 @@
 	.bottom-btn {
 	.bottom-btn {
 		position: fixed;
 		position: fixed;
 		bottom: 0rpx;
 		bottom: 0rpx;
-		padding:50rpx 0;
+		padding: 50rpx 0;
 		width: 100%;
 		width: 100%;
 		background-color: #fff;
 		background-color: #fff;
 		display: flex;
 		display: flex;