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
5847e286
Commit
5847e286
authored
May 31, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
3309dda5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
src/components/coupons/common/ExchangeBar/exchange-bar.scss
+5
-0
src/components/coupons/use-coupons/index.js
+4
-7
src/components/coupons/use-coupons/use-coupon.scss
+1
-1
No files found.
src/components/coupons/common/ExchangeBar/exchange-bar.scss
View file @
5847e286
...
@@ -4,6 +4,11 @@
...
@@ -4,6 +4,11 @@
width
:
100%
;
width
:
100%
;
padding
:
10px
12px
;
padding
:
10px
12px
;
border-bottom
:
1px
solid
$border_e7eaf1
;
border-bottom
:
1px
solid
$border_e7eaf1
;
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
10
;
background
:
$white
;
button
{
button
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/components/coupons/use-coupons/index.js
View file @
5847e286
...
@@ -3,6 +3,7 @@ import './use-coupon.scss'
...
@@ -3,6 +3,7 @@ import './use-coupon.scss'
import
ExchangeaBar
from
"../common/ExchangeBar"
;
import
ExchangeaBar
from
"../common/ExchangeBar"
;
import
Coupon
from
'../common/Coupon'
import
Coupon
from
'../common/Coupon'
import
{
WithFullSize
}
from
'@/HOCs'
const
mockData
=
{
const
mockData
=
{
...
@@ -62,10 +63,6 @@ class UseCoupon extends Component {
...
@@ -62,10 +63,6 @@ class UseCoupon extends Component {
this
.
setState
({
exchangeNum
:
val
})
this
.
setState
({
exchangeNum
:
val
})
}
}
componentDidMount
()
{
document
.
getElementsByClassName
(
'tabbar'
)[
0
].
style
.
display
=
'none'
}
render
()
{
render
()
{
return
(
return
(
<
div
className
=
'use-coupon'
>
<
div
className
=
'use-coupon'
>
...
@@ -118,7 +115,7 @@ function Content({coupons, selected, ...rest}) {
...
@@ -118,7 +115,7 @@ function Content({coupons, selected, ...rest}) {
selected
=
{
selected
}
selected
=
{
selected
}
index
=
{
index
}
index
=
{
index
}
{...
rest
}
{...
rest
}
><
/Coupon
>
/
>
)
)
})
})
}
}
...
@@ -126,4 +123,4 @@ function Content({coupons, selected, ...rest}) {
...
@@ -126,4 +123,4 @@ function Content({coupons, selected, ...rest}) {
)
)
}
}
export
default
UseCoupon
;
export
default
WithFullSize
(
UseCoupon
);
\ No newline at end of file
\ No newline at end of file
src/components/coupons/use-coupons/use-coupon.scss
View file @
5847e286
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
.coupons-area
{
.coupons-area
{
padding
:
15px
12px
;
padding
:
15px
12px
;
background
:
$bg_f5f5f5
;
background
:
$bg_f5f5f5
;
flex
:
1
;
flex
:
1
1
auto
;
.empty
{
.empty
{
min-height
:
211px
;
min-height
:
211px
;
...
...
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