From 13d0fc75a48f91cb1e6efa124d5f838b382ea53c Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 18 七月 2025 18:59:45 +0800
Subject: [PATCH] 调接口

---
 small-program/pages/mine/mine.vue                                         |    2 
 small-program/static/icon/ic_money@2x.png                                 |    0 
 /dev/null                                                                 |    0 
 small-program/pages/employment-certification/employment-certification.vue |   46 ++++++
 small-program/static/icon/ic_renzhengzhong@3x.png                         |    0 
 small-program/pages/certification-results/certification-results.vue       |    3 
 server/services/src/main/java/com/doumee/core/constants/Constants.java    |    1 
 small-program/pages/balance-details/balance-details.vue                   |   99 ++++++++++++-
 small-program/static/icon/ic_renzhengzhong.png                            |    0 
 small-program/pages/order-details/order-details.vue                       |  240 +++++++++++++++++++++++++++------
 small-program/static/icon/ic_renzhengzhong@2x.png                         |    0 
 11 files changed, 328 insertions(+), 63 deletions(-)

diff --git a/server/services/src/main/java/com/doumee/core/constants/Constants.java b/server/services/src/main/java/com/doumee/core/constants/Constants.java
index 7e8743b..ae38fd5 100644
--- a/server/services/src/main/java/com/doumee/core/constants/Constants.java
+++ b/server/services/src/main/java/com/doumee/core/constants/Constants.java
@@ -358,7 +358,6 @@
      */
     @Getter
     public enum RevenueType {
-
         YGD_INCOME(  0, "鐢ㄥ伐鍗曟敹鍏�","鐢ㄥ伐鍗曟敹鍏�" ,0),
         HYD_INCOME(  1, "璐ц繍鍗曟敹鍏�","璐ц繍鍗曟敹鍏�" ,0),
         GCD_INCOME(2, "渚涢鍗曟敹鍏�","渚涢鍗曟敹鍏�" ,0),
diff --git a/small-program/pages/balance-details/balance-details.vue b/small-program/pages/balance-details/balance-details.vue
index 0e67401..98168ec 100644
--- a/small-program/pages/balance-details/balance-details.vue
+++ b/small-program/pages/balance-details/balance-details.vue
@@ -1,48 +1,110 @@
 <template>
 	<view class="mx">
 		<view class="index-search" :style="{ top: (statusbarHeight + navHeight) + 'px' }">
-			<view :class="item.id === type ? 'index-search-item active' : 'index-search-item'" v-for="(item, index) in list" :key="index" @click="changeType(item.id)">
+			<view :class="item.id === type ? 'index-search-item active' : 'index-search-item'" v-for="(item, index) in list" :key="index" @click="changeType(item.id,item.optType)">
 				<text>{{item.name}}</text>
 				<view class="index-search-item-x" v-if="item.id === type"></view>
 			</view>
 		</view>
 		<view class="mx-list">
-			<view class="mx-list-item" v-for="(item, index) in 12" :key="index">
+			<view v-if="dataList && dataList.length" class="mx-list-item" v-for="(item, index) in dataList" :key="index">
 				<view class="mx-list-item-a">
-					<text>鎻愮幇鍒伴浂閽�</text>
-					<text>-500.00</text>
+					<text>{{item.remark || ''}}</text>
+					<text>{{(item.optType||1 * (item.amount||0)/100).toFixed(2) }}鍏�</text>
 				</view>
 				<view class="mx-list-item-b">
-					<text>浜ゆ槗鍙凤細1234567876544</text>
-					<text>宸插埌璐�</text>
+					<text>浜ゆ槗鍙凤細{{item.transactionNo || '-'}}</text>
+					<text v-if="item.status ==0">宸插埌璐�</text>
+					<text v-if="item.status ==1">浜ゆ槗澶辫触</text>
+					<text v-if="item.status ==2" class="redtxt">澶勭悊涓�</text>
 				</view>
 				<view class="mx-list-item-c">
-					2025-06-30 12:30:20
+					{{item.createTime}}
 				</view>
+			</view>
+			<view class="mx-list-item-d">
+				<text v-if="!hasMore">{{loadTxt}}</text> 
 			</view>
 		</view>
 	</view>
 </template>
 
 <script>
-	export default {
+	export default { 
 		data() {
 			return {
 				type: 1,
 				list: [
-					{ name: '鍏ㄩ儴', id: 1 },
-					{ name: '鏀跺叆', id: 2 },
-					{ name: '鏀嚭', id: 3 }
+					{ name: '鍏ㄩ儴', id: 1, optType:null },
+					{ name: '鏀跺叆', id: 2, optType:1 },
+					{ name: '鏀嚭', id: 3 , optType:-1}
 				],
+				searchForm:{
+					optType:null
+				},
 				capacity:10,
 				page:1,
-				list:[]
+				hasMore: true,
+				dataList:[],
+				changing1:false,
+				loadTxt:'宸插姞杞藉叏閮�'
 			};
 		},
+		onReachBottom() {
+			if(this.hasMore){
+				this.getPageData(this.page+1)
+			}
+			console.log("鎴戣瑙﹀彂浜�")
+		},
+		onShow(){
+			this.changeType(1,'')  
+		},
 		methods: {
-			changeType(id) {
+			changeType(id,optType) {
+				if(this.changing1){
+					return
+				}
 				this.type = id
+				this.searchForm.optType = optType
+				this.getPageData(1)
 			},
+			getPageData(page){
+				this.page = page
+				if(this.page ==1){
+					this.hasMore=true
+					this.dataList=[]
+				}
+				if(this.changing1){
+					return
+				}
+				this.changing1 = true
+				var that = this
+				var param ={
+					capacity:this.capacity,
+					page : this.page,
+					model:{
+						optType:this.searchForm.optType
+					}
+				}
+				that.$u.api.revenuePage(param)
+				.then(res =>{
+					if(res.code ===200) {
+						if(res.data && res.data.records && res.data.records.length && res.data.page == that.page) { 
+							that.dataList = [...that.dataList,...(res.data.records)]
+						} 
+						if(that.dataList.length == (res.data.total||0)){
+							that.hasMore = false
+						}
+						if(res.data.total ==0){
+							that.loadTxt='鏈煡璇㈠埌璁板綍'
+						}else{
+							that.loadTxt='宸插姞杞藉叏閮�'
+						}
+					} 
+				 }).finally(() => {
+					that.changing1 = false
+				})
+			}
 		}
 	}
 </script>
@@ -54,6 +116,13 @@
 			width: 100%;
 			padding: 0 30rpx;
 			box-sizing: border-box;
+			.mx-list-item-d{
+				padding: 20px;
+				width: 100%;
+				text-align: center;
+				font-size: 24rpx;
+				color: #999999;
+			}
 			.mx-list-item {
 				width: 100%;
 				height: 208rpx;
@@ -61,6 +130,7 @@
 				flex-direction: column;
 				justify-content: space-evenly;
 				border-bottom: 1rpx solid #E5E5E5;
+				
 				.mx-list-item-a {
 					width: 100%;
 					display: flex;
@@ -142,4 +212,7 @@
 			}
 		}
 	}
+	.redtxt{
+		color: #FF0000 !important;
+	}
 </style>
diff --git a/small-program/pages/certification-results/certification-results.vue b/small-program/pages/certification-results/certification-results.vue
index 20e1200..f06dd99 100644
--- a/small-program/pages/certification-results/certification-results.vue
+++ b/small-program/pages/certification-results/certification-results.vue
@@ -73,8 +73,7 @@
 				typeName: '鐢ㄦ埛璁よ瘉',
 				flag: null, 
 				loading:false,
-				info: {},
-				
+				info: {}, 
 			};
 		},
 		onLoad(options) {
diff --git a/small-program/pages/employment-certification/employment-certification.vue b/small-program/pages/employment-certification/employment-certification.vue
index 5b178d8..61d1915 100644
--- a/small-program/pages/employment-certification/employment-certification.vue
+++ b/small-program/pages/employment-certification/employment-certification.vue
@@ -208,8 +208,14 @@
 				bgImg: require('@/static/image/bg_renzheng_yonggong@2x.png'),
 				title: '鐢ㄦ埛璁よ瘉',
 				flag: null,
+<<<<<<< HEAD
 				isCompany: false,
 				loading: false,
+=======
+				isCompany:false,
+				loading:false,
+				info: {},
+>>>>>>> 66fcf61061d6d275c1848df5d3f8e0082f6b02ba
 				form: {
 					"companyName": "",
 					authType: 0,
@@ -240,7 +246,12 @@
 			var flag = options.flag
 			this.flag = flag
 			this.initFormData()
+<<<<<<< HEAD
 			switch (flag) {
+=======
+			this.getApplyData()
+			switch(flag){
+>>>>>>> 66fcf61061d6d275c1848df5d3f8e0082f6b02ba
 				case '1':
 					this.title = '璐ц繍璁よ瘉'
 					this.bgImg = require('@/static/image/bg_renzheng_huoyun@2x.png')
@@ -431,8 +442,43 @@
 					}
 				})
 			},
