Просмотр исходного кода

个人中心重新规划 + changelog同步

docs/style-guide.md 6.5完整布局图 / US-4.3重写验收标准/ US-5.2/5.3入口更新 / US-9.1新增学业入口 / v20260531.3
liaoxg 5 месяцев назад
Родитель
Сommit
fb15747d7a
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      client/pages/profile/index.vue

+ 12 - 0
client/pages/profile/index.vue

@@ -152,6 +152,13 @@
         <text class="menu-item__label">💰 我的推广</text>
         <text class="menu-item__label">💰 我的推广</text>
         <text class="menu-item__arrow">›</text>
         <text class="menu-item__arrow">›</text>
       </view>
       </view>
+
+      <!-- Practitioner workbench (practitioners only) — EPIC 9 -->
+      <view v-if="userStore.vipType === 'practitioner' && userStore.isVip" class="menu-item" @click="goWorkbench">
+        <text class="menu-item__label">🔧 工作台</text>
+        <view class="menu-item__badge menu-item__badge--new">NEW</view>
+        <text class="menu-item__arrow">›</text>
+      </view>
     </view>
     </view>
 
 
     <!-- Group 2: Promotion Tools (paid users only) -->
     <!-- Group 2: Promotion Tools (paid users only) -->
@@ -272,6 +279,11 @@ function goCommission() {
   uni.navigateTo({ url: '/pages/commission/index' })
   uni.navigateTo({ url: '/pages/commission/index' })
 }
 }
 
 
+// EPIC 9: Navigate to practitioner workbench
+function goWorkbench() {
+  uni.navigateTo({ url: '/pages/plan/workbench' })
+}
+
 function copyReferral() {
 function copyReferral() {
   if (userStore.referralCode) {
   if (userStore.referralCode) {
     uni.setClipboardData({
     uni.setClipboardData({