feat: 添加志愿解读

master
xjs 2025-04-28 16:15:57 +08:00
parent 9a79f7cc88
commit 381d2ae56e
11 changed files with 136 additions and 106 deletions

View File

@ -40,6 +40,12 @@ onLoad((options) => {
if (options.type) { if (options.type) {
url.value += `&reportType=${options.type}` url.value += `&reportType=${options.type}`
} }
if (options.fileId) {
url.value += `&fileId=${options.fileId}`
}
if (options.locationCode) {
url.value += `&locationCode=${options.locationCode}`
}
// const recorderManager = uni.getRecorderManager() // const recorderManager = uni.getRecorderManager()
// recorderManager.onError((res) => { // recorderManager.onError((res) => {
// console.log('', res) // console.log('', res)

View File

@ -20,7 +20,8 @@
</template> </template>
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative mt-[40rpx]"> <view class="flex-1 overflow-auto relative mt-[40rpx] flex flex-col">
<view class="flex flex-col flex-1 overflow-auto pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view <view
class="flex flex-col pt-[32rpx] mx-[24rpx] bg-[#fff] px-[30rpx] pt-[30rpx] border-class" class="flex flex-col pt-[32rpx] mx-[24rpx] bg-[#fff] px-[30rpx] pt-[30rpx] border-class"
@ -33,6 +34,7 @@
<!-- 雷达图占位 --> <!-- 雷达图占位 -->
<LineReport :echart-data="studyRecord.linChart" :description="studyRecord.description" /> <LineReport :echart-data="studyRecord.linChart" :description="studyRecord.description" />
<AbilityDimension :report-items="studyRecord.reportItems" /> <AbilityDimension :report-items="studyRecord.reportItems" />
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />
</view> </view>

View File

@ -20,10 +20,14 @@
</template> </template>
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative mt-[40rpx]"> <view class="flex-1 flex flex-col overflow-auto">
<view class="overflow-auto relative mt-[40rpx] flex-1 pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700"> <view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700">
<image src="https://api.static.ycymedu.com/src/images/evaluate/bg.png" class="header-bg" /> <image
src="https://api.static.ycymedu.com/src/images/evaluate/bg.png"
class="header-bg"
/>
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的性格类型为</text> <text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的性格类型为</text>
<text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text> <text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text>
</view> </view>
@ -35,6 +39,7 @@
:major="studyRecord.reportItem.major" :major="studyRecord.reportItem.major"
:occupation="studyRecord.reportItem.occupation" :occupation="studyRecord.reportItem.occupation"
/> />
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />

View File

@ -21,9 +21,13 @@
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative mt-[40rpx]"> <view class="flex-1 overflow-auto relative mt-[40rpx]">
<view class="overflow-auto relative mt-[40rpx] flex-1 pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700"> <view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700">
<image src="https://api.static.ycymedu.com/src/images/evaluate/bg.png" class="header-bg" /> <image
src="https://api.static.ycymedu.com/src/images/evaluate/bg.png"
class="header-bg"
/>
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的兴趣类型为</text> <text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的兴趣类型为</text>
<text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text> <text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text>
</view> </view>
@ -36,6 +40,7 @@
<IntroMajor :tag="studyRecord.hTag" /> <IntroMajor :tag="studyRecord.hTag" />
<!-- 兴趣分析与代表人物 --> <!-- 兴趣分析与代表人物 -->
<InterestingThings :tag="studyRecord.hTag" :description="studyRecord.description" /> <InterestingThings :tag="studyRecord.hTag" :description="studyRecord.description" />
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />

View File

@ -21,14 +21,19 @@
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative mt-[40rpx]"> <view class="flex-1 overflow-auto relative mt-[40rpx]">
<view class="overflow-auto relative mt-[40rpx] flex-1 pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700"> <view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700">
<image src="https://api.static.ycymedu.com/src/images/evaluate/bg.png" class="header-bg" /> <image
src="https://api.static.ycymedu.com/src/images/evaluate/bg.png"
class="header-bg"
/>
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的职业价值观</text> <text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的职业价值观</text>
<text class="text-[#117CFC] text-[40rpx] z-2">{{ studyRecord.tag }}</text> <text class="text-[#117CFC] text-[40rpx] z-2">{{ studyRecord.tag }}</text>
</view> </view>
<OpinionChart :pic-charts="studyRecord.picCharts" /> <OpinionChart :pic-charts="studyRecord.picCharts" />
<AbilityDimension :report-items="studyRecord.reportItems" /> <AbilityDimension :report-items="studyRecord.reportItems" />
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />
</view> </view>

View File

@ -1,7 +1,7 @@
<template> <template>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<view <view
class="pt-[16rpx] px-[32rpx] mt-[20rpx] flex items-center justify-center bg-[#fff] pb-safe sticky bottom-0 z-999" class="pt-[16rpx] px-[32rpx] flex items-center justify-center bg-[#fff] pb-safe sticky bottom-0 z-999"
@click="toAiAssistant" @click="toAiAssistant"
v-if="aiShow" v-if="aiShow"
> >

View File

@ -21,6 +21,7 @@
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative"> <view class="flex-1 overflow-auto relative">
<view class="flex flex-col flex-1 overflow-auto pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="mt-[30rpx] mx-[24rpx]"> <view class="mt-[30rpx] mx-[24rpx]">
<StatusCard <StatusCard
@ -35,6 +36,7 @@
<view class="mt-[30rpx] mx-[24rpx]"> <view class="mt-[30rpx] mx-[24rpx]">
<SuggestionCard /> <SuggestionCard />
</view> </view>
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />

View File

@ -21,6 +21,7 @@
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative"> <view class="flex-1 overflow-auto relative">
<view class="flex flex-col flex-1 overflow-auto pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="mt-[30rpx] mx-[24rpx]"> <view class="mt-[30rpx] mx-[24rpx]">
<StatusCard <StatusCard
@ -35,6 +36,7 @@
<view class="mt-[30rpx] mx-[24rpx]"> <view class="mt-[30rpx] mx-[24rpx]">
<SuggestionCard /> <SuggestionCard />
</view> </view>
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />

View File

@ -21,6 +21,7 @@
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative"> <view class="flex-1 overflow-auto relative">
<view class="flex flex-col flex-1 overflow-auto pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="mt-[60rpx] mx-[24rpx]"> <view class="mt-[60rpx] mx-[24rpx]">
<StatusCard <StatusCard
@ -40,6 +41,7 @@
:title="item.title" :title="item.title"
></LearnSkillSuggestion> ></LearnSkillSuggestion>
</view> </view>
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />

View File

@ -21,6 +21,7 @@
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative"> <view class="flex-1 overflow-auto relative">
<view class="flex flex-col flex-1 overflow-auto pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="mt-[60rpx] mx-[24rpx]"> <view class="mt-[60rpx] mx-[24rpx]">
<LearnStyleChart :pic-data="chartData" :parsing="parsing" /> <LearnStyleChart :pic-data="chartData" :parsing="parsing" />
@ -33,6 +34,7 @@
:key="index" :key="index"
/> />
</view> </view>
</view>
<!-- 底部AI智能顾问 --> <!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />

View File

@ -20,8 +20,8 @@
</template> </template>
</Navbar> </Navbar>
<view class="flex-1 overflow-auto relative flex flex-col"> <view class="flex-1 overflow-auto flex flex-col">
<view class="flex-1 overflow-auto"> <view class="flex flex-col flex-1 overflow-auto pb-[20rpx]">
<!-- 顶部卡片 --> <!-- 顶部卡片 -->
<view class="mt-[60rpx] mx-[24rpx]"> <view class="mt-[60rpx] mx-[24rpx]">
<StatusCard <StatusCard
@ -43,7 +43,6 @@
</view> </view>
</view> </view>
<!-- 底部AI智能顾问 -->
<AiFooter :pageId="pageId" :pageType="pageType" /> <AiFooter :pageId="pageId" :pageType="pageType" />
</view> </view>
</view> </view>