+<<<<<<< HEAD
 			uploadImg(index) {
 				var that = this
+=======
+			getApplyData(){
+				var that = this 
+				var param ={ type:that.flag}
+				this.$u.api.getIdentityInfo(param).then(res =>{
+					if(res.code ===200){
+						if(res.data && res.data.id){
+							that.info = res.data
+							for (const key in that.form) {
+							  that.form[key] = that.info[key]
+							}
+							if(that.info.authType == 1){
+								that.form.img1Full = that.info.imgList.length>0?that.info.imgList[0]:null
+								that.form.img2Full = that.info.imgList.length>1?that.info.imgList[1]:null
+								that.form.img3Full = that.info.imgList.length>2?that.info.imgList[2]:null
+								that.form.img4Full = that.info.imgList.length>3?that.info.imgList[3]:null
+							}else{
+								that.form.img1= null
+								that.form.img1 = null
+								that.form.img2 = null
+								that.form.img2Full = null
+								that.form.img11 = that.info.img1
+								that.form.img11Full = that.info.imgList.length>0?that.info.imgList[0]:null
+								that.form.img21 = that.info.img2
+								that.form.img21Full = that.info.imgList.length>1?that.info.imgList[1]:null
+							}
+						}
+						
+					}
+				 }) 
+			},
+			uploadImg(index){
+				var that =this
+>>>>>>> 66fcf61061d6d275c1848df5d3f8e0082f6b02ba
 				uni.chooseImage({
 					count: 1, // 榛樿9
 					sizeType: ['original', 'compressed'],
diff --git a/small-program/pages/mine/mine.vue b/small-program/pages/mine/mine.vue
index 0404e7d..a6fe7a9 100644
--- a/small-program/pages/mine/mine.vue
+++ b/small-program/pages/mine/mine.vue
@@ -29,7 +29,7 @@
 					<view class="info-box-label">璐︽埛浣欓</view>
 					<view class="info-box-price">
 						<text>锟{isLogin?((userInfo.amount|| 0)/100).toFixed(2) :0.00}}</text>
-						<view class="info-box-price-btn" @click="jump(6)">鍘绘彁鐜�</view>
+						<view class="info-box-price-btn" @click="jump(isLogin?6:5)">鍘绘彁鐜�</view>
 					</view>
 				</view>
 			</view>
diff --git a/small-program/pages/order-details/order-details.vue b/small-program/pages/order-details/order-details.vue
index 9e62cc0..9896ee8 100644
--- a/small-program/pages/order-details/order-details.vue
+++ b/small-program/pages/order-details/order-details.vue
@@ -4,64 +4,79 @@
 			宸插彇娑�
 		</view> -->
 		<view class="order-head" :style="{ backgroundImage: 'url(' + bgImg + ')' }">
-			<view class="order-head-status">寰呮帴鍗�</view>
-			<view class="order-head-info">鎮ㄥ凡缁忔垚鍔熷彂璧风敤宸ュ崟锛岃鑰愬績绛夊緟鎺ュ崟</view>
+			<view class="order-head-status">{{info.statusName || ''}}</view>
+			<view class="order-head-info">{{getStatusInfo()}}</view> 
 		</view>
 		<view class="order-quxiao">
-			<view class="order-quxiao-btn">鍙栨秷璁㈠崟</view>
+			<view class="order-quxiao-btn" @click="show = true" v-if="userInfo.id === info.acceptMemberId && info.status ===2">鍙栨秷璁㈠崟</view>
+			<view class="order-quxiao-btn" @click="show = true" v-if="userInfo.id === info.releaseMemberId && (info.status ===0 ||  info.status ===1|| info.status ===2)">鍙栨秷璁㈠崟</view>
 		</view>
-		<view class="order-user">
+		<view class="order-user"  v-if="userInfo.id === info.releaseMemberId">
 			<view class="order-user-info">
 				<view class="user-info-l">
 					<view class="user-info-l-image">
-						<image src="/static/logo.png" mode="widthFix"></image>
+						<image v-if="info.acceptCoverImage" :src="info.acceptCoverImage" mode="widthFix"></image>
+						<image v-else src="/static/logo.png" mode="widthFix"></image>
 					</view>
 					<view class="user-info-l-i">
-						<view class="user-info-l-i-top">鑾茶姳鍔冲姟鍏徃</view>
+						<view class="user-info-l-i-top">{{info.acceptName || '鍖垮悕'}}</view>
 						<view class="user-info-l-i-bottom">
 							<view class="user-info-l-i-bottom-item">
 								<text>璇勫垎锛�</text>
-								<text>90</text>
+								<text>{{info.score || '-'}}</text>
 							</view>
 							<view class="user-info-l-i-bottom-item">
 								<text>鍗曟暟锛�</text>
-								<text>100</text>
+								<text>{{info.publishNum || 0}}</text>
 							</view>
 						</view>
 					</view>
 				</view>
-				<view class="user-info-r">
+				<view class="user-info-r" @click="contactPhone(info.acceptPhone)">
 					<image src="/static/icon/ic_call@2x.png" mode="widthFix"></image>
 					<text>鑱旂郴甯堝倕</text>
 				</view>
 			</view>
 		</view>
-		<view class="order-info">
+		<view class="order-info" >
 			<view class="order-info-title">
 				<view class="x"></view>
-				<text>鐢ㄥ伐鍗�-閲囨憳宸�</text>
+				<text v-if="info.type===0">鐢ㄥ伐鍗�-{{(info.workType===0?'閲囨憳宸�':(info.workType===1?'鍒嗘嫞宸�':'鍖呰宸�')) }}</text> 
+				<text v-if="info.type===1">杩愯揣鍗�-{{info.categoryName || ''}}-{{info.carUnit || ''}}</text>
+				<text v-if="info.type===2">璁㈤鍗�</text>
+				
 			</view>
-			<view class="order-info-wz">钁¤悇锝�2000鏂�</view>
+			<view v-if="info.type===0" class="order-info-wz">{{info.categoryName || ''}}锝渰{info.priceNum1 || '' }}鏂�</view>
+			<view v-if="info.type===1" class="order-info-wz">{{info.transportTypeName || ''}}{{' | '}}{{info.transportNum || '' }}{{info.transportUnit||''}}{{' | '}}闇�{{info.priceNum2 || '' }}杈�</view> 
 			<view class="order-info-address">
 				<image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image>
 				<view class="order-info-address-info">
-					<text>闀挎睙瑗胯矾澶ц渶灞辨.鏋楀叕鍥タ闂ㄤ繚瀹夊</text>
-					<text>鍦扮偣鎻忚堪鏂囧瓧鍦扮偣鎻忚堪鍦扮偣鎻忚堪鏂囧瓧</text>
+					<text>{{info.location || '' }}</text>
+					<text>{{info.locationRemark || '' }}</text>
 				</view>
 			</view>
 			<view class="order-info-address">
 				<image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image>
 				<view class="order-info-address-info">
-					<text>闀挎睙瑗胯矾澶ц渶灞辨.鏋楀叕鍥タ闂ㄤ繚瀹夊</text>
+					<text>{{info.startDate || ''}}-{{info.endDate || ''}}({{info.totalDays||0}}澶�)</text>
+				</view>
+			</view>
+			<view class="address" v-if="info.type===1 && wayList && wayList.length>0">
+				<view class="address-xian"></view>
+				<view class="address-row"  v-for="(item,index) in wayList" style="display: block;margin: 10px" :key="'bbb'+index">
+					<image v-if="index === 0" src="/static/icon/ic_qidian@2x.png" mode="widthFix"></image>
+					<image v-if="index >0 && index < wayList.length-1" src="/static/icon/ic_jingguo@2x.png" mode="widthFix"></image>
+					<image v-if="index === wayList.length-1" src="/static/icon/ic_zhongdian@2x.png" mode="widthFix"></image>
+					<text>{{item.location || ''}}</text>
 				</view>
 			</view>
 			<view class="order-info-x"></view>
 			<view class="order-info-supplement">
 				<view class="order-info-supplement-title">闇�姹傝ˉ鍏咃細</view>
-				<view class="order-info-supplement-val">鐢峰コ閮藉彲锛屽寘鍗堥キ锛屽共娲婚夯鍒╋紝鏃╀笂9鐐瑰埌涓嬪崍4鐐癸紝鍙厤璐瑰甫1鏂よ憽钀勫洖瀹�</view>
+				<view class="order-info-supplement-val">{{info.supplement || '' }}</view>
 				<view class="order-info-supplement-list">
-					<view class="order-info-supplement-list-item" v-for="(item,index) in 4" :key="index">
-						<image src="/static/logo.png" mode="widthFix"></image>
+					<view class="order-info-supplement-list-item" v-for="(item,index) in info.multifileList" v-if="info.multifileList && info.multifileList.length>0" :key="item.imgurl">
+						<image v-if="item.fileurlFull"  :src="item.fileurlFull" @click="previemImg(item.fileurlFull)" mode="widthFix"></image>
 					</view>
 					<view style="width: 156rpx; height: 0;"></view>
 					<view style="width: 156rpx; height: 0;"></view>
@@ -70,35 +85,43 @@
 			<view class="order-info-price">
 				<view class="price-row">
 					<view class="price-row-label">璐圭敤鏍囧噯</view>
-					<view class="price-row-val">0.5鍏�/鏂�</view>
+					<view class="price-row-val" v-if="info.type !==2">{{((info.price||0)/100).toFixed(2) }}{{info.priceUnit || '' }}</view>
+					<view class="price-row-val" v-if="info.type ===2">
+						<text  v-for="(item,index) in wayList">
+							 {{item.name || ''}}{{((item.price||0)/100).toFixed(2)}}鍏儃{item.num||0}}浠絳{index != wayList.length-1?'|':''}}
+						</text>
+					</view>
 				</view>
 				<view class="price-row">
