From aff8d054df4a638f399dc8f15d98c19b9c9aa785 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 29 四月 2025 10:11:25 +0800 Subject: [PATCH] 扫码视频播放 --- pages/personalCenter/components/user-center-card/index.wxml | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/pages/personalCenter/components/user-center-card/index.wxml b/pages/personalCenter/components/user-center-card/index.wxml index 19e9ae9..3b3b5da 100644 --- a/pages/personalCenter/components/user-center-card/index.wxml +++ b/pages/personalCenter/components/user-center-card/index.wxml @@ -1,8 +1,11 @@ <view class="user-center-card"> <!-- 鏈櫥褰曠殑鎯呭喌 --> <block wx:if="{{currAuthStep === AuthStepType.ONE}}"> - <view class="user-center-card__header" bind:tap="gotoUserEditPage"> - <t-avatar image="{{userInfo.avatarUrl || defaultAvatarUrl}}" class="user-center-card__header__avatar" /> + <view class="user-center-card__header"> + <!-- <t-avatar image="{{userInfo.avatarUrl || defaultAvatarUrl}}" class="user-center-card__header__avatar" /> --> + <view class="user-center-card__header__avatar"> + <t-image src="{{userInfo.icon || defaultAvatarUrl}}" mode="aspectFill" class="img" /> + </view> <view> <view class="user-center-card__header__name">{{'璇风櫥褰�'}}</view> </view> @@ -15,11 +18,14 @@ <!-- 宸茬櫥褰曚絾鏈巿鏉冪敤鎴蜂俊鎭儏鍐� --> <block wx:if="{{currAuthStep === AuthStepType.TWO}}"> <view class="user-center-card__header"> - <t-avatar image="{{userInfo.icon || defaultAvatarUrl}}" class="user-center-card__header__avatar" /> + <!-- <t-avatar image="{{userInfo.icon || defaultAvatarUrl}}" class="user-center-card__header__avatar" mode="aspectFill" t-class="avatar" /> --> + <view class="user-center-card__header__avatar"> + <t-image src="{{userInfo.icon || defaultAvatarUrl}}" mode="aspectFill" class="img" /> + </view> <view> <view class="user-center-card__header__name">{{userInfo.nickName || '寰俊鐢ㄦ埛'}}</view> <view class="userTypeBox"> - <text>{{userInfo.userType}}</text> + <text class="txt" wx:if="{{userInfo.userType}}">{{userInfo.userType}}</text> <text bindtap="editUserType" wx:if="{{userInfo.userType}}" class="edit">淇敼</text> <text bindtap="editUserType" wx:else class="edit">璁剧疆鐢ㄦ埛绫诲瀷</text> </view> @@ -35,11 +41,14 @@ <!-- 宸茬櫥褰曚笖宸茬粡鎺堟潈鐢ㄦ埛淇℃伅鐨勬儏鍐� --> <block wx:if="{{currAuthStep === AuthStepType.THREE}}"> <view class="user-center-card__header"> - <t-avatar t-class="avatar" mode="aspectFill" class="user-center-card__header__avatar" image="{{userInfo.icon || defaultAvatarUrl}}" /> + <!-- <t-avatar t-class="avatar" mode="aspectFill" class="user-center-card__header__avatar" image="{{userInfo.icon || defaultAvatarUrl}}" /> --> + <view class="user-center-card__header__avatar"> + <t-image src="{{userInfo.icon || defaultAvatarUrl}}" mode="aspectFill" class="img" /> + </view> <view> <view class="user-center-card__header__name">{{userInfo.nickName || '寰俊鐢ㄦ埛'}}</view> <view class="userTypeBox"> - <text>{{userInfo.userType}}</text> + <text class="txt" wx:if="{{userInfo.userType}}">{{userInfo.userType}}</text> <text bindtap="editUserType" wx:if="{{userInfo.userType}}" class="edit">淇敼</text> <text bindtap="editUserType" wx:else class="edit">璁剧疆鐢ㄦ埛绫诲瀷</text> </view> -- Gitblit v1.9.1