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
15e093e4
Commit
15e093e4
authored
Nov 08, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中奖页
parent
f2f6f0a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/components/blessingGetPrize/index.js
+2
-1
src/components/blessingGetPrize/index.scss
+5
-2
No files found.
src/components/blessingGetPrize/index.js
View file @
15e093e4
...
@@ -6,6 +6,7 @@ import { Toast } from 'antd-mobile';
...
@@ -6,6 +6,7 @@ import { Toast } from 'antd-mobile';
import
AddressPopup
from
'./../blessingPreheat/addressPopup/index'
import
AddressPopup
from
'./../blessingPreheat/addressPopup/index'
import
{
Popup
}
from
'@/common'
import
{
Popup
}
from
'@/common'
import
{
connect
}
from
'react-redux'
import
{
connect
}
from
'react-redux'
import
jsCookie
from
'js-cookie'
@
connect
(({
user
})
=>
(
@
connect
(({
user
})
=>
(
{
{
uid
:
user
.
data
.
uid
||
''
uid
:
user
.
data
.
uid
||
''
...
@@ -30,7 +31,7 @@ class BlessingGetPrize extends Component {
...
@@ -30,7 +31,7 @@ class BlessingGetPrize extends Component {
const
_this
=
this
;
const
_this
=
this
;
setTimeout
(
function
(){
setTimeout
(
function
(){
const
{
history
,
uid
}
=
_this
.
props
;
const
{
history
,
uid
}
=
_this
.
props
;
if
(
!
uid
)
{
if
(
!
uid
&&
!
jsCookie
.
get
(
'uid'
)
)
{
history
.
push
(
'/passport'
)
history
.
push
(
'/passport'
)
}
else
{
}
else
{
http
.
get
(
`
${
API
.
home
}
/sys/lottery_result?id=
${
getParam
(
'id'
)}
`
).
then
(
res
=>
{
http
.
get
(
`
${
API
.
home
}
/sys/lottery_result?id=
${
getParam
(
'id'
)}
`
).
then
(
res
=>
{
...
...
src/components/blessingGetPrize/index.scss
View file @
15e093e4
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
.is__get_prize
{
.is__get_prize
{
width
:
100%
;
width
:
100%
;
height
:
1
2
0px
;
height
:
1
4
0px
;
background
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/quan2x.png')
center
center
no-repeat
;
background
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/quan2x.png')
center
center
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
margin-top
:
10px
;
margin-top
:
10px
;
...
@@ -65,7 +65,10 @@
...
@@ -65,7 +65,10 @@
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
div
{
div
{
line-height
:
16px
;
line-height
:
20px
;
width
:
80%
;
text-align
:
center
;
text-align-last
:
center
;
}
}
.address
{
.address
{
font-size
:
12px
;
font-size
:
12px
;
...
...
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