-					<view class="price-row-label">棰勪及鎬昏垂鐢�</view>
-					<view class="price-row-val" style="color: #FF0000;">楼1000.00</view>
+					<view class="price-row-label">棰勪及鎬昏垂鐢�(鍏�)</view>
+					<view class="price-row-val" style="color: #FF0000;">
+						楼{{((info.estimatedAccount||0)/100).toFixed(2) }}
+					</view>
 				</view>
 			</view>
 		</view>
-		<view class="order-info">
+		<view class="order-info" v-if="info.commentStatus ===1">
 			<view class="order-info-title">
 				<text>璇勪环</text>
 			</view>
-			<u-rate :count="count" activeColor="#FFC331" size="26" v-model="value"></u-rate>
+			<u-rate :count="count" activeColor="#FFC331" size="26" v-model="info.commentLevel"></u-rate>
 			<view class="order-info-remark">
-				骞叉椿鍒╄惤鏁堢巼楂樺共娲诲埄钀芥晥鐜囬珮骞叉椿鍒╄惤鏁堢巼楂樺共娲诲埄钀芥晥鐜囬珮骞叉椿鍒╄惤鏁堢巼楂�
+				{{ info.commentInfo || '-'}}
 			</view>
 		</view>
-		<view class="order-ren">
+		<view class="order-ren" v-if="userInfo.id === info.acceptMemberId">
 			<view class="order-ren-left">
 				<view class="order-ren-left-img">
