hookehuyr

style: 调整上传按钮的垂直位置和更新注释

修改了EditFamily和CreateFamily页面上传按钮的垂直位置,从bottom-2改为bottom-3
更新了Dashboard页面的TODO注释,添加更多实现细节
1 <!-- 1 <!--
2 * @Date: 2025-08-27 17:44:53 2 * @Date: 2025-08-27 17:44:53
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-02 11:51:18 4 + * @LastEditTime: 2025-09-02 16:29:48
5 * @FilePath: /lls_program/src/pages/CreateFamily/index.vue 5 * @FilePath: /lls_program/src/pages/CreateFamily/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
122 </view> 122 </view>
123 <view 123 <view
124 @click="chooseImage" 124 @click="chooseImage"
125 - class="absolute bottom-2 right-2 px-3 py-1 bg-black bg-opacity-50 text-white text-sm rounded-full flex items-center" 125 + class="absolute bottom-3 right-2 px-3 py-1 bg-black bg-opacity-50 text-white text-sm rounded-full flex items-center"
126 > 126 >
127 <Photograph size="14" class="mr-1" /> 127 <Photograph size="14" class="mr-1" />
128 {{ familyAvatar ? '更换' : '上传' }} 128 {{ familyAvatar ? '更换' : '上传' }}
......
...@@ -390,7 +390,7 @@ useDidShow(() => { ...@@ -390,7 +390,7 @@ useDidShow(() => {
390 } 390 }
391 initPageData(); 391 initPageData();
392 392
393 - // TODO: 真实情况下 需要重新获取积分列表, 测试随机积分获取状态 393 + // TODO: 真实情况下 需要重新获取积分列表, 测试随机积分获取状态, 接口有积分列表就显示出来, 没有就不显示
394 showTotalPointsOnly.value = Math.random() > 0.5 ? true : false; 394 showTotalPointsOnly.value = Math.random() > 0.5 ? true : false;
395 // 总积分数量也要从接口获取传进去 395 // 总积分数量也要从接口获取传进去
396 finalTotalPoints.value = 10086; 396 finalTotalPoints.value = 10086;
......
1 <!-- 1 <!--
2 * @Date: 2025-08-27 17:44:53 2 * @Date: 2025-08-27 17:44:53
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-02 11:51:36 4 + * @LastEditTime: 2025-09-02 16:30:22
5 * @FilePath: /lls_program/src/pages/EditFamily/index.vue 5 * @FilePath: /lls_program/src/pages/EditFamily/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
121 </view> 121 </view>
122 <view 122 <view
123 @click="chooseImage" 123 @click="chooseImage"
124 - class="absolute bottom-2 right-2 px-3 py-1 bg-black bg-opacity-50 text-white text-sm rounded-full flex items-center" 124 + class="absolute bottom-3 right-2 px-3 py-1 bg-black bg-opacity-50 text-white text-sm rounded-full flex items-center"
125 > 125 >
126 <Photograph size="14" class="mr-1" /> 126 <Photograph size="14" class="mr-1" />
127 {{ familyAvatar ? '更换' : '上传' }} 127 {{ familyAvatar ? '更换' : '上传' }}
......