Commit 10a5a589 authored by haiyoucuv's avatar haiyoucuv

init

parent 6b071040
src/assets/common/close.png

1.54 KB | W: | H:

src/assets/common/close.png

1.28 KB | W: | H:

src/assets/common/close.png
src/assets/common/close.png
src/assets/common/close.png
src/assets/common/close.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -8,6 +8,8 @@ import { _asyncThrottle } from "@/utils/utils.ts"; ...@@ -8,6 +8,8 @@ import { _asyncThrottle } from "@/utils/utils.ts";
import API from "@/api"; import API from "@/api";
import resStore from "@/store/ResStore.ts"; import resStore from "@/store/ResStore.ts";
import classNames from "classnames"; import classNames from "classnames";
import { NoPrizePanel } from "@/panels/NoPrizePanel/NoPrizePanel.tsx";
import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx";
@observer @observer
class TurnTable extends React.Component { class TurnTable extends React.Component {
...@@ -21,7 +23,8 @@ class TurnTable extends React.Component { ...@@ -21,7 +23,8 @@ class TurnTable extends React.Component {
onStop = () => { onStop = () => {
this.btnStarting = false; this.btnStarting = false;
// modalStore.pushPop("PrizePanel", this.drawResultInfo); resStore.updateInfo();
// ModalCtrl.showModal(NoPrizePanel, this.drawResultInfo);
} }
// 开始抽奖 // 开始抽奖
......
@import "../../res.less";
.NoPrizePanel {
width: 750px;
height: 100%;
left: 0;
top: 0;
position: absolute;
.bg {
position: absolute;
left: 82px;
top: 448px;
width: 585px;
height: 388px;
.webpBg("NoPrizePanel/noPrize.png");
}
.btn {
position: absolute;
left: 120px;
top: 673px;
width: 510px;
height: 138px;
.webpBg("NoPrizePanel/btn.png");
}
.close {
position: absolute;
left: 346px;
top: 958px;
width: 58px;
height: 58px;
.webpBg("common/close.png");
}
}
import { Component } from "react";
import "./NoPrizePanel.less";
import { Button } from "@grace/ui";
import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx";
export class NoPrizePanel extends Component<any, any> {
componentDidMount() {
}
clickClose = () => {
ModalCtrl.closeModal();
}
render() {
return <div className="NoPrizePanel">
<div className="bg"/>
<Button className="btn" onClick={this.clickClose}/>
<Button className="close" onClick={this.clickClose}/>
</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