Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
dd270b00
Commit
dd270b00
authored
Jan 18, 2021
by
13732208043
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
53c2fa5f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
3 deletions
+54
-3
sparkrc.js
project/sparkrc.js
+1
-1
prize.jsx
project/src/components/prize/prize.jsx
+1
-1
main3.jsx
project/src/pages/main3/main3.jsx
+3
-1
resList.js
project/src/resconfig/resList.js
+42
-0
config.js
project/src/util/config.js
+6
-0
enum.js
project/src/util/enum.js
+1
-0
No files found.
project/sparkrc.js
View file @
dd270b00
...
@@ -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
:
tru
e
,
MOCK_STATUS
:
fals
e
,
PX2REM
:
true
PX2REM
:
true
};
};
project/src/components/prize/prize.jsx
View file @
dd270b00
...
@@ -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
}
/>
...
...
project/src/pages/main3/main3.jsx
View file @
dd270b00
...
@@ -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'
){
...
...
project/src/resconfig/resList.js
View file @
dd270b00
This diff is collapsed.
Click to expand it.
project/src/util/config.js
View file @
dd270b00
...
@@ -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);
...
...
project/src/util/enum.js
View file @
dd270b00
...
@@ -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
:{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment