入驻表单移除身份证与证件材料(服务城市单选下拉,默认北京),只填姓名/手机/性别/城市/简介即可提交;新增 pages/launch 启动页先解析身份再跳转,无身份直接进申请页不再闪现首页;新增 pages/materials 证件材料补传页;个人资料页支持在职陪诊师修改服务城市;appId 更名为 wxapp_companion。
93 lines
3.2 KiB
Plaintext
93 lines
3.2 KiB
Plaintext
<!--pages/materials/index.wxml-->
|
||
<view class="materials-page">
|
||
<view class="loading-box" wx:if="{{loading}}">
|
||
<text class="loading-text">加载中…</text>
|
||
</view>
|
||
|
||
<block wx:elif="{{!application}}">
|
||
<view class="empty-card">
|
||
<text class="empty-title">暂无入驻申请</text>
|
||
<text class="empty-desc">提交陪诊师入驻申请后,可在这里补传证件材料。</text>
|
||
</view>
|
||
</block>
|
||
|
||
<block wx:else>
|
||
<view class="hero">
|
||
<text class="hero-title">证件材料</text>
|
||
<text class="hero-desc">入驻时未上传的材料可在此补传;已上传的重新选择会覆盖原图。</text>
|
||
</view>
|
||
|
||
<view class="status-card" wx:if="{{application.status === 'rejected'}}">
|
||
<text class="status-title">申请已驳回</text>
|
||
<text class="status-desc">请在入驻申请页修改资料后重新提交,驳回状态下不能单独补材料。</text>
|
||
</view>
|
||
|
||
<view class="card">
|
||
<view class="upload-row">
|
||
<view class="upload-tile" data-field="qualification" bindtap="pickImage">
|
||
<image
|
||
wx:if="{{photos.qualification}}"
|
||
class="upload-img"
|
||
src="{{photos.qualification}}"
|
||
mode="aspectFill"
|
||
/>
|
||
<view wx:else class="upload-empty">
|
||
<text class="upload-plus">+</text>
|
||
</view>
|
||
</view>
|
||
<view class="upload-meta">
|
||
<text class="upload-name">资质证书照片</text>
|
||
<text class="upload-tip">
|
||
{{photos.qualification ? '已选择,点击可重新上传' : (hasQualification ? '已上传,点击可更换' : '未上传,点击补传')}}
|
||
</text>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="upload-row">
|
||
<view class="upload-tile" data-field="healthCertificate" bindtap="pickImage">
|
||
<image
|
||
wx:if="{{photos.healthCertificate}}"
|
||
class="upload-img"
|
||
src="{{photos.healthCertificate}}"
|
||
mode="aspectFill"
|
||
/>
|
||
<view wx:else class="upload-empty">
|
||
<text class="upload-plus">+</text>
|
||
</view>
|
||
</view>
|
||
<view class="upload-meta">
|
||
<text class="upload-name">健康证明照片</text>
|
||
<text class="upload-tip">
|
||
{{photos.healthCertificate ? '已选择,点击可重新上传' : (hasHealthCertificate ? '已上传,点击可更换' : '未上传,点击补传')}}
|
||
</text>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="field">
|
||
<text class="field-label">健康证有效期</text>
|
||
<picker
|
||
class="field-picker"
|
||
mode="date"
|
||
value="{{healthExpireDate}}"
|
||
start="{{today}}"
|
||
bindchange="onExpireChange"
|
||
>
|
||
<view class="field-value {{healthExpireDate ? '' : 'placeholder'}}">
|
||
{{healthExpireDate || '可后补,点击选择'}}
|
||
<text class="arrow">›</text>
|
||
</view>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
|
||
<button
|
||
class="submit-btn"
|
||
loading="{{submitting}}"
|
||
disabled="{{submitting || application.status === 'rejected'}}"
|
||
bindtap="submit"
|
||
>
|
||
保存材料
|
||
</button>
|
||
</block>
|
||
</view>
|