hookehuyr

docs: 更新页面描述和优化导入路径

更新CreateFamily、Dashboard和Welcome页面的文件描述
统一BottomNav组件导入路径为@/别名
移除Dashboard页面未使用的Category图标导入
删除Welcome页面多余的console.log
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-16 17:13:50 4 + * @LastEditTime: 2025-09-16 22:16:21
5 * @FilePath: /lls_program/src/pages/CreateFamily/index.vue 5 * @FilePath: /lls_program/src/pages/CreateFamily/index.vue
6 - * @Description: 文件描述 6 + * @Description: 创建家庭
7 --> 7 -->
8 <template> 8 <template>
9 <view class="min-h-screen flex flex-col bg-[#F9FAFB]"> 9 <view class="min-h-screen flex flex-col bg-[#F9FAFB]">
......
1 +<!--
2 + * @Date: 2025-08-27 17:43:45
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2025-09-16 22:15:45
5 + * @FilePath: /lls_program/src/pages/Dashboard/index.vue
6 + * @Description: 首页
7 +-->
1 <template> 8 <template>
2 <view class="min-h-screen flex flex-col bg-white pb-16" style="background-color: #F9FAFB;"> 9 <view class="min-h-screen flex flex-col bg-white pb-16" style="background-color: #F9FAFB;">
3 <!-- Hero section with family name and background image --> 10 <!-- Hero section with family name and background image -->
...@@ -163,9 +170,8 @@ import "./index.less"; ...@@ -163,9 +170,8 @@ import "./index.less";
163 import { ref, computed, onMounted } from 'vue'; 170 import { ref, computed, onMounted } from 'vue';
164 import Taro, { useDidShow, useReady, useLoad } from '@tarojs/taro'; 171 import Taro, { useDidShow, useReady, useLoad } from '@tarojs/taro';
165 import { handleSharePageAuth, addShareFlag } from '@/utils/authRedirect'; 172 import { handleSharePageAuth, addShareFlag } from '@/utils/authRedirect';
166 - 173 +import { Setting, Photograph, IconFont } from '@nutui/icons-vue-taro';
167 -import { Setting, Photograph, Category, IconFont } from '@nutui/icons-vue-taro'; 174 +import BottomNav from '@/components/BottomNav.vue';
168 -import BottomNav from '../../components/BottomNav.vue';
169 import TotalPointsDisplay from '@/components/TotalPointsDisplay.vue'; 175 import TotalPointsDisplay from '@/components/TotalPointsDisplay.vue';
170 import PointsCollector from '@/components/PointsCollector.vue' 176 import PointsCollector from '@/components/PointsCollector.vue'
171 import WeRunAuth from '@/components/WeRunAuth.vue' 177 import WeRunAuth from '@/components/WeRunAuth.vue'
......
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:05:06 4 + * @LastEditTime: 2025-09-16 22:15:45
5 * @FilePath: /lls_program/src/pages/Welcome/index.vue 5 * @FilePath: /lls_program/src/pages/Welcome/index.vue
6 - * @Description: 文件描述 6 + * @Description: 欢迎页
7 --> 7 -->
8 <template> 8 <template>
9 <view class="min-h-screen flex flex-col bg-white"> 9 <view class="min-h-screen flex flex-col bg-white">
...@@ -146,8 +146,7 @@ ...@@ -146,8 +146,7 @@
146 import { ref } from 'vue'; 146 import { ref } from 'vue';
147 import Taro, { useDidShow, useLoad } from '@tarojs/taro'; 147 import Taro, { useDidShow, useLoad } from '@tarojs/taro';
148 import { handleSharePageAuth, addShareFlag } from '@/utils/authRedirect'; 148 import { handleSharePageAuth, addShareFlag } from '@/utils/authRedirect';
149 - 149 +import BottomNav from '@/components/BottomNav.vue';
150 -import BottomNav from '../../components/BottomNav.vue'; // 假设BottomNav组件已转换
151 import AdOverlay from '@/components/AdOverlay.vue' 150 import AdOverlay from '@/components/AdOverlay.vue'
152 // 获取接口信息 151 // 获取接口信息
153 import { getUserProfileAPI } from '@/api/user'; 152 import { getUserProfileAPI } from '@/api/user';
...@@ -189,7 +188,6 @@ const handleAdClose = () => { ...@@ -189,7 +188,6 @@ const handleAdClose = () => {
189 * @param {string} targetPage - 跳转的目标页面 188 * @param {string} targetPage - 跳转的目标页面
190 */ 189 */
191 const handleAdClick = (targetPage) => { 190 const handleAdClick = (targetPage) => {
192 - console.log('广告被点击,跳转到:', targetPage)
193 // 如果跳转路径是欢迎页和首页,不跳转直接关闭弹框 191 // 如果跳转路径是欢迎页和首页,不跳转直接关闭弹框
194 if (targetPage === '/pages/Dashboard/index' || targetPage === '/pages/Welcome/index') { 192 if (targetPage === '/pages/Dashboard/index' || targetPage === '/pages/Welcome/index') {
195 handleAdClose() 193 handleAdClose()
......