完成答题逻辑

This commit is contained in:
Andy Leong
2024-01-04 17:31:22 +08:00
parent 7905cb5fb7
commit 313af3437b
7 changed files with 452 additions and 44 deletions

View File

@@ -1,31 +0,0 @@
export default {
//manifest 加载到纹理缓存使用的资源
manifest: [
{
name: "test0",
url: new URL(`@/assets/images/m_0.png`, import.meta.url).href,
position: { x: 110, y: 210, w: 80, h: 80 },
zIndex: 4,
},
{
name: "test1",
url: new URL(`@/assets/images/m_1.png`, import.meta.url).href,
position: { x: 110, y: 200, w: 100, h: 100 },
zIndex: 3,
},
{
name: "test2",
url: new URL(`@/assets/images/m_2.png`, import.meta.url).href,
position: { x: 110, y: 300, w: 100, h: 100 },
zIndex: 2,
},
{
name: "test3",
url: new URL(`@/assets/images/share.jpg`, import.meta.url).href,
position: { x: 110, y: 400, w: 300, h: 300 },
zIndex: 1,
}
]
}

207
src/data/index.js Normal file
View File

@@ -0,0 +1,207 @@
export default [
{
id: 1,
type: 'mbti',
question: '当朋友约你外出,你会?',
answer: [
{
aid: 'A',
text: '询问计划具体时间段做什么',
secore: 'J',
},
{
aid: 'B',
text: '说走就走',
secore: 'P',
},
],
},
{
id: 2,
type: 'mbti',
question: '你更喜欢什么样的社交生活?',
answer: [
{
aid: 'A',
text: '独处回血爽歪歪',
secore: 'I',
},
{
aid: 'B',
text: '呼朋唤友快乐多',
secore: 'E',
},
],
},
{
id: 3,
type: 'mbti',
question: '当你想要做一个计划时,你会?',
answer: [
{
aid: 'A',
text: '收集尽量多的信息',
secore: 'S',
},
{
aid: 'B',
text: '偏向依靠经验',
secore: 'N',
},
],
},
{
id: 4,
type: 'mbti',
question: '得知朋友因心情不好买了很多饼干,你第一想到的是?',
answer: [
{
aid: 'A',
text: '买了多少?一个人能吃完吗',
secore: 'T',
},
{
aid: 'B',
text: '为什么心情不好呢',
secore: 'F',
},
],
},
{
id: 5,
type: 'lc',
question: '当你考虑投资一个新的金融产品时,你更倾向于?',
answer: [
{
aid: 'A',
text: '与朋友、同事或专业顾问讨论,通过外部交流获得信息和建议',
secore: 'E',
},
{
aid: 'B',
text: '独立研究,通过阅读、在线课程和个人分析来形成决策',
secore: 'I',
},
],
},
{
id: 6,
type: 'lc',
type: 'lc',
question: '当评估一项投资机会时,你更倾向于?',
answer: [
{
aid: 'A',
text: '依赖详细的市场报告、历史数据和具体分析',
secore: 'S',
},
{
aid: 'B',
text: '依赖整体市场趋势、未来预测和直觉感受 ',
secore: 'N',
},
],
},
{
id: 7,
type: 'lc',
question: '在选择一个投资合伙人时,你更看重?',
answer: [
{
aid: 'A',
text: '他们的专业能力、以往的业绩和逻辑决策过程',
secore: 'T',
},
{
aid: 'B',
text: '他们的个人价值观、信任度和与你的情感共鸣',
secore: 'F',
},
],
},
{
id: 8,
type: 'lc',
question: '当面对投资市场的不确定性和变化时,你更倾向于?',
answer: [
{
aid: 'A',
text: '坚持你的投资计划和策略,不轻易改变已经制定的计划',
secore: 'J',
},
{
aid: 'B',
text: 'B.保持灵活性,根据市场的最新变化调整你的投资策略',
secore: 'P',
},
],
},
{
id: 9,
type: 'lc',
question: '在做某项决定时,你认为比较重要的是?',
answer: [
{
aid: 'A',
text: '根据实际情况衡量考虑',
secore: 'J',
},
{
aid: 'B',
text: '考虑他人的感受和意见',
secore: 'P',
},
],
},
{
id: 10,
type: 'mbti',
question: '你认为别人一般会?',
answer: [
{
aid: 'A',
text: '花很长时间才认识你',
secore: 'I',
},
{
aid: 'B',
text: '很短的时间便了解你',
secore: 'E',
},
],
},
{
id: 11,
type: 'mbti',
question: '哪些人会更吸引你?',
answer: [
{
aid: 'A',
text: '一个思想敏捷及非常聪颖的人',
secore: 'N',
},
{
aid: 'B',
text: '实事求是,具有丰富常识的人',
secore: 'S',
},
],
},
{
id: 12,
type: 'mbti',
question: '你是否经常让',
answer: [
{
aid: 'A',
text: '你的情感支配你的理智',
secore: 'F',
},
{
aid: 'B',
text: '你的理智主宰你的情感',
secore: 'T',
},
],
},
]