Commit d4b657c0 authored by haiyoucuv's avatar haiyoucuv

init

parent 8f68da6d
......@@ -11,7 +11,7 @@ module.exports = {
userId: "9527",
shareCode: "9527",
salesmanFlag: true,
rewardDailyFreeGameTimes: null,
rewardDailyFreeGameTimes: 123,
leftGameTimes: null,
},
},
......
......@@ -12,7 +12,7 @@ export const QuestionCfg = [
event: {
name: "不慎摔倒",
bg: RES_PATH + "EventPanel/不慎摔倒.png",
txt: "你在周末骑行时不慎摔倒,<br/>父母购买了医疗保险 -0",
txt: "你在周末骑行时不慎摔倒,<br/>好在父母购买了医疗保险,没有加剧财务损失",
money: -0.5,
}
},
......@@ -21,7 +21,7 @@ export const QuestionCfg = [
event: {
name: "不慎摔倒",
bg: RES_PATH + "EventPanel/夏令营不慎摔倒.png",
txt: "不慎滑倒,花钱治疗 -5000",
txt: "参加夏令营不慎滑倒,治疗花费了5000元",
money: -0.5,
}
},
......@@ -30,7 +30,7 @@ export const QuestionCfg = [
event: {
name: "家长奖励",
bg: RES_PATH + "EventPanel/家长奖励.png",
txt: "父母很满意,奖励了你5000元",
txt: "父母很满意你的储值意识,奖励了你5000元",
money: 0.5,
}
},
......@@ -65,7 +65,7 @@ export const QuestionCfg = [
event: {
name: "获得文凭",
bg: RES_PATH + "EventPanel/获得文凭.png",
txt: "你成功获得了硕士文凭",
txt: "你成功获得了硕士文凭,学业迈向新阶段",
money: 0,
}
},
......@@ -74,7 +74,7 @@ export const QuestionCfg = [
event: {
name: "惨遭辞退",
bg: RES_PATH + "EventPanel/惨遭辞退.png",
txt: "被老板发现,惨遭辞退",
txt: "拉帮结派行为被老板发现,惨遭辞退",
money: -15,
}
},
......@@ -83,7 +83,7 @@ export const QuestionCfg = [
event: {
name: "财富提升",
bg: RES_PATH + "EventPanel/财富提升.png",
txt: "辛勤工作 +10w",
txt: "辛勤工作,通过劳动赚到人生第一桶金",
money: 10,
}
},
......@@ -118,8 +118,11 @@ export const QuestionCfg = [
event: {
name: "获得保障",
bg: RES_PATH + "EventPanel/获得保障.png",
txt: "为你的孩子增添了一份良好的医疗保障",
txt: "您为孩子增添了一份良好的医疗保障",
money: 0,
banner: {
link: "//yun.duiba.com.cn/polaris/%E9%87%91%E7%94%9F%E6%97%A0%E5%BF%A7%EF%BC%88%E6%88%90%E4%BA%BA%EF%BC%89.46c5cd14e1c5e4bfe4cf6950bc407add9e5671ae.jpg"
}
}
},
{
......@@ -127,7 +130,8 @@ export const QuestionCfg = [
event: {
name: "钱包发瘪",
bg: RES_PATH + "EventPanel/钱包发瘪.png",
txt: "为保姆认真负责,小孩茁长成长,<br/>就是钱包瘪了下去-20w",
txt: `保姆认真负责,小孩茁长成长,就是钱包瘪了下去...<br/>
<span style="color: #ffe44c">推荐您为孩子增添一份健康保障</span>`,
money: -20,
}
},
......@@ -136,7 +140,8 @@ export const QuestionCfg = [
event: {
name: "不慎受伤",
bg: RES_PATH + "EventPanel/不慎受伤.png",
txt: "孩子出去玩时不慎受伤 -10w",
txt: `孩子出去玩时不慎受伤<br/>
<span style="color: #ffe44c">推荐您为孩子增添一份健康保障</span>`,
money: -10,
}
},
......@@ -171,7 +176,7 @@ export const QuestionCfg = [
event: {
name: "古井无波",
bg: RES_PATH + "EventPanel/古井无波.png",
txt: "工作生活并没有变得更好 +0",
txt: `换了新的环境,但是工作生活并没有变得更好...`,
money: 0,
}
},
......@@ -180,7 +185,7 @@ export const QuestionCfg = [
event: {
name: "职场风波",
bg: RES_PATH + "EventPanel/职场风波.png",
txt: "被发现,惨遭严肃调查 -100w",
txt: `贿赂被发现,惨遭严肃调查`,
money: -100,
}
},
......@@ -189,7 +194,7 @@ export const QuestionCfg = [
event: {
name: "完成晋升",
bg: RES_PATH + "EventPanel/晋升.png",
txt: "成功晋升,年增加 +30w",
txt: `成功晋升,获得晋升资金`,
money: 30,
}
},
......@@ -224,7 +229,8 @@ export const QuestionCfg = [
event: {
name: "股市震荡",
bg: RES_PATH + "EventPanel/股市震荡.png",
txt: "遇到股市震荡,及时抽身,损失不大 -10w",
txt: `遇到股市震荡,所幸你及时抽身,损失不大<br/>
<span style="color: #ffe44c">推荐您为退休设定稳定保障</span>`,
money: -10,
}
},
......@@ -233,7 +239,8 @@ export const QuestionCfg = [
event: {
name: "电商震荡",
bg: RES_PATH + "EventPanel/电商震荡.png",
txt: "恰好遇到电商热潮,实体产业损失惨重 -100w",
txt: `恰好遇到电商寒潮,你的实体产业损失惨重<br/>
<span style="color: #ffe44c">推荐您为退休设定稳定保障</span>`,
money: -100,
}
},
......@@ -242,7 +249,7 @@ export const QuestionCfg = [
event: {
name: "分红致富",
bg: RES_PATH + "EventPanel/分红致富.png",
txt: "获得分红收益 +40w",
txt: `购买保险,获得大量分红收益`,
money: 40,
}
},
......@@ -277,7 +284,11 @@ export const QuestionCfg = [
event: {
name: "获得保障",
bg: RES_PATH + "EventPanel/获得保障2.png",
txt: "随着年龄的增加,你的身体也陆陆续续<br/>出现了一些较为严重的疾病,<br/>但是通过该保险计划四合一的重症轻症多重保障,<br/>大大减少了在重疾治疗上的花费。",
txt: `随着年龄的增加,<br/>
你的身体也陆陆续续出现了一些较为严重的疾病,<br/>
但是通过该保险计划四合一的重症轻症多重保障,<br/>
大大减少了在重疾治疗上的花费。<br/>
<span style="color: #ffe44c">推荐您为退休设定稳定保障</span>`,
money: 0,
}
},
......@@ -286,7 +297,8 @@ export const QuestionCfg = [
event: {
name: "不慎摔伤",
bg: RES_PATH + "EventPanel/不慎摔伤.png",
txt: "在一次旅途中不慎摔伤,体检中查出了身体<br/>出现了一些疾病,治疗费用-50w。",
txt: `在一次旅途中不慎摔伤,体检中查出了身体<br/>出现了一些疾病,治疗费用-50w。<br/>
<span style="color: #ffe44c">推荐您为未来设定一定保障</span>`,
money: -50,
}
},
......@@ -295,7 +307,9 @@ export const QuestionCfg = [
event: {
name: "生活美满",
bg: RES_PATH + "EventPanel/生活美满.png",
txt: "获得了良好的康养管家服务体验。-10w",
txt: `获得了良好的康养管家服务体验,<br/>但是也付出了一定的财富才得以享受<br/>
<span style="color: #ffe44c">推荐您为未来设定一定保障</span>
`,
money: -10,
}
},
......
......@@ -49,9 +49,9 @@ class Resultpage extends React.Component {
store.changePage(PAGE_MAP.DRAW_PAGE, {is_from: 'result'});
})
// 查看产品详情
openProduct = _throttle(() => {
openProduct = _throttle((link) => {
sensorMdClick("activityClick", {pageName: "结果页", buttonName: "点击查看"});
modalStore.pushPop("LongImgPop2", {imgUrl: ROLE_MAP[store.roleId].productLink})
modalStore.pushPop("LongImgPop2", {imgUrl: link})
})
backHandle = _throttle(() => {
......@@ -68,18 +68,22 @@ class Resultpage extends React.Component {
1: {
bg: RES_PATH + "resultPage/负债.jpg",
color: "#0075f5",
link: "//yun.duiba.com.cn/polaris/5%E3%80%81%E5%AE%89%E4%BA%AB2025%E9%95%BF%E5%9B%BE.c644f11434fe71c7bdead8267757240452886f5c.jpg",
},
2: {
bg: RES_PATH + "resultPage/小康.jpg",
color: "#ed4300",
link: "//yun.duiba.com.cn/polaris/%E9%91%AB%E7%A6%A7%E5%B9%B4%E5%B9%B4.bd49c5dc528fce77e8c9f0690f779746d99089d9.jpg",
},
3: {
bg: RES_PATH + "resultPage/中产.jpg",
color: "#7c28ec",
link: "//yun.duiba.com.cn/polaris/%E8%9B%AE%E5%A5%BD%E4%BA%BA%E7%94%9F%E4%BC%A0%E4%B8%96%E7%89%88.867da0febb90ed822ee5180f0d7c216dba306b3b.jpg",
},
4: {
bg: RES_PATH + "resultPage/富有.jpg",
color: "#f58400",
link: "//yun.duiba.com.cn/polaris/%E8%9B%AE%E5%A5%BD%E7%9A%84%E4%BA%BA%E7%94%9F%E8%87%B3%E5%B0%8A%E7%89%88.a930a2718ab9c74d0c6c60f86554b3dc1cb9ea78.jpg",
},
}[score]
......@@ -97,7 +101,7 @@ class Resultpage extends React.Component {
{funds * 10000}<span></span>
</div>
<Button className="product_btn" onClick={this.openProduct}></Button>
<Button className="product_btn" onClick={this.openProduct.bind(info.link)}/>
<span className="tips">长按保存海报分享</span>
<Button className="share_btn" onClick={this.doShare}/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment