From f04f35b562760afbac0c477357e2a29f77aec3b9 Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期四, 02 十月 2025 13:51:47 +0800
Subject: [PATCH] fix: 修复评审次数重复显示问题
---
wx/pages/registration/registration.wxml | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/wx/pages/registration/registration.wxml b/wx/pages/registration/registration.wxml
index 5722221..7caa068 100644
--- a/wx/pages/registration/registration.wxml
+++ b/wx/pages/registration/registration.wxml
@@ -14,6 +14,39 @@
<text class="activity-desc">{{activity.description}}</text>
</view>
+ <!-- 褰撳墠鐢ㄦ埛淇℃伅 -->
+ <view wx:if="{{userInfo}}" class="user-info-section">
+ <view class="section-title">褰撳墠鐧诲綍鐢ㄦ埛</view>
+ <view class="user-info-card">
+ <view class="user-avatar-wrapper">
+ <image
+ wx:if="{{userInfo.avatarUrl}}"
+ class="user-avatar"
+ src="{{userInfo.avatarUrl}}"
+ mode="aspectFill"
+ />
+ <view wx:else class="user-avatar-placeholder">
+ <text class="avatar-text">{{userInfo.name ? userInfo.name.substring(0, 1) : '鐢�'}}</text>
+ </view>
+ </view>
+ <view class="user-details">
+ <view class="user-name">{{userInfo.name || '鏈缃�'}}</view>
+ <view class="user-info-row" wx:if="{{userInfo.phone}}">
+ <text class="info-label">鎵嬫満鍙凤細</text>
+ <text class="info-value">{{userInfo.phone}}</text>
+ </view>
+ <view class="user-info-row" wx:if="{{userInfo.gender !== null && userInfo.gender !== undefined}}">
+ <text class="info-label">鎬у埆锛�</text>
+ <text class="info-value">{{userInfo.gender === 0 ? '鐢�' : '濂�'}}</text>
+ </view>
+ <view class="user-info-row" wx:if="{{userInfo.education}}">
+ <text class="info-label">瀛﹀巻锛�</text>
+ <text class="info-value">{{userInfo.education}}</text>
+ </view>
+ </view>
+ </view>
+ </view>
+
<!-- 鍩烘湰淇℃伅 -->
<view class="form-section">
<view class="section-title">鍩烘湰淇℃伅</view>
--
Gitblit v1.8.0