diff --git a/src/chart-sub/evaluate/sixReport/components/EnvironmentCardSection.vue b/src/chart-sub/evaluate/sixReport/components/EnvironmentCardSection.vue
new file mode 100644
index 0000000..7a07a8f
--- /dev/null
+++ b/src/chart-sub/evaluate/sixReport/components/EnvironmentCardSection.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+ {{ environmentTitle }}
+
+
+
+
+ {{ item.title }}
+
+
+ {{ item.description }}
+
+
+
+
+
+
+
diff --git a/src/chart-sub/evaluate/sixReport/explorePotential.vue b/src/chart-sub/evaluate/sixReport/explorePotential.vue
index 23b6aeb..c6415c1 100644
--- a/src/chart-sub/evaluate/sixReport/explorePotential.vue
+++ b/src/chart-sub/evaluate/sixReport/explorePotential.vue
@@ -2,6 +2,7 @@
import Navbar from '@/chart-sub/components/navbar/Navbar.vue'
import RadarChart from '@/chart-sub/evaluate/components/RadarChart.vue'
import { getCustomScaleExplains } from '@/service'
+import EnvironmentCardSection from './components/EnvironmentCardSection.vue'
definePage({
style: {
@@ -45,22 +46,6 @@ const sharePath = computed(() => {
: '/chart-sub/evaluate/sixReport/explorePotential'
})
-const environmentCardStyles = [
- 'bg-gradient-to-t from-[#E3F7FE] to-[#D6F2FF] outer-dot-1',
- 'bg-gradient-to-t from-[#F6F3FE] to-[#F2EAFF] outer-dot-2',
- 'bg-gradient-to-t from-[#E5FFF9] to-[#D2FEF7] outer-dot-3',
- 'bg-gradient-to-t from-[#E7F9FF] to-[#D3F3FF] outer-dot-4',
-]
-
-const environmentCards = computed(() => {
- const cards = detailData.value?.reportView?.environmentCards ?? detailData.value?.environmentCards
- return Array.isArray(cards) ? cards : []
-})
-
-function getEnvironmentCardClass(index: number) {
- return environmentCardStyles[index % environmentCardStyles.length]
-}
-
const redirectToTest = () => {
uni.navigateTo({
url: `/chart-sub/evaluate/doPage/assessmentPage?id=${detailData.value.scaleId}&name=${detailData.value.title}`,
@@ -120,7 +105,7 @@ onShareAppMessage(() => {
{{ detailData.reportView.score }}
分
- 组织管理能力
+ {{ detailData.reportView.scoreDimension }}
@@ -141,16 +126,7 @@ onShareAppMessage(() => {
-
- {{ detailData.reportView.environmentTitle }}
-
-
- {{ item.title }}
- {{ item.description }}
-
-
-
+
@@ -213,90 +189,6 @@ onShareAppMessage(() => {
}
-.outer-dot-1,
-.outer-dot-2,
-.outer-dot-3,
-.outer-dot-4 {
- position: relative;
- border-radius: 20rpx;
-}
-
-
-
-.outer-dot-1::before,
-.outer-dot-2::before,
-.outer-dot-3::before,
-.outer-dot-4::before {
- content: "";
- position: absolute;
- width: 24rpx;
- height: 24rpx;
- border-radius: 50%;
-}
-
-.outer-dot-1::after,
-.outer-dot-2::after,
-.outer-dot-3::after,
-.outer-dot-4::after {
- content: "";
- position: absolute;
- width: 24rpx;
- height: 24rpx;
- border-radius: 50%;
- background-color: #fff;
-}
-
-.outer-dot-1::before {
- bottom: -12rpx;
- left: 24rpx;
- background-color: #D2F3FF;
- z-index: 4;
-}
-
-
-
-.outer-dot-1::after {
- right: -12rpx;
- top: 24rpx;
-}
-
-.outer-dot-2::before {
- top: 24rpx;
- left: -12rpx;
- background-color: #F2EBFF;
-}
-
-.outer-dot-2::after {
- bottom: -12rpx;
- right: 24rpx;
- z-index: 1;
-}
-
-.outer-dot-3::before {
- right: -12rpx;
- bottom: 24rpx;
- background-color: #E1FFF9 ;
- z-index: 3;
-}
-
-.outer-dot-3::after {
- top: -12rpx;
- left: 24rpx;
-
-}
-
-.outer-dot-4::before {
- top: -12rpx;
- right: 24rpx;
- background-color: #D3F3FF;
- z-index: 2;
-}
-
-.outer-dot-4::after {
- left: -12rpx;
- bottom: 24rpx;
-}
-
button::after {
border: none;
}
diff --git a/src/chart-sub/evaluate/sixReport/futureDirection.vue b/src/chart-sub/evaluate/sixReport/futureDirection.vue
index 48cdede..704278e 100644
--- a/src/chart-sub/evaluate/sixReport/futureDirection.vue
+++ b/src/chart-sub/evaluate/sixReport/futureDirection.vue
@@ -2,6 +2,7 @@
import Navbar from '@/chart-sub/components/navbar/Navbar.vue'
import RadarChart from '@/chart-sub/evaluate/components/RadarChart.vue'
import { getCustomScaleExplains } from '@/service'
+import EnvironmentCardSection from './components/EnvironmentCardSection.vue'
definePage({
style: {
@@ -45,22 +46,6 @@ const sharePath = computed(() => {
: '/chart-sub/evaluate/sixReport/explorePotential'
})
-const environmentCardStyles = [
- 'bg-gradient-to-t from-[#E3F7FE] to-[#D6F2FF] outer-dot-1',
- 'bg-gradient-to-t from-[#F6F3FE] to-[#F2EAFF] outer-dot-2',
- 'bg-gradient-to-t from-[#E5FFF9] to-[#D2FEF7] outer-dot-3',
- 'bg-gradient-to-t from-[#E7F9FF] to-[#D3F3FF] outer-dot-4',
-]
-
-const environmentCards = computed(() => {
- const cards = detailData.value?.reportView?.environmentCards ?? detailData.value?.environmentCards
- return Array.isArray(cards) ? cards : []
-})
-
-function getEnvironmentCardClass(index: number) {
- return environmentCardStyles[index % environmentCardStyles.length]
-}
-
const redirectToTest = () => {
uni.navigateTo({
url: `/chart-sub/evaluate/doPage/assessmentPage?id=${detailData.value.scaleId}&name=${detailData.value.title}`,
@@ -107,13 +92,13 @@ onShareAppMessage(() => {
class="w-[40rpx] h-[48rpx]" />
- 你的天赋类型为
+ {{ detailData.reportView.headerTitle }}
- {{ detailData.reportView.scoreDimension }}
+ {{ detailData.reportView.mainTitle }}
{{ detailData.reportView.keywords.join(' · ') }}
@@ -124,7 +109,7 @@ onShareAppMessage(() => {
{{ detailData.reportView.score }}
分
- 组织管理能力
+ {{ detailData.reportView.scoreDimension }}
@@ -144,20 +129,7 @@ onShareAppMessage(() => {
-
- {{ detailData.reportView.environmentTitle }}
-
-
- {{ item.title }}
- {{ item.description }}
-
-
-
+
@@ -221,90 +193,6 @@ onShareAppMessage(() => {
}
-.outer-dot-1,
-.outer-dot-2,
-.outer-dot-3,
-.outer-dot-4 {
- position: relative;
- border-radius: 20rpx;
-}
-
-
-
-.outer-dot-1::before,
-.outer-dot-2::before,
-.outer-dot-3::before,
-.outer-dot-4::before {
- content: "";
- position: absolute;
- width: 24rpx;
- height: 24rpx;
- border-radius: 50%;
-}
-
-.outer-dot-1::after,
-.outer-dot-2::after,
-.outer-dot-3::after,
-.outer-dot-4::after {
- content: "";
- position: absolute;
- width: 24rpx;
- height: 24rpx;
- border-radius: 50%;
- background-color: #fff;
-}
-
-.outer-dot-1::before {
- bottom: -12rpx;
- left: 24rpx;
- background-color: #D2F3FF;
- z-index: 4;
-}
-
-
-
-.outer-dot-1::after {
- right: -12rpx;
- top: 24rpx;
-}
-
-.outer-dot-2::before {
- top: 24rpx;
- left: -12rpx;
- background-color: #F2EBFF;
-}
-
-.outer-dot-2::after {
- bottom: -12rpx;
- right: 24rpx;
- z-index: 1;
-}
-
-.outer-dot-3::before {
- right: -12rpx;
- bottom: 24rpx;
- background-color: #E1FFF9 ;
- z-index: 3;
-}
-
-.outer-dot-3::after {
- top: -12rpx;
- left: 24rpx;
-
-}
-
-.outer-dot-4::before {
- top: -12rpx;
- right: 24rpx;
- background-color: #D3F3FF;
- z-index: 2;
-}
-
-.outer-dot-4::after {
- left: -12rpx;
- bottom: 24rpx;
-}
-
button::after {
border: none;
}
diff --git a/src/chart-sub/evaluate/sixReport/growthPlanning.vue b/src/chart-sub/evaluate/sixReport/growthPlanning.vue
index d862c97..25d46be 100644
--- a/src/chart-sub/evaluate/sixReport/growthPlanning.vue
+++ b/src/chart-sub/evaluate/sixReport/growthPlanning.vue
@@ -1,6 +1,7 @@