Commit 5847e286 by zhanghaozhe

样式

parent 3309dda5
...@@ -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;
......
...@@ -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
...@@ -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;
......
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