Compare commits
2 Commits
b37c3dc1b4
...
381d2ae56e
| Author | SHA1 | Date |
|---|---|---|
|
|
381d2ae56e | |
|
|
9a79f7cc88 |
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="mx-5 rounded-lg bg-white px-[32rpx] py-[56rpx]">
|
<view
|
||||||
|
:class="`mx-5 rounded-lg bg-white px-[32rpx] ${userStore.userInfo.openid ? 'py-[56rpx]' : 'py-[26rpx]'}`"
|
||||||
|
>
|
||||||
<view
|
<view
|
||||||
class="flex items-center justify-between mx-[34rpx] py-[26rpx]"
|
class="flex items-center justify-between mx-[34rpx] py-[26rpx]"
|
||||||
style="border-bottom: 2rpx solid #ededed"
|
style="border-bottom: 2rpx solid #ededed"
|
||||||
|
|
@ -22,7 +24,7 @@
|
||||||
<image
|
<image
|
||||||
class="w-[74%] h-[50rpx]"
|
class="w-[74%] h-[50rpx]"
|
||||||
mode="widthFix"
|
mode="widthFix"
|
||||||
src="https://api.static.ycymedu.com/images/homepageheadtmp.png"
|
src="https://api.static.ycymedu.com/pagefirstloginbg.png"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view class="mt-[56rpx] flex items-center justify-between" v-if="userStore.userInfo.openid">
|
<view class="mt-[56rpx] flex items-center justify-between" v-if="userStore.userInfo.openid">
|
||||||
|
|
@ -42,7 +44,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex items-center justify-between mt-[26rpx]" v-else>
|
<view class="flex items-center justify-between mt-[26rpx]" v-else>
|
||||||
<button
|
<button
|
||||||
class="h-[88rpx]! w-full! text-[#fff]! text-[30rpx]! bg-[#1580FF]! font-normal flex! items-center! justify-center! rounded-[8rpx]!"
|
class="h-[78rpx]! w-full! text-[#fff]! text-[30rpx]! bg-[#1580FF]! font-normal flex! items-center! justify-center! rounded-[8rpx]!"
|
||||||
@click="navigatorToLogin"
|
@click="navigatorToLogin"
|
||||||
>
|
>
|
||||||
登录/注册
|
登录/注册
|
||||||
|
|
|
||||||
|
|
@ -20,19 +20,21 @@
|
||||||
</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
|
<!-- 顶部卡片 -->
|
||||||
class="flex flex-col pt-[32rpx] mx-[24rpx] bg-[#fff] px-[30rpx] pt-[30rpx] border-class"
|
<view
|
||||||
>
|
class="flex flex-col pt-[32rpx] mx-[24rpx] bg-[#fff] px-[30rpx] pt-[30rpx] border-class"
|
||||||
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2 font-700">你的弱势能力为</text>
|
>
|
||||||
<text class="text-[#117CFC] text-[36rpx] z-2">
|
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2 font-700">你的弱势能力为</text>
|
||||||
{{ studyRecord.title.replace('你的弱势能力:', '') }}
|
<text class="text-[#117CFC] text-[36rpx] z-2">
|
||||||
</text>
|
{{ studyRecord.title.replace('你的弱势能力:', '') }}
|
||||||
|
</text>
|
||||||
|
</view>
|
||||||
|
<!-- 雷达图占位 -->
|
||||||
|
<LineReport :echart-data="studyRecord.linChart" :description="studyRecord.description" />
|
||||||
|
<AbilityDimension :report-items="studyRecord.reportItems" />
|
||||||
</view>
|
</view>
|
||||||
<!-- 雷达图占位 -->
|
|
||||||
<LineReport :echart-data="studyRecord.linChart" :description="studyRecord.description" />
|
|
||||||
<AbilityDimension :report-items="studyRecord.reportItems" />
|
|
||||||
<!-- 底部AI智能顾问 -->
|
<!-- 底部AI智能顾问 -->
|
||||||
<AiFooter :pageId="pageId" :pageType="pageType" />
|
<AiFooter :pageId="pageId" :pageType="pageType" />
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -20,21 +20,26 @@
|
||||||
</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">
|
<!-- 顶部卡片 -->
|
||||||
<image src="https://api.static.ycymedu.com/src/images/evaluate/bg.png" class="header-bg" />
|
<view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700">
|
||||||
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的性格类型为</text>
|
<image
|
||||||
<text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text>
|
src="https://api.static.ycymedu.com/src/images/evaluate/bg.png"
|
||||||
</view>
|
class="header-bg"
|
||||||
<!-- 雷达图占位 -->
|
/>
|
||||||
<CharacterChart :linChart="studyRecord.linChart" :description="studyRecord.description" />
|
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的性格类型为</text>
|
||||||
|
<text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text>
|
||||||
|
</view>
|
||||||
|
<!-- 雷达图占位 -->
|
||||||
|
<CharacterChart :linChart="studyRecord.linChart" :description="studyRecord.description" />
|
||||||
|
|
||||||
<DependenciesChart
|
<DependenciesChart
|
||||||
:mainDomain="studyRecord.reportItem.mainDomain"
|
:mainDomain="studyRecord.reportItem.mainDomain"
|
||||||
: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" />
|
||||||
|
|
|
||||||
|
|
@ -21,21 +21,26 @@
|
||||||
</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">
|
<!-- 顶部卡片 -->
|
||||||
<image src="https://api.static.ycymedu.com/src/images/evaluate/bg.png" class="header-bg" />
|
<view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700">
|
||||||
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的兴趣类型为</text>
|
<image
|
||||||
<text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text>
|
src="https://api.static.ycymedu.com/src/images/evaluate/bg.png"
|
||||||
</view>
|
class="header-bg"
|
||||||
<!-- 雷达图占位 -->
|
/>
|
||||||
<InterestRadar :picData="studyRecord.picCharts" />
|
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的兴趣类型为</text>
|
||||||
<!-- 类型说明 -->
|
<text class="text-[#117CFC] text-[36rpx] z-2">{{ studyRecord.title }}</text>
|
||||||
<TypeDetail :reportItems="studyRecord.reportItems" />
|
</view>
|
||||||
|
<!-- 雷达图占位 -->
|
||||||
|
<InterestRadar :picData="studyRecord.picCharts" />
|
||||||
|
<!-- 类型说明 -->
|
||||||
|
<TypeDetail :reportItems="studyRecord.reportItems" />
|
||||||
|
|
||||||
<!-- 适合职业 -->
|
<!-- 适合职业 -->
|
||||||
<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" />
|
||||||
|
|
|
||||||
|
|
@ -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">
|
<!-- 顶部卡片 -->
|
||||||
<image src="https://api.static.ycymedu.com/src/images/evaluate/bg.png" class="header-bg" />
|
<view class="flex flex-col pt-[32rpx] px-[84rpx] h-[244rpx] mb-[-116rpx] font-700">
|
||||||
<text class="text-[#333] text-[28rpx] mb-[14rpx] z-2">您的职业价值观</text>
|
<image
|
||||||
<text class="text-[#117CFC] text-[40rpx] z-2">{{ studyRecord.tag }}</text>
|
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-[#117CFC] text-[40rpx] z-2">{{ studyRecord.tag }}</text>
|
||||||
|
</view>
|
||||||
|
<OpinionChart :pic-charts="studyRecord.picCharts" />
|
||||||
|
<AbilityDimension :report-items="studyRecord.reportItems" />
|
||||||
</view>
|
</view>
|
||||||
<OpinionChart :pic-charts="studyRecord.picCharts" />
|
|
||||||
<AbilityDimension :report-items="studyRecord.reportItems" />
|
|
||||||
<!-- 底部AI智能顾问 -->
|
<!-- 底部AI智能顾问 -->
|
||||||
<AiFooter :pageId="pageId" :pageType="pageType" />
|
<AiFooter :pageId="pageId" :pageType="pageType" />
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<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="userStore.userInfo.isShowAi"
|
v-if="aiShow"
|
||||||
>
|
>
|
||||||
<view
|
<view
|
||||||
class="rounded-[8rpx] border-[#1580FF] border-[2rpx] border-solid w-full py-[14rpx] flex items-center justify-center"
|
class="rounded-[8rpx] border-[#1580FF] border-[2rpx] border-solid w-full py-[14rpx] flex items-center justify-center"
|
||||||
|
|
@ -19,8 +19,22 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useUserStore } from '@/store'
|
import { sysDictType } from '@/service/index/api'
|
||||||
const userStore = useUserStore()
|
|
||||||
|
const aiShow = ref(true)
|
||||||
|
sysDictType({ id: 619330547859525 }).then((res) => {
|
||||||
|
const { code, result } = res
|
||||||
|
|
||||||
|
const { status } = result as { status: number }
|
||||||
|
if (code === 200) {
|
||||||
|
if (status === 1) {
|
||||||
|
aiShow.value = false
|
||||||
|
} else {
|
||||||
|
aiShow.value = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
pageId: {
|
pageId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
|
|
||||||
|
|
@ -21,19 +21,21 @@
|
||||||
</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]">
|
<!-- 顶部卡片 -->
|
||||||
<StatusCard
|
<view class="mt-[30rpx] mx-[24rpx]">
|
||||||
:score="score"
|
<StatusCard
|
||||||
:rules="anxietyRules"
|
:score="score"
|
||||||
tip="结果只做参考,不能准确判断是否有焦虑症。"
|
:rules="anxietyRules"
|
||||||
:level="level"
|
tip="结果只做参考,不能准确判断是否有焦虑症。"
|
||||||
:description="studyRecord.description"
|
:level="level"
|
||||||
:tagName="studyRecord.tagName"
|
:description="studyRecord.description"
|
||||||
/>
|
:tagName="studyRecord.tagName"
|
||||||
</view>
|
/>
|
||||||
<view class="mt-[30rpx] mx-[24rpx]">
|
</view>
|
||||||
<SuggestionCard />
|
<view class="mt-[30rpx] mx-[24rpx]">
|
||||||
|
<SuggestionCard />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 底部AI智能顾问 -->
|
<!-- 底部AI智能顾问 -->
|
||||||
|
|
|
||||||
|
|
@ -21,19 +21,21 @@
|
||||||
</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]">
|
<!-- 顶部卡片 -->
|
||||||
<StatusCard
|
<view class="mt-[30rpx] mx-[24rpx]">
|
||||||
:score="score"
|
<StatusCard
|
||||||
:rules="depressionRules"
|
:score="score"
|
||||||
tip="结果只做参考,不能准确判断是否有抑郁症。"
|
:rules="depressionRules"
|
||||||
:level="level"
|
tip="结果只做参考,不能准确判断是否有抑郁症。"
|
||||||
:description="studyRecord.description"
|
:level="level"
|
||||||
:tagName="studyRecord.tagName"
|
:description="studyRecord.description"
|
||||||
/>
|
:tagName="studyRecord.tagName"
|
||||||
</view>
|
/>
|
||||||
<view class="mt-[30rpx] mx-[24rpx]">
|
</view>
|
||||||
<SuggestionCard />
|
<view class="mt-[30rpx] mx-[24rpx]">
|
||||||
|
<SuggestionCard />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 底部AI智能顾问 -->
|
<!-- 底部AI智能顾问 -->
|
||||||
|
|
|
||||||
|
|
@ -21,24 +21,26 @@
|
||||||
</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]">
|
<!-- 顶部卡片 -->
|
||||||
<StatusCard
|
<view class="mt-[60rpx] mx-[24rpx]">
|
||||||
:score="score"
|
<StatusCard
|
||||||
:rules="anxietyRules"
|
:score="score"
|
||||||
tip="测评结果只做参考。"
|
:rules="anxietyRules"
|
||||||
:level="level"
|
tip="测评结果只做参考。"
|
||||||
:description="studyRecord.description"
|
:level="level"
|
||||||
:tagName="studyRecord.tagName"
|
:description="studyRecord.description"
|
||||||
/>
|
:tagName="studyRecord.tagName"
|
||||||
</view>
|
/>
|
||||||
<view class="mx-[24rpx]">
|
</view>
|
||||||
<LearnSkillSuggestion
|
<view class="mx-[24rpx]">
|
||||||
v-for="(item, index) in suggestions"
|
<LearnSkillSuggestion
|
||||||
:key="index"
|
v-for="(item, index) in suggestions"
|
||||||
:items="item.items"
|
:key="index"
|
||||||
:title="item.title"
|
:items="item.items"
|
||||||
></LearnSkillSuggestion>
|
:title="item.title"
|
||||||
|
></LearnSkillSuggestion>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 底部AI智能顾问 -->
|
<!-- 底部AI智能顾问 -->
|
||||||
|
|
|
||||||
|
|
@ -21,17 +21,19 @@
|
||||||
</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]">
|
<!-- 顶部卡片 -->
|
||||||
<LearnStyleChart :pic-data="chartData" :parsing="parsing" />
|
<view class="mt-[60rpx] mx-[24rpx]">
|
||||||
</view>
|
<LearnStyleChart :pic-data="chartData" :parsing="parsing" />
|
||||||
<view class="mx-[24rpx]">
|
</view>
|
||||||
<LearnStudySuggestion
|
<view class="mx-[24rpx]">
|
||||||
:title="item.name"
|
<LearnStudySuggestion
|
||||||
:item="item"
|
:title="item.name"
|
||||||
v-for="(item, index) in suggestions"
|
:item="item"
|
||||||
:key="index"
|
v-for="(item, index) in suggestions"
|
||||||
/>
|
:key="index"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 底部AI智能顾问 -->
|
<!-- 底部AI智能顾问 -->
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ const initState = {
|
||||||
batchDataUrl: '',
|
batchDataUrl: '',
|
||||||
batchName: '',
|
batchName: '',
|
||||||
wishList: [],
|
wishList: [],
|
||||||
isShowAi: false,
|
isShowAi: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const useUserStore = defineStore(
|
export const useUserStore = defineStore(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue