完善表单校验与公共数据逻辑

Co-Authored-By: Kimi-K3.1-Pro <noreply@moonshot.ai>
This commit is contained in:
lik
2026-10-24 18:49:02 +08:00
committed by trae-solo-agent
co-authored by Kimi-K3.1-Pro
parent d731fc1da3
commit a45a3d7a86
18 changed files with 496 additions and 336 deletions
+7 -1
View File
@@ -46,8 +46,14 @@
</view>
</view>
<!-- 请求失败与真实空态分开,失败时提供原地重试。 -->
<view class="load-error" wx:if="{{!loading && loadError}}">
<text class="load-error-text">{{loadError}}</text>
<view class="retry-btn" bindtap="retryLoad">重新加载</view>
</view>
<!-- 空状态 -->
<view class="profile-empty" wx:if="{{!loading && profiles.length === 0}}">
<view class="profile-empty" wx:if="{{!loading && !loadError && profiles.length === 0}}">
<t-icon name="user-checked" class="profile-empty-icon" size="80rpx" />
<text class="profile-empty-text">还没有就诊人,添加后下单即可一键带入</text>
</view>