清理无效页面与前端发布风险

Co-Authored-By: Kimi-K3.1-Pro noreply@moonshot.cn
This commit is contained in:
lik
2026-10-24 19:07:02 +08:00
committed by trae-solo-agent
co-authored by Kimi-K3.1-Pro noreply@moonshot.cn
parent 1181d598b4
commit df96cb3b07
43 changed files with 144 additions and 1878 deletions
+3 -3
View File
@@ -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 {
+2 -2
View File
@@ -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>