hookehuyr

fix: 更新欢迎页图片链接和家庭排行显示逻辑

修改欢迎页的图片链接地址
调整家庭排行页面中大家长信息的显示逻辑,根据tab不同显示不同内容
补充家庭排行信息中的缺失字段
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-18 17:38:03 4 + * @LastEditTime: 2025-09-18 17:59:13
5 * @FilePath: /lls_program/src/pages/FamilyRank/index.vue 5 * @FilePath: /lls_program/src/pages/FamilyRank/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
137 </view> 137 </view>
138 <view class="my-family-info"> 138 <view class="my-family-info">
139 <view class="my-family-name">{{ myRankInfo.family_name }}</view> 139 <view class="my-family-name">{{ myRankInfo.family_name }}</view>
140 - <view class="my-leader-name">大家长:{{ myRankInfo.created_by_nickname }}</view> 140 + <view class="my-leader-name">{{ activeTab === 'support' ? `${myRankInfo.created_by_nickname}个家庭` : `大家长:${myRankInfo.created_by_nickname}` }}</view>
141 </view> 141 </view>
142 </view> 142 </view>
143 <view class="my-rank-right"> 143 <view class="my-rank-right">
...@@ -392,7 +392,9 @@ const myRankInfo = computed(() => { ...@@ -392,7 +392,9 @@ const myRankInfo = computed(() => {
392 return { 392 return {
393 ...currentInstitution, 393 ...currentInstitution,
394 name: currentInstitution.name, 394 name: currentInstitution.name,
395 + family_name: currentInstitution.name,
395 avatar_url: currentInstitution.avatar_url, 396 avatar_url: currentInstitution.avatar_url,
397 + created_by_nickname: currentInstitution.created_by_nickname,
396 step: currentInstitution.step, 398 step: currentInstitution.step,
397 rank: currentInstitution.rank 399 rank: currentInstitution.rank
398 } 400 }
......
1 <!-- 1 <!--
2 * @Date: 2025-08-27 17:43:45 2 * @Date: 2025-08-27 17:43:45
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-16 22:15:45 4 + * @LastEditTime: 2025-09-18 17:55:04
5 * @FilePath: /lls_program/src/pages/Welcome/index.vue 5 * @FilePath: /lls_program/src/pages/Welcome/index.vue
6 * @Description: 欢迎页 6 * @Description: 欢迎页
7 --> 7 -->
...@@ -153,7 +153,7 @@ import { getUserProfileAPI } from '@/api/user'; ...@@ -153,7 +153,7 @@ import { getUserProfileAPI } from '@/api/user';
153 // 导入主题颜色 153 // 导入主题颜色
154 import { THEME_COLORS } from '@/utils/config'; 154 import { THEME_COLORS } from '@/utils/config';
155 155
156 -const welcomeHomeImg = 'https://cdn.ipadbiz.cn/lls_prog/images/welcome_home.png'; 156 +const welcomeHomeImg = 'https://cdn.ipadbiz.cn/lls_prog/images/welcome_home_1.png';
157 157
158 const userAge = ref(null); 158 const userAge = ref(null);
159 const userInfo = ref({}); 159 const userInfo = ref({});
......