Commit 1e8b29f8 authored by haiyoucuv's avatar haiyoucuv

init

parent 4b11a84c
......@@ -7,6 +7,7 @@ import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx";
import { SvgaPlayer } from "@grace/svgaplayer";
import bgEffectSvga from "@/assets/svga/2输出签到成功弹窗.svga";
import VideoPanel from "@/panels/VideoPanel/VideoPanel.tsx";
export interface ISkyFullGoldPanelProps {
creditsNum: number;
......@@ -26,9 +27,10 @@ class SkyFullGoldPanel extends React.Component<ISkyFullGoldPanelProps> {
};
clickVideo = _asyncThrottle(async () => {
const { creditsNum, multipleValue, url, taskId } = this.props;
const { url, taskId } = this.props;
ModalCtrl.closeModal();
ModalCtrl.showModal(VideoPanel, { taskId, url });
});
render() {
......
......@@ -7,6 +7,7 @@ import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx";
import { SvgaPlayer } from "@grace/svgaplayer";
import bgEffectSvga from "@/assets/svga/2输出签到成功弹窗.svga";
import VideoPanel from "@/panels/VideoPanel/VideoPanel.tsx";
export interface IWedExpPanelProps {
signCredits: number;
......@@ -29,9 +30,10 @@ class WedExpPanel extends React.Component<IWedExpPanelProps> {
};
clickVideo = _asyncThrottle(async () => {
const { signCredits, extraCredits, boolLimit, multipleValue, url, taskId, newLuckCreditsNum } = this.props;
const { url, taskId } = this.props;
ModalCtrl.closeModal();
ModalCtrl.showModal(VideoPanel, { taskId, url });
});
render() {
......
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