Forráskód Böngészése

cleanup: remove inline AI entry card from parent-index (replaced by floating avatar)

Ultraworked with Sisyphus

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
User 2 hónapja
szülő
commit
3ca6a0c520
1 módosított fájl, 0 hozzáadás és 65 törlés
  1. 0 65
      cfc-frontend/pages/index/parent-index.vue

+ 0 - 65
cfc-frontend/pages/index/parent-index.vue

@@ -101,20 +101,6 @@
         </view>
       </view>
 
-      <!-- ===== AI 家庭助手入口 ===== -->
-      <view class="ai-entry-section animate-fade-in animate-stagger-6">
-        <PlayfulCard variant="flat" shadow="sm" :clickable="true" @click="goToAIChat" class="ai-entry-card" padding="24rpx">
-          <view class="ai-entry">
-            <view class="ai-entry-icon">🤖</view>
-            <view class="ai-entry-body">
-              <text class="ai-entry-title">AI 家庭助手</text>
-              <text class="ai-entry-desc">问问孩子的表现,了解家庭情况</text>
-            </view>
-            <text class="ai-entry-arrow">›</text>
-          </view>
-        </PlayfulCard>
-      </view>
-
       <!-- ===== d) 今日重点 ===== -->
       <view class="today-section animate-fade-in animate-stagger-7">
         <view class="section-title">今日重点</view>
@@ -758,8 +744,6 @@ export default {
         self.errorProducts = true
       })
     },
-    goToAIChat() { uni.navigateTo({ url: '/pages/ai/chat' }) },
-
     goToTaskList() { uni.switchTab({ url: '/pages/tasks/tasks' }) },
     manageChildren() { uni.navigateTo({ url: '/pages/profile/children' }) },
     inviteFriend() { uni.navigateTo({ url: '/pages/parent/invite/index' }) },
@@ -934,55 +918,6 @@ export default {
   color: var(--muted, #94A3B8);
 }
 
-/* AI 家庭助手入口 */
-.ai-entry-section {
-  margin-bottom: 48rpx;
-}
-
-.ai-entry-card .PlayfulCard-content {
-  padding: 24rpx;
-}
-
-.ai-entry {
-  display: flex;
-  align-items: center;
-}
-
-.ai-entry-icon {
-  width: 64rpx;
-  height: 64rpx;
-  font-size: 36rpx;
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  flex-shrink: 0;
-}
-
-.ai-entry-body {
-  flex: 1;
-  margin: 0 16rpx;
-  min-width: 0;
-}
-
-.ai-entry-title {
-  font-size: 26rpx;
-  font-weight: 600;
-  color: var(--text, #1E293B);
-  display: block;
-}
-
-.ai-entry-desc {
-  font-size: 22rpx;
-  color: var(--text-secondary, #64748B);
-  margin-top: 4rpx;
-  display: block;
-}
-
-.ai-entry-arrow {
-  font-size: 32rpx;
-  color: var(--muted, #94A3B8);
-}
-
 /* ========================================
    d) 今日重点
    ======================================== */