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 | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 046f7f7..647b188 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -8,9 +8,9 @@
@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
@@ -52,7 +52,7 @@
</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'>
@@ -66,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>
--
Gitblit v1.9.1