From 393cdcbef072e52f3a046e884c8349c903c4081f Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期二, 12 九月 2023 10:18:48 +0800 Subject: [PATCH] 修改空数据提示 --- pages/customer-page/customer-index/customer-index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index 499b969..ccfc926 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -11,6 +11,7 @@ icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" + text="鏆傛棤鏁版嵁" v-if="orderPlanData.length == 0"></u-empty> </view> <view class="collection-form"> @@ -67,6 +68,7 @@ icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" + text="鏆傛棤鏁版嵁" v-if="historyCoalData.length == 0"></u-empty> <view class="history-information" v-for="(item, index) in historyCoalData" @@ -202,8 +204,7 @@ canClick: false }; }, - onLoad() {}, - onShow() { + onLoad() { this.init(); }, methods: { @@ -313,7 +314,7 @@ // 鎻愮叅鍗曡鎯� cardBodyClick(v) { uni - .navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2}` }); + .navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2}` }); }, // 鐐瑰嚮鍘嗗彶鎻愮叅鍗曡幏鍙栬鎯� faYundetail(v) { @@ -478,7 +479,8 @@ box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15); border-radius: 20rpx; overflow: hidden; - @include flex flex-direction: column; + @include flex; + flex-direction: column; position: relative; align-items: flex-start; margin-top: vww(10); -- Gitblit v1.9.1