Commit 5a588060 authored by haiyoucuv's avatar haiyoucuv

init

parent 74ff37a1
{"proName":"太保-守护人生-20250711","proDesc":"","proPath":"/Users/yujiating/Documents/programme/太保-守护人生-20250714/20250711_tbguardinglife","createTime":1745912031535}
{"proName":"太保-守护人生-20250711","proDesc":"","proPath":"D:\\Duiba\\太保\\守护人生\\TaiBao-DuanWu-20250429","createTime":1745912031535}
......@@ -36,7 +36,7 @@ class FundsPanel extends React.Component {
<SvgaPlayer className="effect" src={RES_PATH + "svga/2输出弹窗氛围.svga"}/>
<div className="bg"/>
<div className="funds">{funds}万元</div>
<Button className="next" onClick={this.clickNext}/>
<Button className="next md10" onClick={this.clickNext}/>
<Button className="close" onClick={this.clickClose}/>
</div>;
}
......
......@@ -34,17 +34,17 @@ class LifeSettingPage extends React.Component {
clickNext = () => {
const {chooseIndex, quesIndex} = this.state;
if (chooseIndex === null || chooseIndex === undefined) {
return Toast("请完成参数选择");
}
const {radio} = SettingCfg[quesIndex].answer[chooseIndex];
this.funds *= radio;
this.settingParams.push(chooseIndex);
if (quesIndex == 2) {
sensorMdClick("activityClick", { pageName: "人生参数设定页", buttonName: "开始测试" });
modalStore.pushPop("FundsPanel", {
......@@ -81,7 +81,7 @@ class LifeSettingPage extends React.Component {
</div>
<Button
className={classNames("confirm", {
className={classNames("confirm", `md${7 + quesIndex}`, {
gray: chooseIndex === null || chooseIndex === undefined,
})}
onClick={this.clickNext}
......
......@@ -129,7 +129,7 @@ class Answerpage extends React.Component {
})}
</div>
</div>
<Button className="confirm" onClick={this.clickNext}/>
<Button className={`confirm md${quesIndex + 11}`} onClick={this.clickNext}/>
</div>;
}
}
......
......@@ -113,8 +113,8 @@ class Resultpage extends React.Component {
{poster && <img className="poster_img" src={poster} style={{opacity: 0}} alt=""/>}
<Button className="product_btn" onClick={() => this.openProduct(info.link)}/>
<Button className="share_btn" onClick={this.doShare}/>
<Button className="draw_btn" onClick={this.goDraw}/>
<Button className="share_btn md18" onClick={this.doShare}/>
<Button className="draw_btn md17" onClick={this.goDraw}/>
</div>;
}
}
......
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