Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
eba217e7
Commit
eba217e7
authored
Nov 11, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app-bug
parent
3b1b5cc8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
28 deletions
+15
-28
build/favicon.ico
+0
-0
build/manifest.json
+15
-0
src/components/blessingPreheat/formal-draw/index.js
+0
-24
src/components/blessingPreheat/index.js
+0
-4
No files found.
build/favicon.ico
0 → 100755
View file @
eba217e7
File added
build/manifest.json
0 → 100644
View file @
eba217e7
{
"short_name"
:
"React App"
,
"name"
:
"Create React App Sample"
,
"icons"
:
[
{
"src"
:
"favicon.ico"
,
"sizes"
:
"64x64 32x32 24x24 16x16"
,
"type"
:
"image/x-icon"
}
],
"start_url"
:
"."
,
"display"
:
"standalone"
,
"theme_color"
:
"#000000"
,
"background_color"
:
"#ffffff"
}
src/components/blessingPreheat/formal-draw/index.js
View file @
eba217e7
...
...
@@ -30,7 +30,6 @@ class FormalDraw extends Component {
}
componentDidMount
()
{
<<<<<<<
HEAD
this
.
getPrizeData
()
}
...
...
@@ -64,29 +63,6 @@ class FormalDraw extends Component {
Toast
.
info
(
msg
,
2
,
null
,
false
)
}
})
=======
http
.
get
(
`
${
API
.
home
}
/sys/activity/prize_data`
)
.
then
(
res
=>
{
const
{
data
,
code
,
msg
}
=
res
.
data
if
(
code
==
200
)
{
const
{
today
}
=
data
.
value
const
oneDay
=
data
.
list
.
filter
(
item
=>
item
.
date
===
data
.
value
.
today
)
const
activeIndex
=
oneDay
[
0
][
'son'
].
findIndex
(
item
=>
item
.
status
==
3
)
this
.
setState
({
tabs
:
data
.
list
.
map
(
item
=>
({
title
:
item
.
date
})),
today
,
initialPageIndex
:
data
.
list
.
findIndex
(
item
=>
item
.
date
==
today
)
||
0
,
list
:
data
.
list
,
userValue
:
data
.
value
,
activeTimeRangeIndex
:
activeIndex
<
0
?
0
:
activeIndex
},
()
=>
{
this
.
initializeSwiper
()
})
}
else
{
Toast
.
info
(
msg
,
2
,
null
,
false
)
}
})
>>>>>>>
caf81df4e9f961f7467d49fe9798b9123c92dadc
}
initializeSwiper
=
()
=>
{
...
...
src/components/blessingPreheat/index.js
View file @
eba217e7
...
...
@@ -586,11 +586,7 @@ class BlessingPreheat extends Component {
<
button
className
=
"luck-draw__button"
onClick
=
{()
=>
this
.
handleToShow
(
'isRule'
)}
>
活动规则
><
/button
>
<
button
className
=
'prize-record'
onClick
=
{
this
.
getMyPrizeRecord
}
>
中奖记录
><
/button
>
<
/div
>
<<<<<<<
HEAD
<
FormalDraw
toLogin
=
{
this
.
toLogin
}
isApp
=
{
isApp
}
/
>
=======
<
FormalDraw
toLogin
=
{
this
.
toLogin
}
/
>
>>>>>>>
caf81df4e9f961f7467d49fe9798b9123c92dadc
<
/
>
}
...
...
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