重构完大部分页面了

This commit is contained in:
lik
2026-10-06 17:58:18 +08:00
parent 530135fce3
commit 40d0df3330
28 changed files with 412 additions and 537 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ Page({
})
},
// 拉取当前登录用户的健康档案(就诊人)列表
// 拉取当前登录用户的就诊人列表
loadProfiles() {
this.setData({
loading: true
@@ -41,7 +41,7 @@ Page({
})
})
.catch((err) => {
console.log('获取健康档案失败', err)
console.log('获取就诊人失败', err)
wx.showToast({
title: '网络请求失败',
icon: 'none'
@@ -122,7 +122,7 @@ Page({
this.loadProfiles()
})
.catch((err) => {
console.log('删除健康档案失败', err)
console.log('删除就诊人失败', err)
wx.showToast({
title: '网络请求失败',
icon: 'none'
+1 -1
View File
@@ -1,5 +1,5 @@
{
"navigationBarTitleText": "健康档案",
"navigationBarTitleText": "就诊人",
"usingComponents": {
"t-icon": "tdesign-miniprogram/icon/icon"
},
+1 -1
View File
@@ -43,7 +43,7 @@
<!-- 空状态 -->
<view class="empty-state" wx:if="{{!loading && profiles.length === 0}}">
<t-icon name="file-safety" size="120rpx" color="#D1D5DB" />
<text class="empty-text">还没有健康档案</text>
<text class="empty-text">还没有就诊人</text>
<text class="empty-subtext">添加就诊人后,下单时可一键带入信息</text>
</view>