Commit c964a009 authored by haiyoucuv's avatar haiyoucuv

init

parent 0907f934
...@@ -77,6 +77,7 @@ export default [ ...@@ -77,6 +77,7 @@ export default [
signCredits: 100, signCredits: 100,
extraCredits: 100, extraCredits: 100,
boolLimit: true, boolLimit: true,
vipLevel: 3,
multipleValue: 3, multipleValue: 3,
url: "urlurlurlurlurl", url: "urlurlurlurlurl",
taskId: "taskId", taskId: "taskId",
......
...@@ -58,7 +58,16 @@ ...@@ -58,7 +58,16 @@
.vip { .vip {
color: #8f2245; color: #8f2245;
text-align: center; text-align: center;
font-family: "zzgfyht";
.txt {
font-size: 20px;
color: #fdf4e4;
position: absolute;
left: 410px;
top: 644px;
width: 162px;
text-align: center;
}
.tip { .tip {
font-size: 54.52px; font-size: 54.52px;
...@@ -75,6 +84,7 @@ ...@@ -75,6 +84,7 @@
top: 581px; top: 581px;
width: 300px; width: 300px;
font-size: 43.19px; font-size: 43.19px;
font-family: "zzgfyht";
} }
.right { .right {
...@@ -83,6 +93,7 @@ ...@@ -83,6 +93,7 @@
top: 581px; top: 581px;
width: 300px; width: 300px;
font-size: 43.19px; font-size: 43.19px;
font-family: "zzgfyht";
} }
.img { .img {
......
...@@ -16,6 +16,7 @@ export interface ISignSucPanelProps { ...@@ -16,6 +16,7 @@ export interface ISignSucPanelProps {
boolLimit: boolean; boolLimit: boolean;
multipleValue: number; multipleValue: number;
url: string; url: string;
vipLevel: number;
taskId: string; taskId: string;
newLuckCreditsNum: number; newLuckCreditsNum: number;
} }
...@@ -35,7 +36,7 @@ class SignSucPanel extends React.Component<ISignSucPanelProps> { ...@@ -35,7 +36,7 @@ class SignSucPanel extends React.Component<ISignSucPanelProps> {
}); });
render() { render() {
const { signCredits, extraCredits } = this.props; const { signCredits, extraCredits, vipLevel } = this.props;
return <div className="SignSucPanel modal_center"> return <div className="SignSucPanel modal_center">
<SvgaPlayer className="bgEffect" src={bgEffectSvga}/> <SvgaPlayer className="bgEffect" src={bgEffectSvga}/>
...@@ -49,6 +50,7 @@ class SignSucPanel extends React.Component<ISignSucPanelProps> { ...@@ -49,6 +50,7 @@ class SignSucPanel extends React.Component<ISignSucPanelProps> {
<div className="left">{signCredits}积分</div> <div className="left">{signCredits}积分</div>
<div className="right">{extraCredits}积分</div> <div className="right">{extraCredits}积分</div>
<div className="img"/> <div className="img"/>
<div className="txt">k{vipLevel}会员额外奖励</div>
</div> </div>
: <div className="normal"> : <div className="normal">
<div className="tip">获得{signCredits}积分</div> <div className="tip">获得{signCredits}积分</div>
......
...@@ -67,6 +67,16 @@ ...@@ -67,6 +67,16 @@
.webpBg("WedExpPanel/会员金币堆.png"); .webpBg("WedExpPanel/会员金币堆.png");
} }
.txt {
font-size: 20px;
color: #fdf4e4;
position: absolute;
left: 415px;
top: 601px;
width: 164px;
text-align: center;
}
.multuple { .multuple {
position: absolute; position: absolute;
left: 350px; left: 350px;
......
...@@ -16,6 +16,7 @@ export interface IWedExpPanelProps { ...@@ -16,6 +16,7 @@ export interface IWedExpPanelProps {
boolLimit: boolean; boolLimit: boolean;
multipleValue: number; multipleValue: number;
url: string; url: string;
vipLevel: number;
taskId: string; taskId: string;
newLuckCreditsNum: number; newLuckCreditsNum: number;
} }
...@@ -39,7 +40,7 @@ class WedExpPanel extends React.Component<IWedExpPanelProps> { ...@@ -39,7 +40,7 @@ class WedExpPanel extends React.Component<IWedExpPanelProps> {
render() { render() {
const { signCredits, extraCredits, multipleValue } = this.props; const { signCredits, extraCredits, multipleValue, vipLevel } = this.props;
const isVip = !!extraCredits; const isVip = !!extraCredits;
...@@ -55,6 +56,7 @@ class WedExpPanel extends React.Component<IWedExpPanelProps> { ...@@ -55,6 +56,7 @@ class WedExpPanel extends React.Component<IWedExpPanelProps> {
isVip isVip
? <div className="vip"> ? <div className="vip">
<div className="img"/> <div className="img"/>
<div className="txt">k{vipLevel}会员额外奖励</div>
<div className="multuple">{multipleValue}x</div> <div className="multuple">{multipleValue}x</div>
</div> </div>
: <div className="normal"> : <div className="normal">
......
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