committed by
trae-solo-agent
co-authored by
Kimi-K3.1-Pro noreply@moonshot.cn
parent
1181d598b4
commit
df96cb3b07
@@ -59,13 +59,13 @@ Page({
|
||||
// 顺序:出生年月 → 联系电话 → 证件号(脱敏)
|
||||
const metaList = []
|
||||
if (profile.birth) {
|
||||
metaList.push(formatDate(profile.birth, profile.birth))
|
||||
metaList.push({ id: 'birth', text: formatDate(profile.birth, profile.birth) })
|
||||
}
|
||||
if (profile.mobile) {
|
||||
metaList.push(profile.mobile)
|
||||
metaList.push({ id: 'mobile', text: profile.mobile })
|
||||
}
|
||||
if (profile.idnumber) {
|
||||
metaList.push(maskIdNumber(profile.idnumber))
|
||||
metaList.push({ id: 'idnumber', text: maskIdNumber(profile.idnumber) })
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -36,9 +36,9 @@
|
||||
<text class="sex-tag" wx:if="{{item.sexText}}">{{item.sexText}}</text>
|
||||
</view>
|
||||
<view class="meta-list" wx:if="{{item.metaList.length > 0}}">
|
||||
<block wx:for="{{item.metaList}}" wx:for-item="meta" wx:key="*this">
|
||||
<block wx:for="{{item.metaList}}" wx:for-item="meta" wx:key="id">
|
||||
<view class="meta-sep" wx:if="{{index > 0}}"></view>
|
||||
<text class="meta-item">{{meta}}</text>
|
||||
<text class="meta-item">{{meta.text}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<text class="profile-remark" wx:if="{{item.remark}}">健康备注 {{item.remark}}</text>
|
||||
|
||||
Reference in New Issue
Block a user