Commit 841e9bae authored by haiyoucuv's avatar haiyoucuv

Merge remote-tracking branch 'origin/master'

parents 579092ae fbcea6e8
export default [ export default [
{ {
url: '/main/index.do', url: '/zqdn/index.do',
response: ({ query }) => { response: ({ query }) => {
const signDay = Math.random() * 7 >> 0;
return { return {
success: true, "code": "123",
code: "", "success": true,
message: "", "message": "message",
timeStamp: Date.now(), "data": {
data: { "actStartTimestamp": -86961592.20219234,
actStartTime: Date.now() - 1000000, "answerChance": 61684762.582832515,
actEndTime: Date.now() + 1000000, "rank": 85345186.95448217,
currentTime: Date.now(), "uid": "laboris Lorem sit officia aliqua",
guideFlag: true, "currentTimestamp": 99790918.1204935,
creditsNum: 923, "actEndTimestamp": 42625488.007563084,
expireDays: 7, "rankPop": {
currentStoreNum: 1000, "prizeName": "名字是啥",
storeLimitNum: 1000, "prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png",
continueSignDays: 3, "rank": 825844,
todaySignFlag: false,
signRecords: new Array(7).fill(1).map((_, index) => {
return {
id: index,
day: index + 1,
creditsNum: 100 + Math.random() * 100 >> 0,
boolSign: index < signDay,
}
}),
overflowBubble: {
creditsNum: 700,
expireTime: 1746669495352,
id: 218090705,
},
bubbleRecords: new Array(1 + (Math.random() * 4 >> 0)).fill(1).map((_, index) => {
return {
id: index,
creditsNum: 100 + Math.random() * 100 >> 0,
expireTime: Date.now() + 10000 + (Math.random() * 10 >> 0) * 1000,
type: 1 + Math.random() * 2 >> 0,
}
}),
returnAwardCreditsNum: 0,
downGoldVo: {
creditsNum: 100,
multipleValue: 5,
taskId: "5555555",
url: "urlurlurlurlurlurl",
}, },
downGoldVo: null, "rulePop": false,
"userId": "qui id deserunt",
"validUid": "Lorem labore occaecat sed quis",
"isAgent": "true",
"boundYkCode": "eiusmod in dolor",
"minim_0": 93293912
} }
} }
}, },
......
...@@ -81,7 +81,7 @@ const API = generateAPI({ ...@@ -81,7 +81,7 @@ const API = generateAPI({
// 奖品 // 奖品
queryOrder: "/customActivity/kouweiwang/prize/queryOrderNo", queryOrder: "/customActivity/kouweiwang/prize/queryOrderNo",
index: "main/index.do", index: "zqdn/index.do",
completeGuide: "main/completeGuide.do", completeGuide: "main/completeGuide.do",
sign: "main/sign.do", sign: "main/sign.do",
receiveBubble: "main/receiveBubble.do", receiveBubble: "main/receiveBubble.do",
......
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import React from "react"; import React from "react";
import { observer } from "mobx-react"; import { observer } from "mobx-react";
import "./DrawPage.less"; import "./CapsulePage.less";
import { _asyncThrottle, _throttle } from "../../utils/utils.ts"; import { _asyncThrottle, _throttle } from "../../utils/utils.ts";
import store from "../../store/store.ts"; import store from "../../store/store.ts";
import { CHANNEL_PARAMS } from "../../utils/constants.ts"; import { CHANNEL_PARAMS } from "../../utils/constants.ts";
...@@ -23,7 +23,7 @@ import dynamicSvga from "../../assets/svga/3输出出奖啊.svga"; ...@@ -23,7 +23,7 @@ import dynamicSvga from "../../assets/svga/3输出出奖啊.svga";
@observer @observer
class Drawpage extends React.Component { class Capsulepage extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {
...@@ -151,7 +151,7 @@ class Drawpage extends React.Component { ...@@ -151,7 +151,7 @@ class Drawpage extends React.Component {
const { btnDynamic } = this.state; const { btnDynamic } = this.state;
const { prizeVOs, remainDrawTimes } = this.state.drawInfo; const { prizeVOs, remainDrawTimes } = this.state.drawInfo;
return ( return (
<div className="drawpage modal_center"> <div className="capsule modal_center">
<span className="bg"></span> <span className="bg"></span>
<span className="logo"></span> <span className="logo"></span>
<Button className="back_btn" onClick={this.backHome} /> <Button className="back_btn" onClick={this.backHome} />
...@@ -196,4 +196,4 @@ class Drawpage extends React.Component { ...@@ -196,4 +196,4 @@ class Drawpage extends React.Component {
); );
} }
} }
export default Drawpage; export default Capsulepage;
@import "../../res.less"; @import "../../res.less";
.drawpage { .capsule {
width: 750px; width: 750px;
height: 1624px; height: 1624px;
left: 0px; left: 0px;
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
left: 0px; left: 0px;
top: 0px; top: 0px;
position: absolute; position: absolute;
.sparkBg("drawPage/bg.png"); .sparkBg("capsulePage/bg.png");
} }
.logo { .logo {
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
left: 230px; left: 230px;
top: 113px; top: 113px;
position: absolute; position: absolute;
.sparkBg("drawPage/logo.png"); .sparkBg("capsulePage/logo.png");
} }
.back_btn { .back_btn {
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
width: 59px; width: 59px;
height: 57px; height: 57px;
position: absolute; position: absolute;
.sparkBg("drawPage/back.png"); .sparkBg("capsulePage/back.png");
} }
.machine { .machine {
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
// top: 0; // top: 0;
// width: 615px; // width: 615px;
// height: 46px; // height: 46px;
// .sparkBg("drawPage/prize_info_bg.png"); // .sparkBg("capsulePage/prize_info_bg.png");
// } // }
// .prize_info_laba { // .prize_info_laba {
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
// top: 11px; // top: 11px;
// width: 31px; // width: 31px;
// height: 25px; // height: 25px;
// .sparkBg("drawPage/prize_info_laba.png"); // .sparkBg("capsulePage/prize_info_laba.png");
// } // }
// .prize_info_list { // .prize_info_list {
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
left: 0px; left: 0px;
top: 0px; top: 0px;
position: absolute; position: absolute;
.sparkBg("drawPage/draw_btn.png"); .sparkBg("capsulePage/draw_btn.png");
} }
.left_num { .left_num {
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
// width: 680px; // width: 680px;
// height: 681px; // height: 681px;
// position: absolute; // position: absolute;
// .sparkBg("drawPage/turantable_box.png"); // .sparkBg("capsulePage/turantable_box.png");
// pointer-events: none; // pointer-events: none;
// display: flex; // display: flex;
// justify-content: center; // justify-content: center;
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
// left: 0px; // left: 0px;
// top: 0px; // top: 0px;
// position: absolute; // position: absolute;
// .sparkBg("drawPage/turantable_bg.png"); // .sparkBg("capsulePage/turantable_bg.png");
// } // }
// .prize_item { // .prize_item {
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
// width: 126px; // width: 126px;
// height: 131px; // height: 131px;
// position: absolute; // position: absolute;
// .sparkBg("drawPage/pointer.png"); // .sparkBg("capsulePage/pointer.png");
// } // }
// } // }
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
// width: 114px; // width: 114px;
// height: 138px; // height: 138px;
// position: absolute; // position: absolute;
// .sparkBg("drawPage/cover.png"); // .sparkBg("capsulePage/cover.png");
// pointer-events: none; // pointer-events: none;
// } // }
} }
\ No newline at end of file
...@@ -8,7 +8,7 @@ import { _asyncThrottle } from "../../utils/utils"; ...@@ -8,7 +8,7 @@ import { _asyncThrottle } from "../../utils/utils";
import { PageCtrl } from "@/core/ctrls/PageCtrl"; import { PageCtrl } from "@/core/ctrls/PageCtrl";
import { ModalCtrl } from "@/core/ctrls/ModalCtrl"; import { ModalCtrl } from "@/core/ctrls/ModalCtrl";
import Rulepop from "../../components/rulepop/rulepop.jsx"; import Rulepop from "../../components/rulepop/rulepop.jsx";
import DrawPage from "../DrawPage/DrawPage.jsx"; import CapsulePage from "../CapsulePage/CapsulePage.jsx";
import store from '@/store/store'; import store from '@/store/store';
import Taskpop from '@/panels/taskpop/taskpop.jsx'; import Taskpop from '@/panels/taskpop/taskpop.jsx';
import RankPage from '../RankPage/RankPage.js'; import RankPage from '../RankPage/RankPage.js';
...@@ -45,7 +45,7 @@ class Homepage extends React.Component { ...@@ -45,7 +45,7 @@ class Homepage extends React.Component {
// 1 抽奖 // 1 抽奖
case 1: case 1:
PageCtrl.changePage(DrawPage); PageCtrl.changePage(CapsulePage);
break; break;
// 2 做任务 // 2 做任务
......
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