Browse Source

chore(frontend): 取消跟踪陈旧 build_log.txt + 删除无用的 fix-hbuilderx-scoped.js

- build_log.txt: 2026-08-13 的陈旧构建日志(40KB),内容已失效且仍引用早已删除的页面路径;
  从 Git 取消跟踪但保留本地文件,并新增 .gitignore 规则防止被再次添加
- fix-hbuilderx-scoped.js: 硬编码 macOS 路径的死代码,Windows 环境下从不可用,无任何代码引用
- 本 commit 不含任何页面源码改动:排查 14 个页面退化为 13 字节 Component({}) 的问题时,
  已确认 pages.json 注册与全部 264 个页面源码均正常,根因是 unpackage/ 下残留的
  webpack 增量缓存(optimization.noEmitOnErrors=false 导致构建错误被静默吞掉),
  清空 unpackage 后重新编译即全部恢复

Co-Authored-By: Sisyphus (Anthropic) <noreply@anthropic.com>
liaoxg 2 days ago
parent
commit
633f65c48f
3 changed files with 2 additions and 1097 deletions
  1. 2 0
      .gitignore
  2. 0 1052
      cfc-frontend/build_log.txt
  3. 0 45
      cfc-frontend/fix-hbuilderx-scoped.js

+ 2 - 0
.gitignore

@@ -14,6 +14,8 @@
 # Logs
 *.log
 logs/
+# HBuilderX / uni-app CLI 构建日志(.txt 后缀,不会被上面的 *.log 覆盖)
+**/build_log.txt
 
 # OS files
 .DS_Store

+ 0 - 1052
cfc-frontend/build_log.txt

