hookehuyr

fix: 更新默认头像和图片显示模式

更新海报检查页面的默认头像URL
为家庭成员头像添加aspectFill显示模式
移除排行榜中的状态显示并调整布局
优化无数据时的提示信息
...@@ -126,7 +126,6 @@ ...@@ -126,7 +126,6 @@
126 </view> 126 </view>
127 <view class="my-rank-right"> 127 <view class="my-rank-right">
128 <view class="my-steps">{{ activeTab === 'support' ? formatSupportSteps(myRank.step) : formatStepsForList(myRank.step) }}</view> 128 <view class="my-steps">{{ activeTab === 'support' ? formatSupportSteps(myRank.step) : formatStepsForList(myRank.step) }}</view>
129 - <view class="rank-status">{{ myRank.status }}</view>
130 </view> 129 </view>
131 </view> 130 </view>
132 </view> 131 </view>
...@@ -804,12 +803,14 @@ defineExpose({ ...@@ -804,12 +803,14 @@ defineExpose({
804 803
805 .my-rank-right { 804 .my-rank-right {
806 text-align: right; 805 text-align: right;
806 + display: flex;
807 + align-items: center;
808 + justify-content: flex-end;
807 809
808 .my-steps { 810 .my-steps {
809 font-size: 26rpx; 811 font-size: 26rpx;
810 font-weight: bold; 812 font-weight: bold;
811 color: var(--primary-color); 813 color: var(--primary-color);
812 - margin-bottom: 6rpx;
813 } 814 }
814 815
815 .rank-status { 816 .rank-status {
......
1 <!-- 1 <!--
2 * @Date: 2025-09-01 13:07:52 2 * @Date: 2025-09-01 13:07:52
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-28 14:54:22 4 + * @LastEditTime: 2025-09-28 16:43:09
5 * @FilePath: /lls_program/src/pages/FamilyRank/index.vue 5 * @FilePath: /lls_program/src/pages/FamilyRank/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -132,7 +132,10 @@ ...@@ -132,7 +132,10 @@
132 132
133 <!-- 暂无数据 --> 133 <!-- 暂无数据 -->
134 <view v-else-if="!loading && activeTab !== 'support'" class="no-data"> 134 <view v-else-if="!loading && activeTab !== 'support'" class="no-data">
135 - <view class="no-data-text">暂无{{ currentRegionName }}排行榜数据</view> 135 + <view class="no-data-text">暂无{{ currentRegionName }}排行榜更多数据</view>
136 + </view>
137 + <view v-else-if="!loading && activeTab === 'support'" class="no-data">
138 + <view class="no-data-text">暂无助力排行榜更多数据</view>
136 </view> 139 </view>
137 </view> 140 </view>
138 141
...@@ -153,7 +156,6 @@ ...@@ -153,7 +156,6 @@
153 </view> 156 </view>
154 <view class="my-rank-right"> 157 <view class="my-rank-right">
155 <view class="my-steps">{{ activeTab === 'support' ? formatSupportSteps(myRankInfo.step) : formatStepsForList(myRankInfo.step) }}</view> 158 <view class="my-steps">{{ activeTab === 'support' ? formatSupportSteps(myRankInfo.step) : formatStepsForList(myRankInfo.step) }}</view>
156 - <view class="rank-status">{{ myRankInfo.isNotRanked ? '未上榜' : '已上榜' }}</view>
157 </view> 159 </view>
158 </view> 160 </view>
159 </view> 161 </view>
...@@ -929,12 +931,14 @@ onMounted(async () => { ...@@ -929,12 +931,14 @@ onMounted(async () => {
929 931
930 .my-rank-right { 932 .my-rank-right {
931 text-align: right; 933 text-align: right;
934 + display: flex;
935 + align-items: center;
936 + justify-content: flex-end;
932 937
933 .my-steps { 938 .my-steps {
934 font-size: 32rpx; 939 font-size: 32rpx;
935 font-weight: bold; 940 font-weight: bold;
936 color: var(--primary-color); 941 color: var(--primary-color);
937 - margin-bottom: 8rpx;
938 } 942 }
939 943
940 .rank-status { 944 .rank-status {
......
1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-26 11:00:12 4 + * @LastEditTime: 2025-09-29 16:54:07
5 * @FilePath: /lls_program/src/pages/MyFamily/index.vue 5 * @FilePath: /lls_program/src/pages/MyFamily/index.vue
6 * @Description: 我的家庭页面 - 展示用户加入的家庭列表 6 * @Description: 我的家庭页面 - 展示用户加入的家庭列表
7 --> 7 -->
...@@ -187,6 +187,7 @@ ...@@ -187,6 +187,7 @@
187 <image 187 <image
188 :src="member.avatar_url || defaultAvatar" 188 :src="member.avatar_url || defaultAvatar"
189 class="w-10 h-10 rounded-full ml-3 object-cover flex-shrink-0" 189 class="w-10 h-10 rounded-full ml-3 object-cover flex-shrink-0"
190 + mode="aspectFill"
190 /> 191 />
191 192
192 <!-- 昵称和角色 --> 193 <!-- 昵称和角色 -->
......
...@@ -262,7 +262,7 @@ const updatePosterList = () => { ...@@ -262,7 +262,7 @@ const updatePosterList = () => {
262 backgroundImage: detail.background_url || defaultBackground, 262 backgroundImage: detail.background_url || defaultBackground,
263 // 海报内容数据 263 // 海报内容数据
264 user: { 264 user: {
265 - avatar: family?.avatar_url || 'https://cdn.ipadbiz.cn/icon/tou@2x.png', // 默认头像,后续可从用户信息获取 265 + avatar: family?.avatar_url || 'https://cdn.ipadbiz.cn/lls_prog/images/%E5%85%A8%E5%AE%B6%E7%A6%8F3_%E5%89%AF%E6%9C%AC.jpg?imageMogr2/strip/quality/60',
266 nickname: '用户昵称' // 默认昵称,后续可从用户信息获取 266 nickname: '用户昵称' // 默认昵称,后续可从用户信息获取
267 }, 267 },
268 family: { 268 family: {
......