瀏覽代碼

fix(vendor): 放开服务角色申请入口的角色限制,优化引导文案

- ProfileMenu: 移除'📋 服务角色申请'的 v-if='role === parent'限制,
  所有角色(规划师、管家、营养师等)均可从个人菜单直接进入申请页
- profile.vue goTeamTree: 弹窗文案从'是否申请成为服务提供商'
  改为'您尚未申请任何服务角色,是否立即申请',语义更准确,
  避免非服务商用户误以为只能申请供应商一种角色
Sisyphus 4 天之前
父節點
當前提交
db94059f4e
共有 2 個文件被更改,包括 2 次插入 和 2 次删除
  1. 1 1
      cfc-frontend/pages/profile-main/profile.vue
  2. 1 1
      cfc-frontend/pages/profile/components/ProfileMenu.vue

+ 1 - 1
cfc-frontend/pages/profile-main/profile.vue

@@ -681,7 +681,7 @@ export default {
       }
       uni.showModal({
         title: '提示',
-        content: '您不是平台服务提供商,是否申请成为服务提供商',
+        content: '您尚未申请任何服务角色,是否立即申请?',
         confirmText: '去申请',
         cancelText: '取消',
         success: function(res) {

+ 1 - 1
cfc-frontend/pages/profile/components/ProfileMenu.vue

@@ -28,7 +28,7 @@
           <text>📋 报告管理</text>
           <text class="arrow">›</text>
         </view>
-        <view class="menu-item" v-if="role === 'parent'" @click="goToServiceRoleApply">
+        <view class="menu-item" @click="goToServiceRoleApply">
           <text>📋 服务角色申请</text>
           <text class="arrow">›</text>
         </view>