Explorar o código

refactor(teacher): 移除 teacher-home 页面,rewards 重定向调整为成长规划师中心

liaoxg hai 1 día
pai
achega
71bd8c2514

+ 2 - 2
cfc-frontend/config.js

@@ -20,8 +20,8 @@ try {
     switch (env) {
       case 'develop':
         //API_BASE_URL = 'http://cfc.iwintrue.com'
-        API_BASE_URL = 'http://192.168.1.57:9082'
-        //API_BASE_URL = 'https://cfc.etotem.com.cn'
+        //API_BASE_URL = 'http://192.168.1.57:9082'
+        API_BASE_URL = 'https://cfc.etotem.com.cn'
         break
       case 'trial':
         API_BASE_URL = 'https://cfc.etotem.com.cn'

+ 1 - 1
cfc-frontend/pages/teacher/families.vue

@@ -21,7 +21,7 @@
         </view>
         <view class="family-actions">
           <button class="btn-action" size="mini" @click.stop="viewDetail(family)">查看详情</button>
-          <button class="btn-action primary" size="mini" @click.stop="sendMessage(family)">发消息</button>
+          <!-- 聊天功能已隐藏(临时): <button class="btn-action primary" size="mini" @click.stop="sendMessage(family)">发消息</button> -->
         </view>
       </view>
       <view class="empty-tip" v-if="families.length === 0">

+ 2 - 2
cfc-frontend/pages/teacher/teacher-profile.vue

@@ -29,10 +29,10 @@
         <text>📊 我的成长记录</text>
         <text class="arrow">›</text>
       </view>
-<view class="menu-item" @click="goToMessages">
+<!-- 聊天功能已隐藏(临时): <view class="menu-item" @click="goToMessages">
 <text>💬 消息中心</text>
 <text class="arrow">›</text>
-</view>
+</view> -->
 <view class="menu-item" @click="goToInviteParent">
 <text>📮 邀请家长</text>
 <text class="arrow">›</text>