From f7aa204aa8d20b090d7943969ddeb9871a1fad76 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期四, 12 九月 2024 17:28:06 +0800
Subject: [PATCH] -

---
 src/pages/index/index.vue |   41 ++++++++++++++++++++++++++++-------------
 1 files changed, 28 insertions(+), 13 deletions(-)

diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 67bfd8c..647b188 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -4,13 +4,13 @@
 			<view class="coreshop-ff c-p-10">
 				<!-- <up-search placeholder="璇风偣鍑婚�夋嫨鏃ユ湡" @clear='clear' @clickIcon='clickTime' @custom='search'
 					v-model="workTime" search-icon="calendar" @search='search'></up-search> -->
-				<up-search placeholder="璇疯緭鍏ュ伐浣滃悕绉�" @clear='clear' @clickIcon='clickTime' @custom='search'
-					v-model="state.orderName" @search='search'></up-search>
+				<up-search placeholder="璇疯緭鍏ュ伐浣滃悕绉�" @clear='clear' @custom='search' v-model="state.orderName"
+					@search='search'></up-search>
 			</view>
 		</up-sticky>
-		<scroll-view enable-flex="true">
+		<scroll-view enable-flex="true" v-if="listO.orderList">
 			<view class="list chuany-flex chuany-flex-direction chuany-align-center c-p-b-30 "
-				v-if="listO.orderList&&listO.orderList.length>0">
+				v-if="listO.orderList.length>0">
 				<view class="content c-p-b-18" v-for="(item,index) in listO.orderList" @click='toDetail(item.id)'
 					:key='item.id'>
 					<view
@@ -24,7 +24,10 @@
 							鎷泏{item.worderCounted}}/{{item.worderCount}}浜�
 						</text>
 					</view>
-					<view class="c-p-l-18 c-p-b-14 c-p-t-14 c-p-r-18 chuany-font34">
+					<view class="c-p-l-18 c-p-b-10 c-p-t-10 c-p-r-18 chuany-font34">
+						{{item.orderComName}}
+					</view>
+					<view class="c-p-l-18 c-p-b-10 c-p-r-18 chuany-font34">
 						{{item.orderName}}
 					</view>
 					<!-- <view class="chuany-flex c-p-l-18">
@@ -32,16 +35,24 @@
 						</up-tag>
 					</view> -->
 					<view class="chuany-flex chuany-flex-direction">
-						<text class='c-p-l-18 c-p-b-14 c-p-r-18 text-69'>
+						<text class='c-p-l-18 c-p-b-10 c-p-r-18 text-69'>
+							鏃ユ湡锛歿{item.wordStartTimeName}} 鑷� {{item.wordEndTimeName}}
+						</text>
+						<text class='c-p-l-18 c-p-b-10 c-p-r-18 text-69'>
+							鏃堕棿锛歿{item.startTimeName}} 鑷� {{item.endTimeName}}
+						</text>
+					</view>
+					<view class="chuany-flex chuany-flex-direction">
+						<text class='c-p-l-18 c-p-b-10 c-p-r-18 text-69'>
 							瑕佹眰锛歿{item.demand}}
 						</text>
-						<text class='c-p-l-18 c-p-b-14 c-p-r-18 text-69'>
+						<text class='c-p-l-18 c-p-b-10 c-p-r-18 text-69'>
 							鍦板潃锛歿{item.worderAddress}}
 						</text>
 					</view>
 					<view class='chuany-flex chuany-justify-between c-p-l-18 c-p-r-18'>
 						<view class="redcla">
-							<text class="chuany-font40 chuany-text-bold">
+							<text class="chuany-font40">
 								{{item.workPrice}}
 							</text>
 							<text class='chuany-font20'>
@@ -55,11 +66,12 @@
 				</view>
 				<up-loadmore :status="loadStatus" />
 			</view>
-			<view v-else>
-				<up-empty text='鏆傛棤' icon="/static/order.png">
-				</up-empty>
-			</view>
+
 		</scroll-view>
+		<view v-else>
+			<up-empty text='鏆傛棤' icon="/static/order.png">
+			</up-empty>
+		</view>
 		<fui-date-picker range :show="datePickerShow" type="5" @change="changePicker"
 			@cancel="cancel"></fui-date-picker>
 	</view>
@@ -132,7 +144,7 @@
 		console.log(identity.value);
 		PostListPage()
 	})
-	onHide(()=>{
+	onHide(() => {
 		listO.orderList = []
 	})
 	const PostListPage = (orderStatus) => {
@@ -200,6 +212,9 @@
 	const click = () => {
 
 	}
+	const cancel = () => {
+
+	}
 	const change = (e) => {
 		state.currentIdex = e.index
 	}

--
Gitblit v1.9.1