-					<image src="/static/logo.png" mode="widthFix"></image>
+					<image v-if="info.releaseCoverImage" :src="info.releaseCoverImage" mode="widthFix"></image>
+					<image v-else src="/static/logo.png" mode="widthFix"></image>
 				</view>
-				<text>鍙插ぉ鏁�</text>
-				<view class="order-ren-left-tip">涓氫富</view>
+				<text>{{info.releaseName || '鍖垮悕'}}</text>
+				<view class="order-ren-left-tip">鍙戝崟鏂�</view>
 			</view>
 			<view class="order-ren-x"></view>
-			<view class="order-ren-lx">
+			<view class="order-ren-lx"  @click="contactPhone(info.releasePhone)">
 				<image src="/static/icon/ic_call@2x.png" mode="widthFix"></image>
-				<text>鑱旂郴涓氫富</text>
+				<text>鍙戝崟鏂�</text>
 			</view>
 		</view>
 		<view class="order-info">
@@ -108,43 +131,48 @@
 			<view class="order-info-list">
 				<view class="order-info-list-item">
 					<text>璁㈠崟缂栧彿锛�</text>
-					<text>202107131742520001</text>
+					<text>{{info.code || ''}}</text>
 				</view>
 				<view class="order-info-list-item">
 					<text>涓嬪崟鏃堕棿锛�</text>
