修改了页面样式。
This commit is contained in:
@@ -12,46 +12,60 @@
|
||||
<text class="header-subtitle">{{ service.subtitle }}</text>
|
||||
</view>
|
||||
|
||||
<!-- 服务详情 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">服务详情</text>
|
||||
</view>
|
||||
<text class="detail-text">{{ service.description }}</text>
|
||||
<!-- 内容分页:「服务详情 + 注意事项」都是读一遍的信息,放同一页;
|
||||
「服务流程」有先后顺序,单独一页,避免首屏被长流程占满 -->
|
||||
<view class="tab-bar">
|
||||
<view class="tab-item {{activeTab === 'detail' ? 'active' : ''}}" data-tab="detail" bindtap="onTabChange"
|
||||
aria-role="tab" aria-label="服务详情">服务详情</view>
|
||||
<view class="tab-item {{activeTab === 'flow' ? 'active' : ''}}" data-tab="flow" bindtap="onTabChange"
|
||||
aria-role="tab" aria-label="服务流程">服务流程</view>
|
||||
</view>
|
||||
|
||||
<!-- 服务流程:这是真序列,编号在此处合法。橙色导轨是本页唯一的结构性重音,
|
||||
实心橙仍只留给底部与弹窗的提交按钮 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">服务流程</text>
|
||||
<!-- 详情页:服务说明 + 注意事项 -->
|
||||
<view class="tab-panel" wx:if="{{activeTab === 'detail'}}">
|
||||
<!-- 服务详情 -->
|
||||
<view class="section section-first">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">服务详情</text>
|
||||
</view>
|
||||
<text class="detail-text">{{ service.description }}</text>
|
||||
</view>
|
||||
<view class="step-list">
|
||||
<view class="step" wx:for="{{ service.flow }}" wx:key="title">
|
||||
<view class="step-rail">
|
||||
<view class="step-dot">{{ index + 1 }}</view>
|
||||
<view class="step-line" wx:if="{{ index < service.flow.length - 1 }}"></view>
|
||||
</view>
|
||||
<view class="step-body">
|
||||
<text class="step-title">{{ item.title }}</text>
|
||||
<text class="step-desc">{{ item.desc }}</text>
|
||||
|
||||
<!-- 注意事项:与指南页同一套圆点语言 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">注意事项</text>
|
||||
</view>
|
||||
<view class="dot-list">
|
||||
<view class="dot-item" wx:for="{{ service.notices }}" wx:key="id">
|
||||
<view class="dot"></view>
|
||||
<text class="dot-text">{{ item.text }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 注意事项:与指南页同一套圆点语言 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">注意事项</text>
|
||||
</view>
|
||||
<view class="dot-list">
|
||||
<view class="dot-item" wx:for="{{ service.notices }}" wx:key="id">
|
||||
<view class="dot"></view>
|
||||
<text class="dot-text">{{ item.text }}</text>
|
||||
<!-- 流程页:这是真序列,编号在此处合法。橙色导轨是本页唯一的结构性重音,
|
||||
实心橙仍只留给底部与弹窗的提交按钮 -->
|
||||
<view class="tab-panel" wx:if="{{activeTab === 'flow'}}">
|
||||
<view class="section section-first">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">服务流程</text>
|
||||
</view>
|
||||
<view class="step-list">
|
||||
<view class="step" wx:for="{{ service.flow }}" wx:key="title">
|
||||
<view class="step-rail">
|
||||
<view class="step-dot">{{ index + 1 }}</view>
|
||||
<view class="step-line" wx:if="{{ index < service.flow.length - 1 }}"></view>
|
||||
</view>
|
||||
<view class="step-body">
|
||||
<text class="step-title">{{ item.title }}</text>
|
||||
<text class="step-desc">{{ item.desc }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -142,12 +156,6 @@
|
||||
<input class="order-input" value="{{hospital}}" placeholder="请输入就诊医院" placeholder-class="input-placeholder" bindinput="onHospitalChange" />
|
||||
</view>
|
||||
|
||||
<!-- 就诊科室 -->
|
||||
<view class="order-row">
|
||||
<text class="order-label">就诊科室</text>
|
||||
<input class="order-input" value="{{department}}" placeholder="请输入就诊科室" placeholder-class="input-placeholder" bindinput="onDepartmentChange" />
|
||||
</view>
|
||||
|
||||
<!-- 陪诊师性别要求 -->
|
||||
<view class="order-row">
|
||||
<text class="order-label">陪诊师性别</text>
|
||||
|
||||
Reference in New Issue
Block a user