فهرست منبع

refactor: 移除智页面底部四个快捷操作按钮

Sisyphus Agent 3 روز پیش
والد
کامیت
091966c216
1فایلهای تغییر یافته به همراه0 افزوده شده و 57 حذف شده
  1. 0 57
      cfc-frontend/pages/wisdom-detail/index.vue

+ 0 - 57
cfc-frontend/pages/wisdom-detail/index.vue

@@ -177,26 +177,6 @@
       </view>
     </view>
 
-    <!-- 11. 快捷操作按钮 -->
-    <view class="section quick-actions" v-if="isLoggedIn">
-      <view class="action-btn" @click="goCognitiveReport">
-        <text class="action-icon">📊</text>
-        <text class="action-text">认知报告</text>
-      </view>
-      <view class="action-btn" @click="goTrainingHub">
-        <text class="action-icon">🧠</text>
-        <text class="action-text">认知训练</text>
-      </view>
-      <view class="action-btn" @click="goAssessment">
-        <text class="action-icon">📋</text>
-        <text class="action-text">测评预约</text>
-      </view>
-      <view class="action-btn" @click="goDanUpload">
-        <text class="action-icon">📄</text>
-        <text class="action-text">上传报告</text>
-      </view>
-    </view>
-
     <!-- 智维度介绍卡片(登录后显示) -->
     <DimensionIntroCard dimCode="wisdom" v-if="isLoggedIn" learn-more-url="/pages/wisdom-detail/dimension-intro" />
 
@@ -523,12 +503,6 @@ export default {
     goCognitiveReport: function() {
       uni.navigateTo({ url: '/pages/wisdom-detail/cognitive-report' })
     },
-    goTrainingHub: function() {
-      uni.navigateTo({ url: '/pages/wisdom-detail/training-hub' })
-    },
-    goAssessment: function() {
-      uni.navigateTo({ url: '/pages/assessment/apply' })
-    },
 
     _watchPageReady() {
       var self = this
@@ -819,37 +793,6 @@ export default {
   color: #999;
 }
 
-/* ===== 快捷操作按钮 ===== */
-.quick-actions {
-  display: flex;
-  flex-direction: row;
-  flex-wrap: wrap;
-  justify-content: space-between;
-}
-.action-btn {
-  width: 48%;
-  background: #fff;
-  border-radius: 16rpx;
-  padding: 24rpx 0;
-  box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  margin-bottom: 20rpx;
-}
-.action-btn:active {
-  opacity: 0.8;
-}
-.action-icon {
-  font-size: 40rpx;
-  margin-bottom: 10rpx;
-}
-.action-text {
-  font-size: 26rpx;
-  color: #333;
-  font-weight: 500;
-}
-
 /* ===== 底部占位 ===== */
 .indicator-cards-section { margin: 20rpx 30rpx; }
 .indicator-cards { display: flex; flex-direction: row; flex-wrap: wrap; gap: 16rpx; }