-					<text>2025-07-26 09:32:11</text>
+					<text>{{info.createTime||'-'}}</text>
 				</view>
 				<view class="order-info-list-item">
 					<text>鎺ュ崟鏃堕棿锛�</text>
-					<text>2025-07-26 09:32:11</text>
+					<text>{{info.acceptTime||'-'}}</text>
 				</view>
 				<view class="order-info-list-item">
 					<text>寮�濮嬫椂闂达細</text>
-					<text>2025-07-26 09:32:11</text>
+					<text>{{info.workStartTime||'-'}}</text>
 				</view>
 				<view class="order-info-list-item">
 					<text>瀹屾垚鏃堕棿锛�</text>
-					<text>2025-07-26 09:32:11</text>
+					<text>{{info.finishTime||'-'}}</text>
 				</view>
 				<view class="order-info-list-item">
 					<text>鏀粯鏃堕棿锛�</text>
-					<text>2025-07-26 09:32:11</text>
+					<text>{{info.payTime||'-'}}</text>
 				</view>
 				<view class="order-info-list-item">
 					<text>鏀粯鏂瑰紡锛�</text>
-					<text>2025-07-26 09:32:11</text>
+					<text>{{info.payMethod==0?'寰俊鏀粯':'-'}}</text>
 				</view>
 				<view class="order-info-list-item">
 					<text>浜ゆ槗鍗曞彿锛�</text>
