优化我的订单再服务器故障时,显示的反馈状态

This commit is contained in:
WindowBird 2025-09-15 10:46:05 +08:00
parent cb5b55badd
commit 3462805cee

View File

@ -1,12 +1,12 @@
<template>
<view class="container">
<!-- 加载状态 -->
<view v-if="loading && list.length === 0" class="loading-container">
<text class="loading-text">正在加载...</text>
</view>
<!-- <view v-if="loading && list.length === 0" class="loading-container">-->
<!-- <text class="loading-text">正在加载...</text>-->
<!-- </view>-->
<!-- 空数据状态 -->
<view v-else-if="isEmpty" class="empty-container">
<view v-if="isEmpty" class="empty-container">
<view class="empty-icon">📋</view>
<text class="empty-text">暂无订单数据</text>
</view>