Commit f9a343ad by xuzhenghua

春节banner

parent 966844b6
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -328,7 +328,7 @@ class App extends Component { ...@@ -328,7 +328,7 @@ class App extends Component {
return <> return <>
<Routes/> <Routes/>
<Link className={'year19-index'} to="/year/yearindex"> <Link className={'year19-index'} to="/year/yearindex">
<img src="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/gift-package.png" alt=""/> <img src="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/pc-yearindex.png" alt=""/>
</Link> </Link>
</> </>
} }
......
...@@ -672,6 +672,16 @@ class YearCourse extends Component { ...@@ -672,6 +672,16 @@ class YearCourse extends Component {
> >
<div className="coupon-course__footer"> <div className="coupon-course__footer">
{ {
item.is_vip == 1 &&
<a className="btn big-course" onClick={() => this.toQQque()}>
首购¥99
</a>
}
{
item.is_vip == 0 &&
<>
{
item.is_buy == 1 && item.is_buy == 1 &&
<a <a
onClick={() => this.toCourse(item.course_id)} onClick={() => this.toCourse(item.course_id)}
...@@ -685,6 +695,8 @@ class YearCourse extends Component { ...@@ -685,6 +695,8 @@ class YearCourse extends Component {
className="btn big-course" className="btn big-course"
>{item.is_audition == 1 ? '免费试听': '抢团报名额'}</a> >{item.is_audition == 1 ? '免费试听': '抢团报名额'}</a>
} }
</>
}
</div> </div>
</CourseItem> </CourseItem>
)) ))
......
...@@ -29,7 +29,7 @@ export default class index extends Component { ...@@ -29,7 +29,7 @@ export default class index extends Component {
userInfo: {}, userInfo: {},
isAppUpdate: false, isAppUpdate: false,
showMark: false, showMark: false,
banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_banner_bj%402x.png' banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/new-year/m-banner.png'
} }
componentDidMount() { componentDidMount() {
...@@ -126,7 +126,7 @@ export default class index extends Component { ...@@ -126,7 +126,7 @@ export default class index extends Component {
}) })
} else { } else {
this.setState({ this.setState({
banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_banner_bj%402x.png', banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/new-year/m-banner.png',
}) })
} }
} else { } else {
......
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
} }
.banner-treasure__decorate { .banner-treasure__decorate {
height: 35px; height: 20px;
background-size: cover; //background-size: cover;
background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_nv_bj%402x.png'); //background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_nv_bj%402x.png');
} }
.sub__code_container { .sub__code_container {
......
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