style: 陪诊端三页视觉升级(字号放大后整页协调)
- 档案编辑页:表单值降为 500 字重、辅助文字提升一档、保存按钮增加「保存中…」防重复提交 - 预约记录页:卡片去描边、时间行加粗为第一眼信息、底行去 chevron、骨架屏替代转圈、空态增加预约入口按钮 - 预约详情页:陪诊师卡改为首字牌+一键拨打(makePhoneCall)、白卡圆角统一 28rpx、展开区增加入场动画 - 医院选择组件:选项文案与对齐微调
This commit is contained in:
@@ -183,7 +183,8 @@
|
||||
<!-- 陪诊师卡片:已派单显示名与电话;派单正常时后台会写姓名,
|
||||
若只有 id 未冗余名则退成「已安排」,不误报「待分配」。
|
||||
未派单(如待确认)显示占位,让用户知道「会有一位陪诊师」;
|
||||
已取消、已完成且无人可联系时不出现——那是正常结果,不必提示 -->
|
||||
已取消、已完成且无人可联系时不出现——那是正常结果,不必提示。
|
||||
有电话时右侧给实心「拨打」钮:就诊当天最核心动作是一键呼出,不必抄号 -->
|
||||
<view class="section attendant-section" wx:if="{{record.hasAttendant || (record.status !== 'cancelled' && record.status !== 'completed')}}">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
@@ -191,9 +192,19 @@
|
||||
</view>
|
||||
|
||||
<view class="card attendant-card">
|
||||
<text class="attendant-name" wx:if="{{record.hasAttendant}}">{{record.attendantName || '已安排'}}</text>
|
||||
<text class="attendant-empty" wx:else>待分配</text>
|
||||
<text class="attendant-phone" wx:if="{{record.attendantMobile}}">{{record.attendantMobile}}</text>
|
||||
<view class="attendant-avatar">{{record.attendantName ? record.attendantName[0] : '陪'}}</view>
|
||||
<view class="attendant-info">
|
||||
<text class="attendant-name" wx:if="{{record.hasAttendant}}">{{record.attendantName || '已安排'}}</text>
|
||||
<text class="attendant-empty" wx:else>待分配</text>
|
||||
<text class="attendant-phone" wx:if="{{record.attendantMobile}}">{{record.attendantMobile}}</text>
|
||||
</view>
|
||||
<view
|
||||
class="attendant-call"
|
||||
wx:if="{{record.attendantMobile}}"
|
||||
aria-role="button"
|
||||
aria-label="拨打陪诊师电话"
|
||||
bindtap="onCallAttendant"
|
||||
>拨打</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user