Files
wxapp_companion/pages/me/index.wxml
T
lik ff1b1664fa feat(apply): 入驻只收基本信息并新增启动页、材料后补与改服务城市
入驻表单移除身份证与证件材料(服务城市单选下拉,默认北京),只填姓名/手机/性别/城市/简介即可提交;新增 pages/launch 启动页先解析身份再跳转,无身份直接进申请页不再闪现首页;新增 pages/materials 证件材料补传页;个人资料页支持在职陪诊师修改服务城市;appId 更名为 wxapp_companion。
2026-11-10 16:34:00 +08:00

95 lines
3.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--pages/me/index.wxml-->
<view class="page">
<!-- 用户信息卡 -->
<view class="header-card">
<view class="avatar">
<image wx:if="{{user.avatar}}" class="avatar-img" src="{{user.avatar}}" mode="aspectFill" />
<text wx:else class="avatar-text">{{user.avatarText}}</text>
</view>
<view class="user-info">
<text class="user-name">{{user.name}}</text>
<text class="user-mobile">{{user.mobile || '暂未绑定手机号'}}</text>
</view>
</view>
<!-- 详细信息 -->
<view class="info-card">
<view class="info-item" wx:if="{{identityText}}">
<view class="info-left">
<t-icon name="award" size="36rpx" color="#C26A2E" />
<text class="info-label">身份</text>
</view>
<text class="info-value">{{identityText}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="user" size="36rpx" color="#C26A2E" />
<text class="info-label">性别</text>
</view>
<text class="info-value">{{user.sexLabel}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="calendar" size="36rpx" color="#C26A2E" />
<text class="info-label">出生日期</text>
</view>
<text class="info-value">{{user.birthText || '未填写'}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="mail" size="36rpx" color="#C26A2E" />
<text class="info-label">邮箱</text>
</view>
<text class="info-value">{{user.email || '未填写'}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="id-card" size="36rpx" color="#C26A2E" />
<text class="info-label">身份证号</text>
</view>
<text class="info-value">{{user.idnumber || '未填写'}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="location" size="36rpx" color="#C26A2E" />
<text class="info-label">所在地区</text>
</view>
<text class="info-value">{{user.locationText || '未填写'}}</text>
</view>
<view class="info-item" wx:if="{{isAttendant}}">
<view class="info-left">
<t-icon name="location" size="36rpx" color="#C26A2E" />
<text class="info-label">服务城市</text>
</view>
<picker
mode="selector"
range="{{serviceAreaLabels}}"
value="{{serviceAreaIndex}}"
bindchange="onServiceAreaChange"
>
<view class="info-value picker-value">
{{serviceAreaText || '未设置'}}
<text class="arrow">›</text>
</view>
</picker>
</view>
<view class="info-item" bindtap="onMaterialsTap">
<view class="info-left">
<t-icon name="file" size="36rpx" color="#C26A2E" />
<text class="info-label">证件材料</text>
</view>
<view class="info-value picker-value">
查看 / 补传
<text class="arrow">›</text>
</view>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="time" size="36rpx" color="#C26A2E" />
<text class="info-label">注册时间</text>
</view>
<text class="info-value">{{user.createText || '未知'}}</text>
</view>
</view>
</view>