Commit 264a3d9a by xuzhenghua

pull

parents c7210be4 7c092772
...@@ -231,16 +231,22 @@ class CollectBlessing extends Component { ...@@ -231,16 +231,22 @@ class CollectBlessing extends Component {
<i className="collect-blessing__num">{index+1}</i> <i className="collect-blessing__num">{index+1}</i>
<p className="collect-blessing__title">{item}</p> <p className="collect-blessing__title">{item}</p>
{ {
index === 0 && (isLogin && isSign) && index === 0 &&
<a className="collect-blessing__content" data-status="done"> <>
+5<br/>福气值 {
</a> (isLogin && isSign)
} ? (
{ <a className="collect-blessing__content" data-status="done">
index === 0 && (!isLogin || !isSign) && +5<br/>福气值
<span onClick={toLogin} className="collect-blessing__content"> </a>
点击<br/>签到 )
</span> : (
<span onClick={toLogin} className="collect-blessing__content">
点击<br/>签到
</span>
)
}
</>
} }
{ {
index === 1 && index === 1 &&
...@@ -281,7 +287,9 @@ class CollectBlessing extends Component { ...@@ -281,7 +287,9 @@ class CollectBlessing extends Component {
index === 4 && index === 4 &&
<a className="collect-blessing__content" onClick={handleToShowInvite}> <a className="collect-blessing__content" onClick={handleToShowInvite}>
<span>邀请链接</span> <span>邀请链接</span>
<i>已加{inviteBlessing}</i> {
inviteBlessing > 0 && <i>已加{inviteBlessing}</i>
}
</a> </a>
} }
{ {
...@@ -290,7 +298,9 @@ class CollectBlessing extends Component { ...@@ -290,7 +298,9 @@ class CollectBlessing extends Component {
className="collect-blessing__content" className="collect-blessing__content"
onClick={toSection}> onClick={toSection}>
<span>去选课</span> <span>去选课</span>
<i>已加{buyBlessing}</i> {
buyBlessing > 0 && <i>已加{buyBlessing}</i>
}
</a> </a>
} }
</div> </div>
......
...@@ -115,6 +115,7 @@ class Live extends Component { ...@@ -115,6 +115,7 @@ class Live extends Component {
tabBarInactiveTextColor={'#FFF604'} tabBarInactiveTextColor={'#FFF604'}
tabBarUnderlineStyle={{display: 'none'}} tabBarUnderlineStyle={{display: 'none'}}
initialPage={today} initialPage={today}
swipeable={false}
> >
{ {
this.props.isFormal this.props.isFormal
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
font-size: 14px; font-size: 14px;
color: $color_666; color: $color_666;
margin-top: 10px; margin-top: 10px;
line-height: 16px;
} }
.des { .des {
......
...@@ -164,8 +164,7 @@ class ExpandShare extends Component { ...@@ -164,8 +164,7 @@ class ExpandShare extends Component {
step: 2, step: 2,
helpData: data helpData: data
}) })
this.getListorData()
console.log(data)
} else if (errno === 17018 || errno === 17020) { } else if (errno === 17018 || errno === 17020) {
this.setState({ this.setState({
isShow: true, isShow: true,
......
...@@ -569,6 +569,7 @@ ...@@ -569,6 +569,7 @@
color: #fff; color: #fff;
font-size: 15px; font-size: 15px;
margin-top: 20px; margin-top: 20px;
border: none;
} }
} }
...@@ -596,6 +597,7 @@ ...@@ -596,6 +597,7 @@
border-radius: 17px; border-radius: 17px;
color: #fff; color: #fff;
font-size: 15px; font-size: 15px;
border: none;
} }
} }
......
...@@ -193,7 +193,7 @@ function PayInfo(props) { ...@@ -193,7 +193,7 @@ function PayInfo(props) {
</p> </p>
<p> <p>
<span className='payable'>已优惠:</span> <span className='payable'>已优惠:</span>
<span className='price'>¥{props.item.deposit_cut}</span> <span className='price'>¥{props.item.discount}</span>
</p> </p>
</div> </div>
......
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