hookehuyr

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

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