@@ -1,1052 +0,0 @@
-
-> cfc-frontend@1.0.0 build:mp-weixin
-> cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin UNI_INPUT_DIR=. UNI_CLI_CONTEXT=. vue-cli-service uni-build
-
-该应用之前可能是非自定义组件模式,目前以自定义组件模式运行。非自定义组件已于2019年11月1日起停止支持。详见:https://ask.dcloud.net.cn/article/36385
-Please note that in running mode, due to log output, sourcemap, and uncompressed source code, the performance and package size are not as good as release mode.To officially release, please click the release menu or use the cli release command to release
-There are differences in the implementation mechanism of the browser kernels and custom components of each mini-program, and there may be compatibility issues with styles and layouts, please refer to: https://uniapp.dcloud.io/matter?id=mp
-
- WARNING  Compiled with 260 warnings23:48:31
-
- warning  in ./pages/games/1a2b.vue
-
-"export 'components' was not found in './1a2b.vue?vue&type=template&id=19434987&scoped=true&'
-
- warning  in ./components/AIFloatingAvatar.vue
-
-"export 'components' was not found in './AIFloatingAvatar.vue?vue&type=template&id=025fa5fc&'
-
- warning  in ./components/AITaskCard.vue
-
-"export 'components' was not found in './AITaskCard.vue?vue&type=template&id=271b2f78&scoped=true&'
-
- warning  in ./components/ArticleBookshelf.vue
-
-"export 'components' was not found in './ArticleBookshelf.vue?vue&type=template&id=465aa734&scoped=true&'
-
- warning  in ./components/BaseBadge.vue
-
-"export 'components' was not found in './BaseBadge.vue?vue&type=template&id=05421b87&scoped=true&'
-
- warning  in ./components/BaseEmpty.vue
-
-"export 'components' was not found in './BaseEmpty.vue?vue&type=template&id=32b12031&scoped=true&'
-
- warning  in ./components/BaseLoading.vue
-
-"export 'components' was not found in './BaseLoading.vue?vue&type=template&id=358769a0&scoped=true&'
-
- warning  in ./components/BodyWealthAlert.vue
-
-"export 'components' was not found in './BodyWealthAlert.vue?vue&type=template&id=22332ba2&scoped=true&'
-
- warning  in ./components/CircleCard.vue
-
-"export 'components' was not found in './CircleCard.vue?vue&type=template&id=b794b0ca&scoped=true&'
-
- warning  in ./components/CircleDetail.vue
-
-"export 'components' was not found in './CircleDetail.vue?vue&type=template&id=47d60b9c&scoped=true&'
-
- warning  in ./components/CircleRanking.vue
-
-"export 'components' was not found in './CircleRanking.vue?vue&type=template&id=bc366e0a&scoped=true&'
-
- warning  in ./components/ConfettiCelebration.vue
-
-"export 'components' was not found in './ConfettiCelebration.vue?vue&type=template&id=4afced92&scoped=true&'
-
- warning  in ./components/ContactCard.vue
-
-"export 'components' was not found in './ContactCard.vue?vue&type=template&id=74337d45&scoped=true&'
-
- warning  in ./components/ContactImport.vue
-
-"export 'components' was not found in './ContactImport.vue?vue&type=template&id=67b29fcc&scoped=true&'
-
- warning  in ./components/ContentSharePoster.vue
-
-"export 'components' was not found in './ContentSharePoster.vue?vue&type=template&id=7260c2ee&scoped=true&'
-
- warning  in ./components/DailySummary.vue
-
-"export 'components' was not found in './DailySummary.vue?vue&type=template&id=556943a8&scoped=true&'
-
- warning  in ./components/DimensionActivities.vue
-
-"export 'components' was not found in './DimensionActivities.vue?vue&type=template&id=2c184168&scoped=true&'
-
- warning  in ./components/DimensionProducts.vue
-
-"export 'components' was not found in './DimensionProducts.vue?vue&type=template&id=ca237fc2&scoped=true&'
-
- warning  in ./components/DimensionTasks.vue
-
-"export 'components' was not found in './DimensionTasks.vue?vue&type=template&id=5d5fd83a&scoped=true&'
-
- warning  in ./components/FamilyChallengeCard.vue
-
-"export 'components' was not found in './FamilyChallengeCard.vue?vue&type=template&id=292ece84&scoped=true&'
-
- warning  in ./components/FamilyEmptyState/FamilyEmptyState.vue
-
-"export 'components' was not found in './FamilyEmptyState.vue?vue&type=template&id=19999e04&scoped=true&'
-
- warning  in ./components/FamilyEnergyBar.vue
-
-"export 'components' was not found in './FamilyEnergyBar.vue?vue&type=template&id=1496595c&scoped=true&'
-
- warning  in ./components/FamilyHealthRanking.vue
-
-"export 'components' was not found in './FamilyHealthRanking.vue?vue&type=template&id=9b49b9aa&scoped=true&'
-
- warning  in ./components/FamilyMemberCard.vue
-
-"export 'components' was not found in './FamilyMemberCard.vue?vue&type=template&id=e3dd34ae&scoped=true&'
-
- warning  in ./components/FamilyMemberStrip.vue
-
-"export 'components' was not found in './FamilyMemberStrip.vue?vue&type=template&id=3a2229cf&scoped=true&'
-
- warning  in ./components/FamilyRelationGraph.vue
-
-"export 'components' was not found in './FamilyRelationGraph.vue?vue&type=template&id=298cccba&scoped=true&'
-
- warning  in ./components/FamilyTianpanCard.vue
-
-"export 'components' was not found in './FamilyTianpanCard.vue?vue&type=template&id=437aef48&scoped=true&'
-
- warning  in ./components/FeedbackToast.vue
-
-"export 'components' was not found in './FeedbackToast.vue?vue&type=template&id=501cc357&scoped=true&'
-
- warning  in ./components/GenerationPicker.vue
-
-"export 'components' was not found in './GenerationPicker.vue?vue&type=template&id=214423be&scoped=true&'
-
- warning  in ./components/HealthAlertBanner.vue
-
-"export 'components' was not found in './HealthAlertBanner.vue?vue&type=template&id=3c74f43e&scoped=true&'
-
- warning  in ./components/HealthBadge.vue
-
-"export 'components' was not found in './HealthBadge.vue?vue&type=template&id=c3f08dc8&scoped=true&'
-
- warning  in ./components/HealthTimeline.vue
-
-"export 'components' was not found in './HealthTimeline.vue?vue&type=template&id=83f3bb50&scoped=true&'
-
- warning  in ./components/LoginGuideCard.vue
-
-"export 'components' was not found in './LoginGuideCard.vue?vue&type=template&id=4c87535e&scoped=true&'
-
- warning  in ./components/MicroActionCard.vue
-
-"export 'components' was not found in './MicroActionCard.vue?vue&type=template&id=f3d96282&scoped=true&'
-
- warning  in ./components/MilestoneCelebration.vue
-
-"export 'components' was not found in './MilestoneCelebration.vue?vue&type=template&id=7bfa7235&scoped=true&'
-
- warning  in ./components/OnboardingGuide.vue
-
-"export 'components' was not found in './OnboardingGuide.vue?vue&type=template&id=774ca096&scoped=true&'
-
- warning  in ./components/PageBanner.vue
-
-"export 'components' was not found in './PageBanner.vue?vue&type=template&id=258384b6&scoped=true&'
-
- warning  in ./components/PlayfulButton.vue
-
-"export 'components' was not found in './PlayfulButton.vue?vue&type=template&id=3bdb3790&scoped=true&'
-
- warning  in ./components/PlayfulCard.vue
-
-"export 'components' was not found in './PlayfulCard.vue?vue&type=template&id=47e53424&scoped=true&'
-
- warning  in ./pages/profile/components/ProfileBadges.vue
-
-"export 'components' was not found in './ProfileBadges.vue?vue&type=template&id=79a245ff&scoped=true&'
-
- warning  in ./pages/profile/components/ProfileGrowth.vue
-
-"export 'components' was not found in './ProfileGrowth.vue?vue&type=template&id=14a9a9d4&scoped=true&'
-
- warning  in ./pages/profile/components/ProfileHeader.vue
-
-"export 'components' was not found in './ProfileHeader.vue?vue&type=template&id=a3ef4e48&scoped=true&'
-
- warning  in ./pages/profile/components/ProfileMenu.vue
-
-"export 'components' was not found in './ProfileMenu.vue?vue&type=template&id=0e59f46e&scoped=true&'
-
- warning  in ./components/PsychCrisisBanner.vue
-
-"export 'components' was not found in './PsychCrisisBanner.vue?vue&type=template&id=a6bf0b42&scoped=true&'
-
- warning  in ./components/RadarChart.vue
-
-"export 'components' was not found in './RadarChart.vue?vue&type=template&id=38aa9fda&scoped=true&'
-
- warning  in ./components/RecommendedFeed.vue
-
-"export 'components' was not found in './RecommendedFeed.vue?vue&type=template&id=57b9498e&scoped=true&'
-
- warning  in ./components/SharePoster.vue
-
-"export 'components' was not found in './SharePoster.vue?vue&type=template&id=577d5201&scoped=true&'
-
- warning  in ./components/WealthSubScores.vue
-
-"export 'components' was not found in './WealthSubScores.vue?vue&type=template&id=0a9ea26e&scoped=true&'
-
- warning  in ./pages/activity/activity-detail/activity-detail.vue
-
-"export 'components' was not found in './activity-detail.vue?vue&type=template&id=60ba5a88&scoped=true&'
-
- warning  in ./pages/family/add-member.vue
-
-"export 'components' was not found in './add-member.vue?vue&type=template&id=3b80b928&scoped=true&'
-
- warning  in ./pages/shop/address-edit/address-edit.vue
-
-"export 'components' was not found in './address-edit.vue?vue&type=template&id=0f74ff22&scoped=true&'
-
- warning  in ./components/address-picker.vue
-
-"export 'components' was not found in './address-picker.vue?vue&type=template&id=4e2c8f02&scoped=true&'
-
- warning  in ./pages/shop/address/address.vue
-
-"export 'components' was not found in './address.vue?vue&type=template&id=3069208e&scoped=true&'
-
- warning  in ./pages/shop/after-sales-apply/after-sales-apply.vue
-
-"export 'components' was not found in './after-sales-apply.vue?vue&type=template&id=1ff07989&scoped=true&'
-
- warning  in ./pages/shop/after-sales-detail/after-sales-detail.vue
-
-"export 'components' was not found in './after-sales-detail.vue?vue&type=template&id=8a2b7922&scoped=true&'
-
- warning  in ./pages/shop/after-sales/after-sales.vue
-
-"export 'components' was not found in './after-sales.vue?vue&type=template&id=301350f2&scoped=true&'
-
- warning  in ./pages/policy/agreement.vue
-
-"export 'components' was not found in './agreement.vue?vue&type=template&id=726fe366&scoped=true&'
-
- warning  in ./pages/tianpan/annual-energy.vue
-
-"export 'components' was not found in './annual-energy.vue?vue&type=template&id=40d2290e&scoped=true&'
-
- warning  in ./pages/nutritionist/apply.vue
-
-"export 'components' was not found in './apply.vue?vue&type=template&id=3478f8ca&'
-
- warning  in ./pages/butler/apply.vue
-
-"export 'components' was not found in './apply.vue?vue&type=template&id=400f6810&'
-
- warning  in ./pages/vendor/apply.vue
-
-"export 'components' was not found in './apply.vue?vue&type=template&id=6138bd40&'
-
- warning  in ./pages/assessment/apply.vue
-
-"export 'components' was not found in './apply.vue?vue&type=template&id=bdabec4c&scoped=true&'
-
- warning  in ./pages/parent/appointments.vue
-
-"export 'components' was not found in './appointments.vue?vue&type=template&id=7d56dae0&scoped=true&'
-
- warning  in ./pages/article-center/article-detail.vue
-
-"export 'components' was not found in './article-detail.vue?vue&type=template&id=50c02542&scoped=true&'
-
- warning  in ./pages/article-center/article-edit.vue
-
-"export 'components' was not found in './article-edit.vue?vue&type=template&id=7ffe4e8a&scoped=true&'
-
- warning  in ./pages/mind-extra/articles.vue
-
-"export 'components' was not found in './articles.vue?vue&type=template&id=471f69ce&scoped=true&'
-
- warning  in ./pages/mind-detail/articles.vue
-
-"export 'components' was not found in './articles.vue?vue&type=template&id=4c12eab9&scoped=true&'
-
- warning  in ./pages/growth/assessment-result.vue
-
-"export 'components' was not found in './assessment-result.vue?vue&type=template&id=cb5b6a8e&scoped=true&'
-
- warning  in ./pages/rewards/badge.vue
-
-"export 'components' was not found in './badge.vue?vue&type=template&id=c2652562&scoped=true&'
-
- warning  in ./pages/membership/benefits.vue
-
-"export 'components' was not found in './benefits.vue?vue&type=template&id=56cdc76c&scoped=true&'
-
- warning  in ./pages/shop/cart/cart.vue
-
-"export 'components' was not found in './cart.vue?vue&type=template&id=36f8ce8f&scoped=true&'
-
- warning  in ./pages/vendor/center.vue
-
-"export 'components' was not found in './center.vue?vue&type=template&id=5f9ec553&'
-
- warning  in ./pages/health/challenge-manage.vue
-
-"export 'components' was not found in './challenge-manage.vue?vue&type=template&id=11ce3c0e&scoped=true&'
-
- warning  in ./pages/ai/chat.vue
-
-"export 'components' was not found in './chat.vue?vue&type=template&id=1edb40f6&scoped=true&'
-
- warning  in ./pages/teacher/chat.vue
-
-"export 'components' was not found in './chat.vue?vue&type=template&id=4da1e044&scoped=true&'
-
- warning  in ./pages/wealth-sub/checkin.vue
-
-"export 'components' was not found in './checkin.vue?vue&type=template&id=70076e77&'
-
- warning  in ./pages/body-detail/checkin.vue
-
-"export 'components' was not found in './checkin.vue?vue&type=template&id=8240f7de&scoped=true&'
-
- warning  in ./pages/shop/checkout/checkout.vue
-
-"export 'components' was not found in './checkout.vue?vue&type=template&id=bbf0dc62&scoped=true&'
-
- warning  in ./pages/parent/child-detail.vue
-
-"export 'components' was not found in './child-detail.vue?vue&type=template&id=3517e8fe&scoped=true&'
-
- warning  in ./pages/home-pages/child-index.vue
-
-"export 'components' was not found in './child-index.vue?vue&type=template&id=7d36c961&scoped=true&'
-
- warning  in ./pages/profile-extra/children.vue
-
-"export 'components' was not found in './children.vue?vue&type=template&id=03fbd87b&scoped=true&'
-
- warning  in ./pages/discover/circles.vue
-
-"export 'components' was not found in './circles.vue?vue&type=template&id=f3dee114&scoped=true&'
-
- warning  in ./pages/wisdom-detail/cognitive-report.vue
-
-"export 'components' was not found in './cognitive-report.vue?vue&type=template&id=df56c59c&scoped=true&'
-
- warning  in ./pages/promotion/commission.vue
-
-"export 'components' was not found in './commission.vue?vue&type=template&id=5d447e50&scoped=true&'
-
- warning  in ./pages/stats/completion-rate.vue
-
-"export 'components' was not found in './completion-rate.vue?vue&type=template&id=0f801b98&scoped=true&'
-
- warning  in ./pages/shop/consignee-edit/consignee-edit.vue
-
-"export 'components' was not found in './consignee-edit.vue?vue&type=template&id=4bb748cf&scoped=true&'
-
- warning  in ./pages/shop/consignee-list/consignee-list.vue
-
-"export 'components' was not found in './consignee-list.vue?vue&type=template&id=62608e4f&scoped=true&'
-
- warning  in ./pages/action-detail/contact-detail.vue
-
-"export 'components' was not found in './contact-detail.vue?vue&type=template&id=34f1ff84&scoped=true&'
-
- warning  in ./pages/profile-extra/coupons.vue
-
-"export 'components' was not found in './coupons.vue?vue&type=template&id=1797957e&scoped=true&'
-
- warning  in ./pages/profile-extra/create-child.vue
-
-"export 'components' was not found in './create-child.vue?vue&type=template&id=1b0abf87&scoped=true&'
-
- warning  in ./pages/tasks/create-task.vue
-
-"export 'components' was not found in './create-task.vue?vue&type=template&id=5322290c&scoped=true&'
-
- warning  in ./pages/activity/create.vue
-
-"export 'components' was not found in './create.vue?vue&type=template&id=30ad9a93&scoped=true&'
-
- warning  in ./pages/wishes/create.vue
-
-"export 'components' was not found in './create.vue?vue&type=template&id=423de20d&scoped=true&'
-
- warning  in ./pages/guide/packages/create.vue
-
-"export 'components' was not found in './create.vue?vue&type=template&id=67818722&scoped=true&'
-
- warning  in ./pages/growth/create.vue
-
-"export 'components' was not found in './create.vue?vue&type=template&id=c14586ca&scoped=true&'
-
- warning  in ./pages/health/daily-checkin.vue
-
-"export 'components' was not found in './daily-checkin.vue?vue&type=template&id=6ff1ceff&scoped=true&'
-
- warning  in ./pages/tianpan/daily-fortune.vue
-
-"export 'components' was not found in './daily-fortune.vue?vue&type=template&id=357f4360&scoped=true&'
-
- warning  in ./pages/tasks/daily-tasks.vue
-
-"export 'components' was not found in './daily-tasks.vue?vue&type=template&id=4896ba30&scoped=true&'
-
- warning  in ./pages/growth/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=0ffc0170&scoped=true&'
-
- warning  in ./pages/shop/detail/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=4bde69af&scoped=true&'
-
- warning  in ./pages/guide/packages/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=4fbf6812&scoped=true&'
-
- warning  in ./pages/guide/activities/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=510de9f7&scoped=true&'
-
- warning  in ./pages/parent/market/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=5635a158&scoped=true&'
-
- warning  in ./pages/energy/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=629e5e0f&scoped=true&'
-
- warning  in ./pages/parent/plans/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=7c37ac72&scoped=true&'
-
- warning  in ./pages/wishes/detail.vue
-
-"export 'components' was not found in './detail.vue?vue&type=template&id=9a46b23c&scoped=true&'
-
- warning  in ./pages/health/diet-index.vue
-
-"export 'components' was not found in './diet-index.vue?vue&type=template&id=4cdcc3ba&scoped=true&'
-
- warning  in ./pages/body-detail/dimension-detail.vue
-
-"export 'components' was not found in './dimension-detail.vue?vue&type=template&id=a225ba38&scoped=true&'
-
- warning  in ./pages/body-detail/dimension-questionnaire.vue
-
-"export 'components' was not found in './dimension-questionnaire.vue?vue&type=template&id=79fadde0&scoped=true&'
-
- warning  in ./pages/mind-detail/duo-compatibility.vue
-
-"export 'components' was not found in './duo-compatibility.vue?vue&type=template&id=261d2615&scoped=true&'
-
- warning  in ./pages/profile-extra/edit-child.vue
-
-"export 'components' was not found in './edit-child.vue?vue&type=template&id=11461c15&scoped=true&'
-
- warning  in ./pages/mind-detail/emotion-checkin.vue
-
-"export 'components' was not found in './emotion-checkin.vue?vue&type=template&id=00673e22&scoped=true&'
-
- warning  in ./pages/mind-detail/emotion-report.vue
-
-"export 'components' was not found in './emotion-report.vue?vue&type=template&id=ccad583c&scoped=true&'
-
- warning  in ./pages/mind-detail/emotion-trend.vue
-
-"export 'components' was not found in './emotion-trend.vue?vue&type=template&id=d26b0642&scoped=true&'
-
- warning  in ./pages/assessment/execution.vue
-
-"export 'components' was not found in './execution.vue?vue&type=template&id=4153baf8&scoped=true&'
-
- warning  in ./pages/health/exercise-index.vue
-
-"export 'components' was not found in './exercise-index.vue?vue&type=template&id=e35de3f2&scoped=true&'
-
- warning  in ./pages/teacher/families.vue
-
-"export 'components' was not found in './families.vue?vue&type=template&id=0102d388&scoped=true&'
-
- warning  in ./pages/mind-detail/family-dashboard.vue
-
-"export 'components' was not found in './family-dashboard.vue?vue&type=template&id=2bcd2e32&scoped=true&'
-
- warning  in ./pages/profile-extra/family-members.vue
-
-"export 'components' was not found in './family-members.vue?vue&type=template&id=7904faa8&'
-
- warning  in ./components/feedback-popup.vue
-
-"export 'components' was not found in './feedback-popup.vue?vue&type=template&id=90bfd742&scoped=true&'
-
- warning  in ./pages/diet/food-query.vue
-
-"export 'components' was not found in './food-query.vue?vue&type=template&id=a73083aa&scoped=true&'
-
- warning  in ./pages/health/gut-flora-detail.vue
-
-"export 'components' was not found in './gut-flora-detail.vue?vue&type=template&id=202aad77&scoped=true&'
-
- warning  in ./pages/health/gut-flora-foods-detail.vue
-
-"export 'components' was not found in './gut-flora-foods-detail.vue?vue&type=template&id=fa0a6022&scoped=true&'
-
- warning  in ./pages/health/gut-flora-risks-detail.vue
-
-"export 'components' was not found in './gut-flora-risks-detail.vue?vue&type=template&id=07b90ce0&scoped=true&'
-
- warning  in ./pages/health/gut-flora-species-detail.vue
-
-"export 'components' was not found in './gut-flora-species-detail.vue?vue&type=template&id=a29fe6b0&scoped=true&'
-
- warning  in ./pages/health/gut-index.vue
-
-"export 'components' was not found in './gut-index.vue?vue&type=template&id=3e0993de&scoped=true&'
-
- warning  in ./pages/body-detail/health-dimensions.vue
-
-"export 'components' was not found in './health-dimensions.vue?vue&type=template&id=4be9fc42&scoped=true&'
-
- warning  in ./components/health-knowledge-popup.vue
-
-"export 'components' was not found in './health-knowledge-popup.vue?vue&type=template&id=38c94627&scoped=true&'
-
- warning  in ./pages/body-detail/health-report.vue
-
-"export 'components' was not found in './health-report.vue?vue&type=template&id=104c86ae&scoped=true&'
-
- warning  in ./pages/discover/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=024a9de5&scoped=true&'
-
- warning  in ./pages/tianpan/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=09a2c1d6&'
-
- warning  in ./pages/splash/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=1144df23&scoped=true&'
-
- warning  in ./pages/profile/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=14bc1b43&scoped=true&'
-
- warning  in ./pages/body-detail/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=17928536&scoped=true&'
-
- warning  in ./pages/mind-detail/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=1d0a5086&scoped=true&'
-
- warning  in ./pages/parent/wishes/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=2760bc98&scoped=true&'
-
- warning  in ./pages/health-main/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=2c8bf364&scoped=true&'
-
- warning  in ./pages/membership/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=2f11355c&scoped=true&'
-
- warning  in ./pages/article-center/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=3092faf0&scoped=true&'
-
- warning  in ./custom-tab-bar/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=47b4a9d0&scoped=true&'
-
- warning  in ./pages/wealth/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=4dea08e9&scoped=true&'
-
- warning  in ./pages/shop/index/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=5931e635&scoped=true&'
-
- warning  in ./pages/wisdom-detail/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=5cb66b37&scoped=true&'
-
- warning  in ./pages/guide/hierarchy/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=60721388&scoped=true&'
-
- warning  in ./pages/wishes/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=61627a5e&scoped=true&'
-
- warning  in ./pages/stats/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=6198fe79&scoped=true&'
-
- warning  in ./pages/diet/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=619bcea0&scoped=true&'
-
- warning  in ./pages/activity/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=6362e18b&scoped=true&'
-
- warning  in ./pages/promotion/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=642729fd&scoped=true&'
-
- warning  in ./pages/guide/packages/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=6527a71c&scoped=true&'
-
- warning  in ./pages/parent/market/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=675cbcca&scoped=true&'
-
- warning  in ./pages/guide/activities/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=690e491c&scoped=true&'
-
- warning  in ./pages/guide/register/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=6cde5552&scoped=true&'
-
- warning  in ./pages/parent/plans/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=72b4cb41&scoped=true&'
-
- warning  in ./pages/teacher/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=82beab88&scoped=true&'
-
- warning  in ./pages/index-home/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=c50b3d14&'
-
- warning  in ./pages/share/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=d1630c8e&scoped=true&'
-
- warning  in ./pages/growth-main/index.vue
-
-"export 'components' was not found in './index.vue?vue&type=template&id=d67e1ece&scoped=true&'
-
- warning  in ./pages/wealth-sub/insurance-add.vue
-
-"export 'components' was not found in './insurance-add.vue?vue&type=template&id=3440df78&'
-
- warning  in ./pages/wealth-sub/insurance-list.vue
-
-"export 'components' was not found in './insurance-list.vue?vue&type=template&id=1f4ce152&'
-
- warning  in ./pages/wealth-sub/insurance-planning.vue
-
-"export 'components' was not found in './insurance-planning.vue?vue&type=template&id=734f5616&scoped=true&'
-
- warning  in ./pages/action-detail/interaction-log.vue
-
-"export 'components' was not found in './interaction-log.vue?vue&type=template&id=e922fbce&scoped=true&'
-
- warning  in ./pages/guide/bind/invite.vue
-
-"export 'components' was not found in './invite.vue?vue&type=template&id=1b5b8942&scoped=true&'
-
- warning  in ./pages/promotion/invite.vue
-
-"export 'components' was not found in './invite.vue?vue&type=template&id=3e3f1fee&scoped=true&'
-
- warning  in ./pages/invite/join.vue
-
-"export 'components' was not found in './join.vue?vue&type=template&id=01794487&scoped=true&'
-
- warning  in ./pages/promotion/leaderboard.vue
-
-"export 'components' was not found in './leaderboard.vue?vue&type=template&id=bc2e3e30&scoped=true&'
-
- warning  in ./pages/games/list.vue
-
-"export 'components' was not found in './list.vue?vue&type=template&id=21432265&scoped=true&'
-
- warning  in ./pages/meal/log.vue
-
-"export 'components' was not found in './log.vue?vue&type=template&id=5d6ca71e&scoped=true&'
-
- warning  in ./pages/login/login.vue
-
-"export 'components' was not found in './login.vue?vue&type=template&id=b237504c&scoped=true&'
-
- warning  in ./pages/shop/logistics/logistics.vue
-
-"export 'components' was not found in './logistics.vue?vue&type=template&id=06030e12&scoped=true&'
-
- warning  in ./pages/promotion/material.vue
-
-"export 'components' was not found in './material.vue?vue&type=template&id=5aac97cc&scoped=true&'
-
- warning  in ./pages/diet/meal-config.vue
-
-"export 'components' was not found in './meal-config.vue?vue&type=template&id=1902422c&scoped=true&'
-
- warning  in ./pages/health/meditation-index.vue
-
-"export 'components' was not found in './meditation-index.vue?vue&type=template&id=0a9bfd8d&scoped=true&'
-
- warning  in ./pages/action-detail/member-action-detail.vue
-
-"export 'components' was not found in './member-action-detail.vue?vue&type=template&id=a38ae416&scoped=true&'
-
- warning  in ./pages/body-detail/member-body-detail.vue
-
-"export 'components' was not found in './member-body-detail.vue?vue&type=template&id=1f95da16&scoped=true&'
-
- warning  in ./pages/tianpan/member-detail.vue
-
-"export 'components' was not found in './member-detail.vue?vue&type=template&id=218c0db2&'
-
- warning  in ./pages/home-pages/member-home-detail.vue
-
-"export 'components' was not found in './member-home-detail.vue?vue&type=template&id=27a9cf7c&scoped=true&'
-
- warning  in ./pages/mind-detail/member-mind-detail.vue
-
-"export 'components' was not found in './member-mind-detail.vue?vue&type=template&id=7914b0f5&scoped=true&'
-
- warning  in ./pages/wisdom-detail/member-wisdom-detail.vue
-
-"export 'components' was not found in './member-wisdom-detail.vue?vue&type=template&id=0bdae5d6&scoped=true&'
-
- warning  in ./pages/teacher/messages.vue
-
-"export 'components' was not found in './messages.vue?vue&type=template&id=2e5cbcd2&scoped=true&'
-
- warning  in ./components/mp-html/mp-html.vue
-
-"export 'components' was not found in './mp-html.vue?vue&type=template&id=35fd0930&'
-
- warning  in ./pages/article-center/my-posts.vue
-
-"export 'components' was not found in './my-posts.vue?vue&type=template&id=a1abcda8&scoped=true&'
-
- warning  in ./components/mp-html/node/node.vue
-
-"export 'components' was not found in './node.vue?vue&type=template&id=1d2f0fca&'
-
- warning  in ./pages/health/nutrition-profile.vue
-
-"export 'components' was not found in './nutrition-profile.vue?vue&type=template&id=1a8ada7a&scoped=true&'
-
- warning  in ./pages/profile-extra/onboarding.vue
-
-"export 'components' was not found in './onboarding.vue?vue&type=template&id=6c900cd2&scoped=true&'
-
- warning  in ./pages/shop/order-detail/order-detail.vue
-
-"export 'components' was not found in './order-detail.vue?vue&type=template&id=7872a98f&scoped=true&'
-
- warning  in ./pages/shop/order-list/order-list.vue
-
-"export 'components' was not found in './order-list.vue?vue&type=template&id=98c351a2&scoped=true&'
-
- warning  in ./pages/activity/order-pay/order-pay.vue
-
-"export 'components' was not found in './order-pay.vue?vue&type=template&id=28dcfb3c&scoped=true&'
-
- warning  in ./pages/teacher/orders.vue
-
-"export 'components' was not found in './orders.vue?vue&type=template&id=19ad8d6b&scoped=true&'
-
- warning  in ./pages/vendor/orders/orders.vue
-
-"export 'components' was not found in './orders.vue?vue&type=template&id=744f10c1&scoped=true&'
-
- warning  in ./pages/home-pages/parent-index.vue
-
-"export 'components' was not found in './parent-index.vue?vue&type=template&id=7902e8c2&scoped=true&'
-
- warning  in ./pages/shop/payment/payment.vue
-
-"export 'components' was not found in './payment.vue?vue&type=template&id=589cb7dd&'
-
- warning  in ./pages/health/physical-exam-detail.vue
-
-"export 'components' was not found in './physical-exam-detail.vue?vue&type=template&id=003af7b3&scoped=true&'
-
- warning  in ./pages/meal/preference.vue
-
-"export 'components' was not found in './preference.vue?vue&type=template&id=489b0fbe&scoped=true&'
-
- warning  in ./pages/diet/preferences.vue
-
-"export 'components' was not found in './preferences.vue?vue&type=template&id=7801ff56&scoped=true&'
-
- warning  in ./pages/policy/privacy.vue
-
-"export 'components' was not found in './privacy.vue?vue&type=template&id=0558e6e4&scoped=true&'
-
- warning  in ./pages/discover-detail/product-detail/product-detail.vue
-
-"export 'components' was not found in './product-detail.vue?vue&type=template&id=74d483e8&scoped=true&'
-
- warning  in ./pages/vendor/product-edit/product-edit.vue
-
-"export 'components' was not found in './product-edit.vue?vue&type=template&id=bde8d1be&scoped=true&'
-
- warning  in ./pages/vendor/products/products.vue
-
-"export 'components' was not found in './products.vue?vue&type=template&id=2c061021&scoped=true&'
-
- warning  in ./pages/profile-main/profile.vue
-
-"export 'components' was not found in './profile.vue?vue&type=template&id=2efc2970&scoped=true&'
-
- warning  in ./pages/policy/provider-agreement.vue
-
-"export 'components' was not found in './provider-agreement.vue?vue&type=template&id=58f6b582&scoped=true&'
-
- warning  in ./pages/assessment/purchase.vue
-
-"export 'components' was not found in './purchase.vue?vue&type=template&id=f2239876&scoped=true&'
-
- warning  in ./pages/assessment/quota.vue
-
-"export 'components' was not found in './quota.vue?vue&type=template&id=7775a038&scoped=true&'
-
- warning  in ./pages/assessment/rating.vue
-
-"export 'components' was not found in './rating.vue?vue&type=template&id=03f7253e&scoped=true&'
-
- warning  in ./pages/meal/recipe-detail.vue
-
-"export 'components' was not found in './recipe-detail.vue?vue&type=template&id=77f6e346&scoped=true&'
-
- warning  in ./pages/meal/recommend.vue
-
-"export 'components' was not found in './recommend.vue?vue&type=template&id=49091a29&scoped=true&'
-
- warning  in ./pages/diet/recommendation.vue
-
-"export 'components' was not found in './recommendation.vue?vue&type=template&id=46b9b36a&scoped=true&'
-
- warning  in ./pages/diet/record-detail.vue
-
-"export 'components' was not found in './record-detail.vue?vue&type=template&id=68165dab&scoped=true&'
-
- warning  in ./pages/diet/records.vue
-
-"export 'components' was not found in './records.vue?vue&type=template&id=09815ca0&scoped=true&'
-
- warning  in ./pages/games/records.vue
-
-"export 'components' was not found in './records.vue?vue&type=template&id=12463f4b&scoped=true&'
-
- warning  in ./pages/tianpan/related-items.vue
-
-"export 'components' was not found in './related-items.vue?vue&type=template&id=ec943e3e&scoped=true&'
-
- warning  in ./pages/tianpan/relation-detail.vue
-
-"export 'components' was not found in './relation-detail.vue?vue&type=template&id=07bcb9c5&'
-
- warning  in ./pages/action-detail/relationship-questionnaire.vue
-
-"export 'components' was not found in './relationship-questionnaire.vue?vue&type=template&id=9b125724&scoped=true&'
-
- warning  in ./pages/health/report-confirm.vue
-
-"export 'components' was not found in './report-confirm.vue?vue&type=template&id=2762e791&scoped=true&'
-
- warning  in ./pages/profile/report-detail.vue
-
-"export 'components' was not found in './report-detail.vue?vue&type=template&id=3b08d87b&scoped=true&'
-
- warning  in ./pages/member-detail/report-detail.vue
-
-"export 'components' was not found in './report-detail.vue?vue&type=template&id=774601b6&'
-
- warning  in ./pages/health/report-list.vue
-
-"export 'components' was not found in './report-list.vue?vue&type=template&id=44d8eec6&scoped=true&'
-
- warning  in ./pages/profile/report-management.vue
-
-"export 'components' was not found in './report-management.vue?vue&type=template&id=75de966d&scoped=true&'
-
- warning  in ./pages/health/report-survey.vue
-
-"export 'components' was not found in './report-survey.vue?vue&type=template&id=704978ce&scoped=true&'
-
- warning  in ./pages/health/report-upload.vue
-
-"export 'components' was not found in './report-upload.vue?vue&type=template&id=3cec0280&scoped=true&'
-
- warning  in ./pages/dan-assessment/report-upload.vue
-
-"export 'components' was not found in './report-upload.vue?vue&type=template&id=b7c61d3c&'
-
- warning  in ./pages/assessment/results.vue
-
-"export 'components' was not found in './results.vue?vue&type=template&id=e3f24d3c&scoped=true&'
-
- warning  in ./pages/tasks/review.vue
-
-"export 'components' was not found in './review.vue?vue&type=template&id=28405d1c&scoped=true&'
-
- warning  in ./pages/rewards/rewards.vue
-
-"export 'components' was not found in './rewards.vue?vue&type=template&id=441c2960&scoped=true&'
-
- warning  in ./pages/child/rewards.vue
-
-"export 'components' was not found in './rewards.vue?vue&type=template&id=a4ccedf0&scoped=true&'
-
- warning  in ./pages/games/schulte.vue
-
-"export 'components' was not found in './schulte.vue?vue&type=template&id=1f4fb52e&scoped=true&'
-
- warning  in ./pages/mind-detail/screening.vue
-
-"export 'components' was not found in './screening.vue?vue&type=template&id=538777aa&scoped=true&'
-
- warning  in ./pages/shop/search/search.vue
-
-"export 'components' was not found in './search.vue?vue&type=template&id=90520c62&scoped=true&'
-
- warning  in ./pages/family/self-check-result.vue
-
-"export 'components' was not found in './self-check-result.vue?vue&type=template&id=cdc3fa1e&scoped=true&'
-
- warning  in ./pages/family/self-check.vue
-
-"export 'components' was not found in './self-check.vue?vue&type=template&id=6e9f8aae&scoped=true&'
-
- warning  in ./pages/wisdom-detail/self-quiz.vue
-
-"export 'components' was not found in './self-quiz.vue?vue&type=template&id=179ee61b&scoped=true&'
-
- warning  in ./pages/member-detail/service-role-apply.vue
-
-"export 'components' was not found in './service-role-apply.vue?vue&type=template&id=bc1e201a&'
-
- warning  in ./pages/teacher/service-tasks.vue
-
-"export 'components' was not found in './service-tasks.vue?vue&type=template&id=05a1d7e0&scoped=true&'
-
- warning  in ./pages/guide/packages/share.vue
-
-"export 'components' was not found in './share.vue?vue&type=template&id=36fd7fa9&scoped=true&'
-
- warning  in ./pages/guide/invite/share.vue
-
-"export 'components' was not found in './share.vue?vue&type=template&id=b775a876&scoped=true&'
-
- warning  in ./pages/health/sleep-index.vue
-
-"export 'components' was not found in './sleep-index.vue?vue&type=template&id=5d67aee2&scoped=true&'
-
- warning  in ./pages/mind-detail/soothe-toolbox.vue
-
-"export 'components' was not found in './soothe-toolbox.vue?vue&type=template&id=8dfbcb40&scoped=true&'
-
- warning  in ./pages/games/stats.vue
-
-"export 'components' was not found in './stats.vue?vue&type=template&id=51aed130&scoped=true&'
-
- warning  in ./pages/games/sudoku.vue
-
-"export 'components' was not found in './sudoku.vue?vue&type=template&id=7117a3c4&scoped=true&'
-
- warning  in ./pages/growth/supplement.vue
-
-"export 'components' was not found in './supplement.vue?vue&type=template&id=56227258&scoped=true&'
-
- warning  in ./components/tab-transition.vue
-
-"export 'components' was not found in './tab-transition.vue?vue&type=template&id=1ab24bf0&scoped=true&'
-
- warning  in ./pages/child/tasks.vue
-
-"export 'components' was not found in './tasks.vue?vue&type=template&id=32d1e91c&scoped=true&'
-
- warning  in ./pages/tasks/tasks.vue
-
-"export 'components' was not found in './tasks.vue?vue&type=template&id=9828a938&scoped=true&'
-
- warning  in ./pages/teacher/teacher-profile.vue
-
-"export 'components' was not found in './teacher-profile.vue?vue&type=template&id=4436c3a8&scoped=true&'
-
- warning  in ./pages/teacher/team.vue
-
-"export 'components' was not found in './team.vue?vue&type=template&id=200db463&scoped=true&'
-
- warning  in ./pages/promotion/team.vue
-
-"export 'components' was not found in './team.vue?vue&type=template&id=9c708efc&scoped=true&'
-
- warning  in ./pages/health/tongue-index.vue
-
-"export 'components' was not found in './tongue-index.vue?vue&type=template&id=5be29cb3&'
-
- warning  in ./pages/mind-detail/traditional-mirror.vue
-
-"export 'components' was not found in './traditional-mirror.vue?vue&type=template&id=008673be&scoped=true&'
-
- warning  in ./pages/wisdom-detail/training-hub.vue
-
-"export 'components' was not found in './training-hub.vue?vue&type=template&id=7df4ddad&scoped=true&'
-
- warning  in ./pages/mind-detail/training.vue
-
-"export 'components' was not found in './training.vue?vue&type=template&id=b908ea54&scoped=true&'
-
- warning  in ./pages/membership/upgrade.vue
-
-"export 'components' was not found in './upgrade.vue?vue&type=template&id=2922079c&scoped=true&'
-
- warning  in ./pages/assessment/upload-report.vue
-
-"export 'components' was not found in './upload-report.vue?vue&type=template&id=293eb7ec&scoped=true&'
-
- warning  in ./pages/growth/upload.vue
-
-"export 'components' was not found in './upload.vue?vue&type=template&id=3f439f20&scoped=true&'
-
- warning  in ./pages/user-edit/user-edit.vue
-
-"export 'components' was not found in './user-edit.vue?vue&type=template&id=64c38fe0&scoped=true&'
-
- warning  in ./pages/health/water-index.vue
-
-"export 'components' was not found in './water-index.vue?vue&type=template&id=33c47522&scoped=true&'
-
- warning  in ./pages/promotion/withdraw.vue
-
-"export 'components' was not found in './withdraw.vue?vue&type=template&id=39f2942f&scoped=true&'
-
- warning  in ./components/wuxing-sandbox.vue
-
-"export 'components' was not found in './wuxing-sandbox.vue?vue&type=template&id=d4ff2986&scoped=true&'
-
- warning  in ./store/health-alert.js
-
-"export 'default' (imported as 'api') was not found in '@/utils/api.js'
-
- warning  in ./pages/home-pages/parent-index.vue?vue&type=script&lang=js&
-
-"export 'default' (imported as 'feedbackEngine') was not found in '../../utils/feedback-engine.js'
-
- warning  in ./store/feedback.js
-
-"export 'default' (imported as 'feedbackEngine') was not found in '../utils/feedback-engine.js'
-
- DONE  Build complete. The dist\dev\mp-weixin directory is ready to be deployed.
-Run method: open Weixin Mini Program Devtools, import dist\dev\mp-weixin run.

