feat(hospital-select): 重构医院选择组件与相关样式
- 移除列表/手填切换模式,改为「其他医院」常驻入口内联手填 - 选项行高按放大后的字号重算,搜索框不再自动聚焦 - 服务详情、预约表单与相关页面同步 hospitalCustom 状态 - 统一就诊人添加按钮、个人档案、首页与培训页字号样式
This commit is contained in:
@@ -115,10 +115,10 @@
|
||||
<view class="patient-chip {{selectedProfileId === item._id ? 'active' : ''}}" wx:for="{{profiles}}" wx:key="_id"
|
||||
data-id="{{item._id}}" bindtap="onSelectProfile">
|
||||
<text class="patient-chip-name">{{item.name}}</text>
|
||||
<text class="patient-chip-phone">{{item.mobile}}</text>
|
||||
</view>
|
||||
<view class="patient-chip patient-chip-add" bindtap="goToAddProfile">
|
||||
<text class="patient-chip-name">+ 添加就诊人</text>
|
||||
<view class="patient-chip patient-chip-add" bindtap="goToAddProfile" aria-role="button" aria-label="增加就诊人">
|
||||
<t-icon name="add" size="28rpx" color="#9B4508" />
|
||||
<text class="patient-chip-name">增加</text>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
@@ -154,7 +154,6 @@
|
||||
<hospital-select
|
||||
label="就诊医院"
|
||||
value="{{hospital}}"
|
||||
manual="{{hospitalManual}}"
|
||||
options="{{hospitalOptions}}"
|
||||
placeholder="请选择就诊医院"
|
||||
disabled="{{submitting}}"
|
||||
|
||||
Reference in New Issue
Block a user