-					<text>2025-07-26 09:32:11</text>
+					<text>{{info.wxExternalNo || '-'}}</text>
 				</view>
 			</view>
 		</view>
 		<view style="width: 100%; height: calc(108rpx + env(safe-area-inset-bottom));"></view>
 		<view class="order-footer">
-			<view class="order-footer-btn">
-				<view class="order-footer-btn-a" @click="show = true">鍙栨秷璁㈠崟</view>
-				<view class="order-footer-btn-b">淇敼璁㈠崟</view>
+			<view class="order-footer-btn"> 
+				<view class="order-footer-btn-a" @click="show = true" v-if="userInfo.id === info.acceptMemberId && info.status ===2">鍙栨秷璁㈠崟</view>
+				<view class="order-footer-btn-a" @click="show = true" v-if="userInfo.id === info.releaseMemberId && (info.status ===0 ||  info.status ===1|| info.status ===2)">鍙栨秷璁㈠崟</view>
+				<view class="order-footer-btn-b" v-if="userInfo.id === info.releaseMemberId && (info.status ===4 && info.commentStatus!=1)">鍘昏瘎浠�</view>
+				<view class="order-footer-btn-b" v-if="userInfo.id === info.releaseMemberId &&((info.status ===3 && info.type !==2)|| (info.status ===0 && info.type===2))">鍘绘敮浠�</view>
+				<view class="order-footer-btn-b" v-if="userInfo.id === info.releaseMemberId && (info.status ===0 ||  info.status ===1|| info.status ===2)">淇敼璁㈠崟</view>
+				<view class="order-footer-btn-b" v-if="userInfo.id === info.releaseMemberId && (info.isUpdate==1 && info.status ===2)">淇敼纭</view>
+				<view class="order-footer-btn-b" v-if="userInfo.id !== info.releaseMemberId && (info.status ===1)">鎶㈠崟</view>
 			</view>
 			<view style="width: 100%; height: env(safe-area-inset-bottom);"></view>
 		</view>