+ 0 - 45
cfc-frontend/fix-hbuilderx-scoped.js

@@ -1,45 +0,0 @@
-#!/usr/bin/env node
-
-const fs = require('fs');
-const path = require('path');
-
-// HBuilderX 内部的 scoped.js 路径
-const SCOPED_FILE = '/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/@vue/component-compiler-utils/dist/stylePlugins/scoped.js';
-
-if (!fs.existsSync(SCOPED_FILE)) {
-  console.error('错误:找不到 HBuilderX 的 scoped.js 文件');
-  console.error(`路径:${SCOPED_FILE}`);
-  process.exit(1);
-}
-
-console.log(`正在修复 ${SCOPED_FILE}...`);
-
-let content = fs.readFileSync(SCOPED_FILE, 'utf8');
-
-// 修复 1: n.spaces.before = n.spaces.after = ''; (第 40 行)
-content = content.replace(
-  /n\.value = ' ';[\s\n]*n\.spaces\.before = n\.spaces\.after = '';/,
-  `n.value = ' ';\n            n.spaces = n.spaces || {}; n.spaces.before = ''; n.spaces.after = '';`
-);
-
-// 修复 2: n.value = n.spaces.before = n.spaces.after = ''; (::v-deep)
-content = content.replace(
-  /if \(n\.type === '::v-deep' \) \{[\s\n]*n\.value = n\.spaces\.before = n\.spaces\.after = '';[\s\n]*return false;[\s\n]*\}/,
-  `if (n.type === '::v-deep') {\n            n.value = '';\n            n.spaces = { before: '', after: '' };\n            return false;\n          }`
-);
-
-// 修复 3: node.spaces.after = '';
-content = content.replace(
-  /if \(node\) \{[\s\n]*node\.spaces\.after = '';[\s\n]\}/,
-  `if (node) {\n          node.spaces = node.spaces || {}; node.spaces.after = '';`
-);
-
-// 修复 4: selector.first.spaces.before = '';
-content = content.replace(
-  /selector\.first\.spaces\.before = '';/,
-  `if (selector.first && selector.first.spaces) { selector.first.spaces.before = ''; }`
-);
-
-fs.writeFileSync(SCOPED_FILE, content, 'utf8');
-
-console.log('✅ 修复完成!请重启 HBuilderX 并重新编译。');