- 页首:itemorder / guide / contact / attendants 删除与导航栏重复的大标题,统一为「短横 + 一句导语」 - 字号:页面主标题 44、区块标题 34、卡内标题 32;卡片圆角 28;容器内距 32(DESIGN.md 新增 §九) - 状态色:utils/order.js 只产出语气档,两页胶囊改 .chip-tone-* 读 --status-* 令牌,删除内联 style 与 JS 色值 - 下单:字段标签去浅橙药丸改裸字,医院选择组件同步;搜索/手填输入框去掉旧绿底 - 文案:清除英文大写小标、粘字箭头与中点串,统一细竖线/留白分隔 - 修复:预约记录空值整行剔除、陪诊师卡片与重试态补按下反馈、三处无限动画补减动效回退 - aichat:消息时间改为距上条满 5 分钟才显示
78 lines
3.4 KiB
Plaintext
78 lines
3.4 KiB
Plaintext
<view class="page-bg">
|
||
<view class="container">
|
||
<view wx:if="{{loading}}" class="state-card">加载中...</view>
|
||
|
||
<view wx:elif="{{loadError}}" class="state-card" hover-class="state-card-hover" bindtap="onRetry">
|
||
{{ loadError }},点击重试
|
||
</view>
|
||
|
||
<block wx:elif="{{attendant}}">
|
||
<view class="profile-card">
|
||
<view class="avatar">{{ attendant.initial }}</view>
|
||
<view class="profile-info">
|
||
<view class="name-row">
|
||
<text class="attendant-name">{{ attendant.name }}</text>
|
||
<text class="order-count">已接 {{ attendant.orderCount }} 单</text>
|
||
</view>
|
||
<text class="profile-meta">{{ attendant.metaText }}</text>
|
||
<view class="tag-row" wx:if="{{attendant.specialties.length}}">
|
||
<text class="tag" wx:for="{{attendant.specialties}}" wx:for-item="tag" wx:key="*this">{{ tag }}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="info-card">
|
||
<view class="info-row" wx:if="{{attendant.areaText}}">
|
||
<text class="info-label">服务区域</text>
|
||
<text class="info-value">{{ attendant.areaText }}</text>
|
||
</view>
|
||
<view class="info-row" wx:if="{{attendant.languageText}}">
|
||
<text class="info-label">服务语言</text>
|
||
<text class="info-value">{{ attendant.languageText }}</text>
|
||
</view>
|
||
<view class="info-row">
|
||
<text class="info-label">资质核验</text>
|
||
<text class="info-value {{ attendant.qualificationVerified ? 'ok' : '' }}">{{ attendant.qualificationVerified ? '已核验' : '核验中' }}</text>
|
||
</view>
|
||
<view class="info-row">
|
||
<text class="info-label">健康证明</text>
|
||
<text class="info-value {{ attendant.healthCertificate.valid ? 'ok' : '' }}">
|
||
{{ attendant.healthCertificate.valid ? '有效' : '待更新' }}{{ attendant.healthCertificate.expireDate ? '(至 ' + attendant.healthCertificate.expireDate + ')' : '' }}
|
||
</text>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="section-card" wx:if="{{attendant.introduction}}">
|
||
<text class="section-title">个人介绍</text>
|
||
<text class="section-text">{{ attendant.introduction }}</text>
|
||
</view>
|
||
|
||
<view class="section-card" wx:if="{{attendant.trainings.length}}">
|
||
<text class="section-title">培训与资质</text>
|
||
<view class="training-item" wx:for="{{attendant.trainings}}" wx:key="title">
|
||
<text class="training-title">{{ item.title }}</text>
|
||
<view class="training-meta">
|
||
<text>{{ item.org }}</text>
|
||
<view class="meta-sep" wx:if="{{item.date}}"></view>
|
||
<text wx:if="{{item.date}}">{{ item.date }}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="section-card">
|
||
<text class="section-title">服务评价</text>
|
||
<view wx:if="{{attendant.review.count}}" class="review-row">
|
||
<text class="review-score">{{ attendant.review.score ? attendant.review.score + ' 分' : '评价较少' }}</text>
|
||
<text class="review-count">共 {{ attendant.review.count }} 条评价</text>
|
||
</view>
|
||
<text wx:else class="section-text muted">暂无评价,期待您的服务反馈</text>
|
||
</view>
|
||
|
||
<view class="bottom-space"></view>
|
||
<view class="bottom-bar">
|
||
<button class="cta-btn" bindtap="onSelect">{{ selectMode ? '选择 TA' : '预约 TA' }}</button>
|
||
</view>
|
||
</block>
|
||
</view>
|
||
</view>
|