<view class="hospital-container"> <scroll-view scroll-y="{{true}}" class="hospital-scroll" onScrollToLower="getPayData"> <view class="hospital-item" a:for="{{hospitalList}}" onTap="handleToBook" data-item="{{item}}"> <!-- 展示内容 --> <view class="item-left"> <text class="campus">{{item.name}}</text> <text class="address">{{item.address}}</text> <text class="time">{{item.extInfo.time}}</text> </view> <!-- 选择按钮 --> <view class="item-right"> <button class="btn" size="mini" type="primary">选择</button> </view> </view> </scroll-view> <!-- 选择就诊人 --> <select-person show="{{showPerson}}" onClose="onClosePerson" onChange="onPersonChange" defaultList="{{personList}}"/> </view>