Commit 3e742466 authored by haiyoucuv's avatar haiyoucuv

init

parent 38296792
......@@ -64,6 +64,6 @@ if (CFG.env == 'test') {
}
if (!getUrlParam("appID")) {
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1752827942666/styles/vendors.502791ffef6502f76694.css" rel="stylesheet"><link href="//yun.duiba.com.cn/spark/v2/temp_base/1752827942666/styles/main.502791ffef6502f76694.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>"use strict";
}</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1752828323925/styles/vendors.46f3b8f05d1ccd7bceaa.css" rel="stylesheet"><link href="//yun.duiba.com.cn/spark/v2/temp_base/1752828323925/styles/main.46f3b8f05d1ccd7bceaa.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>"use strict";
CFG.___G___ = 'origin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(fetch)%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(push)%3Bmaster%3Bhaiyoucuv%3B';</script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1752827942666/js/runtime-main.908114f5.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1752827942666/js/vendors.7a2250d0.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1752827942666/js/main.3be530a9.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
CFG.___G___ = 'origin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(fetch)%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(push)%3Bmaster%3Bhaiyoucuv%3B';</script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1752828323925/js/runtime-main.062f9dd4.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1752828323925/js/vendors.7a2250d0.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1752828323925/js/main.56f14824.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
......@@ -10,5 +10,5 @@ module.exports ={
"IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1752827876219",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1752827942666/js"
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1752828323925/js"
}
\ No newline at end of file
......@@ -48,7 +48,6 @@ class ReviewPanel extends React.Component {
return;
}
modalStore.closePop();
store.changePage(PAGE_MAP.QUES_PAGE, {funds: this.props.popData.funds});
}
render() {
......
......@@ -36,7 +36,7 @@ class LifeSettingPage extends React.Component {
const {chooseIndex, quesIndex} = this.state;
if (chooseIndex === null || chooseIndex === undefined) {
return Toast("请完成参数选择");
return Toast("请完成参数选择", 1800, {hideOthers: true});
}
const {radio} = SettingCfg[quesIndex].answer[chooseIndex];
......
......@@ -8,6 +8,8 @@ import classNames from "classnames";
import modalStore from "@src/store/modal";
import store from "@src/store";
import { sensorMdClick, sensorMdExpouse } from "@src/utils/sensorMd";
import {toJS} from "mobx";
import {Toast} from "@spark/ui";
@observer
class Answerpage extends React.Component {
......@@ -37,7 +39,9 @@ class Answerpage extends React.Component {
sensorMdClick("activityClick", { pageName: "测试选择页", buttonName: "确认" });
const {quesIndex, chooseIndex, funds} = this.state;
if (chooseIndex == null) return;
if (chooseIndex == null) {
return Toast("请完成本题选择", 1800, {hideOthers: true});
}
this.selectOptions.push(chooseIndex);
......@@ -59,7 +63,7 @@ class Answerpage extends React.Component {
score = 2;
}
await store.submitTest({
initParams: this.props.settingParams,
initParams: toJS(this.props.settingParams),
initAmount: this.initFunds,
selectOptions: this.selectOptions.map((item) => item + 1),
resultAmount: resultFunds,
......
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