@@ -207,21 +235,98 @@
 				<view class="zhifu-botton" style="margin-top: 60rpx;">绔嬪嵆璇勪环</view>
 			</view>
 		</u-popup>
-		
 	</view>
 </template>
 
 <script>
+	import { mapState } from 'vuex'
 	export default {
+		computed: {
+			...mapState( ['userInfo'])
+		},
 		data() {
 			return {
 				show: false,
 				show1: false,
 				show2: false,
-				count: 4,
-				value: 2,
-				bgImg: require('@/static/image/bg_green@2x.png')
+				count: 5, 
+				wayList:[],
+				bgImg: require('@/static/image/bg_green@2x.png'),
+				id: null,
+				loading:false,
+				info: {}, 
 			};
+		},
+		onLoad(options) {
+			console.log(options)
+			var id = options.id
+			this.id = id
+			this.getOrderData()
+		},
+		methods:{
+			previemImg(src){
+				uni.previewImage({
+					current: src, // 褰撳墠鏄剧ず鍥剧墖鐨刪ttp閾炬帴
+					urls: [src] // 闇�瑕侀瑙堢殑鍥剧墖http閾炬帴鍒楄〃
+				  });
+			},
+			contactPhone(phone){
+				if(phone !=null && phone!=''){
+					uni.makePhoneCall({
+					   phoneNumber: phone  
+					})
+				}
+			},
+			//璁㈠崟鐘舵��:0=寰呮敮浠� 1=寰呮帴鍗曪紱2=宸叉帴鍗曪紱3=杩涜涓紱4=宸插畬鎴愶紱99=宸插彇娑�
+			getStatusInfo(){
+				if(this.userInfo.id === this.info.acceptMemberId){
+					//濡傛灉鏄帴鍗曟柟
+					if(this.info.status === 0){
+						return ''
+					}else if(this.info.status === 1){
+						return ''
+					}else if(this.info.status === 2){
+						return '鎮ㄥ凡鎺ュ崟锛岃鎸夋椂瀹屾垚璁㈠崟浠诲姟'
+					}else if(this.info.status === 3){
+						return '璁㈠崟杩涜涓紝璇锋寜鏃跺畬鎴愯鍗曚换鍔�'
+					}else if(this.info.status === 4){
+						return '鎮ㄧ殑璁㈠崟宸插畬鎴�'
+					}else if(this.info.status === 99){
+						return '璁㈠崟宸插彇娑�'
+					}
+				}else{
+					//濡傛灉鏄彂甯冩柟
+					if(this.info.status === 0){
+						return '璇峰敖蹇畬鎴愭敮浠橈紝鍙戝竷璁㈠崟'
+					}else if(this.info.status === 1){
+						return '鎮ㄨ鍗曞凡缁忔垚鍔熷彂璧凤紝璇疯�愬績绛夊緟鎺ュ崟'
+					}else if(this.info.status === 2){
+						return '璁㈠崟寮�濮嬩綔涓氬悗锛岃鎷栧姩涓嬫柟鈥滃紑濮嬩綔涓氣�濇寜'
+					}else if(this.info.status === 3){
+						return this.info.type!=2?'璁㈠崟瀹屾垚鍚庤鐐瑰嚮涓嬫柟鈥滃畬鎴愬苟鏀粯鈥濇寜閽�':'璁㈠崟姝e湪杩涜涓�'
+					}else if(this.info.status === 4){
+						return this.info.commentStatus==1?'鎮ㄧ殑璁㈠崟宸插畬鎴愶紝娆㈣繋鍐嶆浣跨敤': '鎮ㄧ殑璁㈠崟宸插畬鎴愶紝璇峰強鏃惰瘎浠�'
+					}else if(this.info.status === 99){
+						return '璁㈠崟宸插彇娑�'
+					}
+				}
+			},
+			getOrderData(){
+				var that = this
+				var param ={ orderId:that.id}
+				this.$u.api.getDetail(param).then(res =>{
+					if(res.code ===200){
+						if(that.userInfo.id === res.data.releaseMemberId || that.userInfo.id === res.data.acceptMemberId ){
+							that.info = res.data
+							if(that.info.wayInfo){
+								that.wayList = JSON.parse(that.info.wayInfo)
+							}
+						}else{
+							uni.showToast({ title: '璁㈠崟淇℃伅涓嶅瓨鍦�', icon: 'error', duration: 2000 });
+						}
+					}
+				 }) 
+			}
 		}
 	}
 </script>
