From b030d45d49139f9c75060d2be06a747a32a56cc0 Mon Sep 17 00:00:00 2001 From: danchaotaiyang Date: Fri, 23 Jan 2026 18:38:13 +0800 Subject: [PATCH] =?UTF-8?q?=3D=20=E8=81=8C=E4=B8=9A=E8=A7=84=E5=88=92?= =?UTF-8?q?=E6=8E=A8=E8=8D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/service/components/SkillDevelopment.vue | 304 ++++++++++-------- stores/useCareerRecommendationStore.js | 2 +- stores/useSkillDevelopmentStore.js | 37 ++- 3 files changed, 206 insertions(+), 137 deletions(-) diff --git a/pages/service/components/SkillDevelopment.vue b/pages/service/components/SkillDevelopment.vue index 9b01902..0b00ad5 100644 --- a/pages/service/components/SkillDevelopment.vue +++ b/pages/service/components/SkillDevelopment.vue @@ -43,7 +43,7 @@ const store = useSkillDevelopmentStore(); -
+
职业路径
@@ -54,13 +54,12 @@ const store = useSkillDevelopmentStore();
- {{ index === 0 ? '起点' : index }} + {{ item.index }}
{{ item.label }}
@@ -69,21 +68,21 @@ const store = useSkillDevelopmentStore();
-
+
{{ store.currentCareerLabel }}技能
暂无数据
-
-
{{ item.label }}
-
-
-
{{ d.label }}
-
-
技能得分:{{ d.value }}
-
权重:{{ d.weight }}
+
+
{{ item.label }}
+
+
+
{{ d.label + d.label + d.label }}
+
+
技能得分:{{ d.value }}
+
权重:{{ d.weight }}
@@ -116,6 +115,7 @@ const store = useSkillDevelopmentStore(); background-color: #FFFFFF; border-radius: 16rpx; padding: 28rpx; + margin-bottom: 20rpx; box-sizing: border-box; overflow: visible; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08); @@ -153,6 +153,7 @@ const store = useSkillDevelopmentStore(); button::after { border: none; } + .section-title { font-size: 32rpx; color: #000000; @@ -166,136 +167,187 @@ button::after { } } -.title-text { - font-size: 32rpx; - font-weight: 600; - color: #167CF1; -} - -.intro-text { - font-size: 24rpx; - line-height: 34rpx; - color: rgba(154, 154, 154, 1); - text-align: left; - font-family: 'PingFangSC-Bold', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif; - font-weight: 600; - margin-bottom: 90rpx; - width: 672rpx; -} - -.skill-list { - display: flex; - flex-direction: column; - gap: 20rpx; -} - -.skill-item { - width: 100%; - max-width: 796rpx; - min-height: 162rpx; - line-height: 40rpx; - border-radius: 20rpx; - background-color: rgba(239, 239, 239, 1); - color: rgba(16, 16, 16, 1); - font-size: 28rpx; - text-align: center; - padding: 24rpx; - box-sizing: border-box; - display: flex; - flex-direction: column; - justify-content: center; - overflow: visible; - position: relative; -} - -.career-paths { - grid-auto-flow: column; - - .career-index { - background: #6c64e7; - border: 3px solid #fff; - box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3); - } - - .career-label { - color: #6c64e7; - } - - .career-active { - .career-index { - background: #22c55e; - } - - .career-label { - color: #000; - } - } -} - -.skill-label { - color: #94a3b8; -} - -.skill-detail-item { - background: #c1d2ea; -} - -.skill-detail-item-label { - color: #334155; - - & + div { - color: #4f46e5; - } -} - - - - + +