Commit 9f75190c authored by 李硕's avatar 李硕

提交修改内容

parent 0fb8149c
......@@ -7,9 +7,9 @@ export const baseInfo = {
"tenDjStock": 1200,
"fiveDjStock": 2000,
"llbStock": 3000,
"llbStatus": 0,
"llbStatus":1,
"fiveDjStatus": 1,
"tenDjStatus": 0
"tenDjStatus": 1
},
"code": null,
"message": null,
......@@ -21,7 +21,7 @@ export const verbPrize = {
"name": "奖品名称",
"icon": "2"
},
"code": 600006,
"code": "600008",
"message": null,
"success": false
}
\ No newline at end of file
......@@ -8,14 +8,14 @@
.rulemodal {
width: 750px;
height: 1334px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
.rulebg {
width: 750px;
height: 1334px;
height: 1624px;
opacity: 0.6;
position: absolute;
transform-origin: 0px 0px 0px;
......
......@@ -130,10 +130,10 @@ export function Modal_Lables(modalType, level, openStatus) {
export function ERROR_MESSSAGE(errorCode) {
let message = "";
switch (errorCode) {
case 600001:
case "600001":
message = "网络繁忙,请稍后重试";
break;
case 600002:
case "600002":
message = "参数异常";
break;
// case 600003:
......@@ -142,7 +142,7 @@ export function ERROR_MESSSAGE(errorCode) {
// case 600004:
// message = "会员等级不足";
// break;
case 600005:
case "600005":
message = "仅限上海联通用户参与";
break;
// case 600006:
......@@ -163,7 +163,7 @@ export function ERROR_MESSSAGE(errorCode) {
}
export function ERROR_TYPE(errorCode) {
if ([600003, 600004, 600006, 600007, 600008].includes(errorCode)) {
if (["600003", "600004", "600006", "600007", "600008"].includes(errorCode)) {
return false;
} else {
return true;
......@@ -173,22 +173,22 @@ export function ERROR_TYPE(errorCode) {
export function ERROR_MODAL(errorCode) {
let type = "";
switch (errorCode) {
case 600003:
case "600003":
type = MODAL_TYPE.NOT_START;
break;
case 600004:
case "600004":
type = MODAL_TYPE.VIP_CHECK;
break;
// case 600005:
// type = "仅限上海联通用户参与";
// break;
case 600006:
case "600006":
type = MODAL_TYPE.NO_STOCK;
break;
case 600007:
case "600007":
type = MODAL_TYPE.NO_TIMES;
break;
case 600008:
case "600008":
type = MODAL_TYPE.END;
break;
default:
......
......@@ -130,7 +130,7 @@ class Pageweekverb extends Component {
if (isToast) {
Toast(ERROR_MESSSAGE(code));
} else {
this.errorModal(code, this.state.baseData.vipLevel,openStatus);
this.errorModal(code, this.state.baseData.vipLevel, openStatus);
}
}
}
......@@ -145,7 +145,6 @@ class Pageweekverb extends Component {
modalStatus: 1,
modalData: modalInfo
})
}
}
/**
......
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