@@ -568,7 +673,9 @@
 					&:last-child {
 						margin: 0 !important;
 					}
-					.price-row-label {
+					.price-row-label { 
+						flex-shrink: 0;
+						margin-right: 30rpx;
 						font-weight: 400;
 						font-size: 30rpx;
 						color: #777777;
@@ -788,4 +895,45 @@
 			}
 		}
 	}
+	.address {
+		width: 100%;
+		background: #F7F7F7;
+		border-radius: 16rpx;
+		padding: 30rpx;
+		box-sizing: border-box;
+		margin-bottom: 24rpx;
+		position: relative;
+		.address-xian {
+			position: absolute;
+			top: 17px;
+			left: 24px;
+			width: 1rpx;
+			height: calc(100% - 60rpx);
+			border-right: 2rpx dashed #B2B2B2;
+		}
+		.address-row {
+			position: relative;
+			z-index: 2;
+			width: 100%;
+			display: flex !important; 
+			align-items: center;
+			margin-bottom: 30rpx ;
+			margin-left: 0rpx !important;
+			margin-top: 0rpx !important;
+			&:last-child { 
+				margin-bottom: 0 !important;
+			}
+			image {
+				width: 36rpx;
+				height: 36rpx;
+				flex-shrink: 0;
+				margin-right: 24rpx;
+			}
+			text {
+				font-weight: 400;
+				font-size: 28rpx;
+				color: #333333;
+			}
+		}
+	}
 </style>
diff --git a/small-program/static/icon/ic_money@2x.png b/small-program/static/icon/ic_money@2x.png
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/small-program/static/icon/ic_money@2x.png
diff --git a/small-program/static/icon/ic_renzhengzhong.png b/small-program/static/icon/ic_renzhengzhong.png
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/small-program/static/icon/ic_renzhengzhong.png
diff --git a/small-program/static/icon/ic_renzhengzhong@2x.png b/small-program/static/icon/ic_renzhengzhong@2x.png
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/small-program/static/icon/ic_renzhengzhong@2x.png
diff --git a/small-program/static/icon/ic_renzhengzhong@3x.png b/small-program/static/icon/ic_renzhengzhong@3x.png
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/small-program/static/icon/ic_renzhengzhong@3x.png
diff --git "a/small-program/static/icon/\302\245@2x.png" "b/small-program/static/icon/\302\245@2x.png"
deleted file mode 100644
index 092c67c..0000000
--- "a/small-program/static/icon/\302\245@2x.png"
+++ /dev/null
Binary files differ

--
Gitblit v1.9.3