Commit dd270b00 authored by 13732208043's avatar 13732208043

更新

parent 53c2fa5f
...@@ -4,6 +4,6 @@ module.exports = { ...@@ -4,6 +4,6 @@ module.exports = {
TEMP_DIR: "./.temp", TEMP_DIR: "./.temp",
ENTRY: "src/app.jsx", ENTRY: "src/app.jsx",
TEMPLATE: "./public/index.html", TEMPLATE: "./public/index.html",
MOCK_STATUS: true, MOCK_STATUS: false,
PX2REM: true PX2REM: true
}; };
...@@ -23,7 +23,7 @@ class Comprize extends Component { ...@@ -23,7 +23,7 @@ class Comprize extends Component {
<div className="prize "> <div className="prize ">
<img className="prize_bg " src={this.state.resList['27d97dbc-4f9f-4f3e-b064-1b6729dd8193'].url} /> <img className="prize_bg " src={this.state.resList['27d97dbc-4f9f-4f3e-b064-1b6729dd8193'].url} />
<span className="prize_name ">恭喜你连续签到七天<br/> 获得{awardName}</span> <span className="prize_name ">恭喜你连续签到七天<br/> 获得{awardName}</span>
{type !='daPaiCoupons' &&<span className="prize_tip ">请前往工银e生活app-我的-<br/>优惠券-电子券中查看</span>} {/*type !='daPaiCoupons' &&*/<span className="prize_tip ">请前往工银e生活app-我的-<br/>优惠券-电子券中查看</span>}
<img className="prize_img " src={awardPic} /> <img className="prize_img " src={awardPic} />
<img className="prize_close " onClick={this.onCloseCustom} src={this.state.resList['b5b823ed-99a2-47fe-9512-1e3db73e8c89'].url} /> <img className="prize_close " onClick={this.onCloseCustom} src={this.state.resList['b5b823ed-99a2-47fe-9512-1e3db73e8c89'].url} />
<img className="prize_ok md12" onClick={this.onCloseCustom} src={this.state.resList['1da83a0f-fa15-43c5-a36f-b696a6628303'].url} /> <img className="prize_ok md12" onClick={this.onCloseCustom} src={this.state.resList['1da83a0f-fa15-43c5-a36f-b696a6628303'].url} />
......
...@@ -13,6 +13,7 @@ import { getSVGA } from '../../svga'; ...@@ -13,6 +13,7 @@ import { getSVGA } from '../../svga';
import { Toast } from '@spark/ui'; import { Toast } from '@spark/ui';
import ViewCtrl from "../../util/viewCtrl"; import ViewCtrl from "../../util/viewCtrl";
import Enum from '../../util/enum'; import Enum from '../../util/enum';
let _widget; let _widget;
function getActivityInfo(actId) { function getActivityInfo(actId) {
...@@ -49,7 +50,8 @@ class Main3 extends Component { ...@@ -49,7 +50,8 @@ class Main3 extends Component {
gotoURL=(type)=>{ gotoURL=(type)=>{
if(type==='renwudating'){ if(type==='renwudating'){
Toast('暂未开放,敬请期待') //Toast('暂未开放,敬请期待')
ViewCtrl.showWin(Enum.Com.Task);
return; return;
} }
if(type==='xiaomaibu'){ if(type==='xiaomaibu'){
......
This diff is collapsed.
...@@ -3,6 +3,9 @@ import Select from "../components/select/select.jsx"; ...@@ -3,6 +3,9 @@ import Select from "../components/select/select.jsx";
import Comprize from "../components/prize/prize.jsx"; import Comprize from "../components/prize/prize.jsx";
import Rule from "../components/rule/rule.jsx"; import Rule from "../components/rule/rule.jsx";
import Sign from "../components/sign/sign.jsx"; import Sign from "../components/sign/sign.jsx";
import Task from "../components/task/task.jsx";
// import Comtask from '../components/comtask/comtask.jsx'; // import Comtask from '../components/comtask/comtask.jsx';
// import ComconfirmExchange from '../components/comconfirmExcahnge/comconfirmExcahnge.jsx'; // import ComconfirmExchange from '../components/comconfirmExcahnge/comconfirmExcahnge.jsx';
// import ComExchangesuccess from '../components/comexchangesuccess/comexchangesuccess.jsx'; // import ComExchangesuccess from '../components/comexchangesuccess/comexchangesuccess.jsx';
...@@ -16,6 +19,9 @@ comMap.set(Enum.Com.Select, Select); ...@@ -16,6 +19,9 @@ comMap.set(Enum.Com.Select, Select);
comMap.set(Enum.Com.Comprize, Comprize); comMap.set(Enum.Com.Comprize, Comprize);
comMap.set(Enum.Com.Rule, Rule); comMap.set(Enum.Com.Rule, Rule);
comMap.set(Enum.Com.Sign, Sign); comMap.set(Enum.Com.Sign, Sign);
comMap.set(Enum.Com.Task, Task);
// comMap.set(Enum.Com.comtask, Comtask); // comMap.set(Enum.Com.comtask, Comtask);
// comMap.set(Enum.Com.comconfirmExchange, ComconfirmExchange); // comMap.set(Enum.Com.comconfirmExchange, ComconfirmExchange);
// comMap.set(Enum.Com.comExchangesuccess, ComExchangesuccess); // comMap.set(Enum.Com.comExchangesuccess, ComExchangesuccess);
......
...@@ -28,6 +28,7 @@ const Enum = { ...@@ -28,6 +28,7 @@ const Enum = {
Sign:2007, Sign:2007,
Rule:2008, Rule:2008,
Comprize:2009, Comprize:2009,
Task:2010,
}, },
Store:{ Store:{
......
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