Commit e070dbd3 authored by qimiao's avatar qimiao

replace asset

parent c836a912
...@@ -11,8 +11,8 @@ module.exports = { ...@@ -11,8 +11,8 @@ module.exports = {
userId: "9527", userId: "9527",
shareCode: "9527", shareCode: "9527",
salesmanFlag: true, salesmanFlag: true,
rewardDailyFreeGameTimes: 1, rewardDailyFreeGameTimes: null,
leftGameTimes: 1, leftGameTimes: null,
}, },
}, },
"GET /game/startGame.do": { "GET /game/startGame.do": {
......
src/assets/bindPop/bg.png

203 KB | W: | H:

src/assets/bindPop/bg.png

153 KB | W: | H:

src/assets/bindPop/bg.png
src/assets/bindPop/bg.png
src/assets/bindPop/bg.png
src/assets/bindPop/bg.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/bindPop/bind_btn.png

37.8 KB | W: | H:

src/assets/bindPop/bind_btn.png

39.4 KB | W: | H:

src/assets/bindPop/bind_btn.png
src/assets/bindPop/bind_btn.png
src/assets/bindPop/bind_btn.png
src/assets/bindPop/bind_btn.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/focusPop/bg.png

219 KB | W: | H:

src/assets/focusPop/bg.png

181 KB | W: | H:

src/assets/focusPop/bg.png
src/assets/focusPop/bg.png
src/assets/focusPop/bg.png
src/assets/focusPop/bg.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/prizePage/prize_btn.png

584 Bytes | W: | H:

src/assets/prizePage/prize_btn.png

619 Bytes | W: | H:

src/assets/prizePage/prize_btn.png
src/assets/prizePage/prize_btn.png
src/assets/prizePage/prize_btn.png
src/assets/prizePage/prize_btn.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/prizePage/prize_item_bg.png

2.86 KB | W: | H:

src/assets/prizePage/prize_item_bg.png

2.75 KB | W: | H:

src/assets/prizePage/prize_item_bg.png
src/assets/prizePage/prize_item_bg.png
src/assets/prizePage/prize_item_bg.png
src/assets/prizePage/prize_item_bg.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/prizePage/title.png

5.15 KB | W: | H:

src/assets/prizePage/title.png

7.47 KB | W: | H:

src/assets/prizePage/title.png
src/assets/prizePage/title.png
src/assets/prizePage/title.png
src/assets/prizePage/title.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/taskPop/red_bg.png

8.01 KB | W: | H:

src/assets/taskPop/red_bg.png

11.7 KB | W: | H:

src/assets/taskPop/red_bg.png
src/assets/taskPop/red_bg.png
src/assets/taskPop/red_bg.png
src/assets/taskPop/red_bg.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/taskPop/yellow_bg.png

8.08 KB | W: | H:

src/assets/taskPop/yellow_bg.png

10.7 KB | W: | H:

src/assets/taskPop/yellow_bg.png
src/assets/taskPop/yellow_bg.png
src/assets/taskPop/yellow_bg.png
src/assets/taskPop/yellow_bg.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -9,28 +9,28 @@ ...@@ -9,28 +9,28 @@
.bg { .bg {
position: absolute; position: absolute;
left: 27px; left: 113px;
top: 518px; top: 444px;
width: 671px; width: 524px;
height: 486px; height: 449px;
.sparkBg("bindPop/bg.png"); .sparkBg("bindPop/bg.png");
} }
.bind_btn { .bind_btn {
position: absolute; position: absolute;
left: 212px; left: 202px;
top: 855px; top: 748px;
width: 328px; width: 347px;
height: 93px; height: 129px;
.sparkBg("bindPop/bind_btn.png"); .sparkBg("bindPop/bind_btn.png");
} }
.close { .close {
position: absolute; position: absolute;
left: 345px; left: 348px;
top: 1053px; top: 940px;
width: 59px; width: 53px;
height: 61px; height: 52px;
.sparkBg("common/close.png"); .sparkBg("common/close.png");
} }
} }
...@@ -7,28 +7,29 @@ ...@@ -7,28 +7,29 @@
position: absolute; position: absolute;
.bg { .bg {
position: absolute; position: absolute;
left: 27px; left: 117px;
top: 428px; top: 444px;
width: 671px; width: 516px;
height: 638px; height: 559px;
.sparkBg("focusPop/bg.png"); .sparkBg("focusPop/bg.png");
} }
.qrcode_bg { .qrcode_bg {
border-radius: 26px; border-radius: 10px;
background-color: rgb(74, 115, 31);
position: absolute; position: absolute;
left: 246px; left: 226px;
top: 615px; top: 568px;
width: 258px; width: 290px;
height: 258px; height: 290px;
box-sizing: border-box;
border: 5px solid rgb(0, 146, 222);
box-sizing: border-box; box-sizing: border-box;
} }
.close { .close {
position: absolute; position: absolute;
left: 345px; left: 348px;
top: 1113px; top: 1030px;
width: 59px; width: 53px;
height: 61px; height: 52px;
.sparkBg("common/close.png"); .sparkBg("common/close.png");
} }
} }
...@@ -136,14 +136,10 @@ class Taskpop extends React.Component { ...@@ -136,14 +136,10 @@ class Taskpop extends React.Component {
<span className="task_subtitle">{item.subTitle}</span> <span className="task_subtitle">{item.subTitle}</span>
{/* taskStatus 任务状态 * 0 去完成,任务完成次数未达到上限 * 1 待领奖 * 2 已完成,任务完成次数达到上限 */} {/* taskStatus 任务状态 * 0 去完成,任务完成次数未达到上限 * 1 待领奖 * 2 已完成,任务完成次数达到上限 */}
{item.taskStatus === 0 && ( {item.taskStatus === 0 && (
<Button className="task_btn red_bg" onClick={() => this.completeHandle(item)}> <Button className="task_btn red_bg" onClick={() => this.completeHandle(item)}></Button>
去完成
</Button>
)} )}
{item.taskStatus === 1 && ( {item.taskStatus === 1 && (
<Button className="task_btn yellow_bg" onClick={() => this.receiveHandle(item)}> <Button className="task_btn yellow_bg" onClick={() => this.receiveHandle(item)}></Button>
待领取
</Button>
)} )}
{item.taskStatus === 2 && <Button className="task_btn grey_bg">已完成</Button>} {item.taskStatus === 2 && <Button className="task_btn grey_bg">已完成</Button>}
</div> </div>
......
...@@ -11,6 +11,7 @@ import { PAGE_MAP } from "@src/utils/constants"; ...@@ -11,6 +11,7 @@ import { PAGE_MAP } from "@src/utils/constants";
import { CircleTurntable } from "@spark/circle-turntable"; import { CircleTurntable } from "@spark/circle-turntable";
import { pageLeave, sensorMdClick, sensorMdExpouse } from "@src/utils/sensorMd"; import { pageLeave, sensorMdClick, sensorMdExpouse } from "@src/utils/sensorMd";
import { Button } from "@src/components/Button"; import { Button } from "@src/components/Button";
import { Toast } from "@spark/ui";
@observer @observer
class Drawpage extends React.Component { class Drawpage extends React.Component {
...@@ -46,9 +47,11 @@ class Drawpage extends React.Component { ...@@ -46,9 +47,11 @@ class Drawpage extends React.Component {
sensorMdClick("activityClick", { pageName: "抽奖页点击", buttonName: "开始抽奖" }); sensorMdClick("activityClick", { pageName: "抽奖页点击", buttonName: "开始抽奖" });
// 无抽奖次数 // 无抽奖次数
if (!leftDrawTimes) { if (!leftDrawTimes) {
return modalStore.pushPop("Drawchancepop", { // return modalStore.pushPop("Drawchancepop", {
refresh: () => this.getDrawInfo(), // refresh: () => this.getDrawInfo(),
}); // });
Toast("去参与游戏获取抽奖次数吧~");
return;
} }
if (this.btnStarting) return false; if (this.btnStarting) return false;
......
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
.sparkBg("homePage/rule_prize.png"); .sparkBg("homePage/rule_prize.png");
} }
.back { .back {
left: 29px;
top: 147px;
width: 64px; width: 64px;
height: 65px; height: 64px;
left: 12px;
top: 159px;
position: absolute; position: absolute;
.sparkBg("common/back.png"); .sparkBg("prizePage/back.png");
} }
.rule_btn { .rule_btn {
width: 87px; width: 87px;
......
...@@ -66,8 +66,9 @@ class Homepage extends React.Component { ...@@ -66,8 +66,9 @@ class Homepage extends React.Component {
if (!store.checkActStatus()) { if (!store.checkActStatus()) {
return; return;
} }
const { leftGameTimes, rewardDailyFreeGameTimes } = store.homeInfo || {};
sensorMdClick("activityClick", { pageName: "端午节活动首页点击", buttonName: "开始测试" }); sensorMdClick("activityClick", { pageName: "端午节活动首页点击", buttonName: "开始测试" });
if (store.homeInfo?.rewardDailyFreeGameTimes > 0) { if (leftGameTimes + rewardDailyFreeGameTimes > 0) {
// 进入测试页 // 进入测试页
store.startTest(); store.startTest();
} else { } else {
......
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
.sparkBg("prizePage/bg.png"); .sparkBg("prizePage/bg.png");
} }
.title { .title {
width: 234px; left: 252px;
height: 58px; top: 158px;
left: 258px; width: 244px;
top: 163px; height: 59px;
position: absolute; position: absolute;
.sparkBg("prizePage/title.png"); .sparkBg("prizePage/title.png");
} }
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
padding-right: 20px; padding-right: 20px;
overflow-y: auto; overflow-y: auto;
.prize_item { .prize_item {
width: 690px; width: 688px;
height: 149px; height: 150px;
position: relative; position: relative;
.sparkBg("prizePage/prize_item_bg.png"); .sparkBg("prizePage/prize_item_bg.png");
margin-bottom: 16px; margin-bottom: 16px;
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
position: absolute; position: absolute;
font-size: 32px; font-size: 32px;
line-height: 32px; line-height: 32px;
color: rgba(70, 101, 64, 1); color: rgb(51, 51, 51);
font-weight: bold; font-weight: bold;
.lineClamp1(); .lineClamp1();
} }
...@@ -67,11 +67,11 @@ ...@@ -67,11 +67,11 @@
} }
} }
.back { .back {
left: 29px;
top: 147px;
width: 64px; width: 64px;
height: 65px; height: 64px;
left: 12px;
top: 159px;
position: absolute; position: absolute;
.sparkBg("common/back.png"); .sparkBg("prizePage/back.png");
} }
} }
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