Commit 9841f2f6 by zhanghaozhe

小课加分销

parent 9f89dd3a
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Accordion, Toast } from 'antd-mobile'; import { Accordion, Toast } from 'antd-mobile';
import { HeaderBar } from '@/common'; import { HeaderBar, CallApp} from '@/common';
import { http, getParam } from '@/utils'; import { http, getParam } from '@/utils';
import './index.scss'; import './index.scss';
import { connect } from "react-redux"; import { connect } from "react-redux";
...@@ -112,6 +112,8 @@ class PythonStudy extends Component { ...@@ -112,6 +112,8 @@ class PythonStudy extends Component {
</div> </div>
} }
<CallApp className='toapp'/>
</div> </div>
{ {
!!courseInfo.is_dist && <div className={'dist-wrapper'}> !!courseInfo.is_dist && <div className={'dist-wrapper'}>
......
...@@ -51,6 +51,21 @@ html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am- ...@@ -51,6 +51,21 @@ html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am-
background: #fff; background: #fff;
margin: 20px 10px 30px; margin: 20px 10px 30px;
} }
.toapp {
position: fixed;
right: 0;
top: 117px;
width: 82px;
height: 32px;
text-align: center;
line-height: 32px;
background: linear-gradient(-90deg, $bg_active 0%, $bg_0078FF 100%);
border-radius: 16px 0 0 16px;
font-size: 12px;
color: $white;
z-index: 9;
}
} }
.python-study__header { .python-study__header {
......
import React, {Component} from 'react'; import React, {Component} from 'react';
import {Accordion, Toast} from 'antd-mobile'; import {Accordion, Toast} from 'antd-mobile';
import {HeaderBar} from '@/common'; import {HeaderBar, CallApp} from '@/common';
import {http, getParam} from '@/utils'; import {http, getParam} from '@/utils';
import './index.scss'; import './index.scss';
import {Link} from "react-router-dom" import {Link} from "react-router-dom"
...@@ -114,6 +114,9 @@ class PythonStudy extends Component { ...@@ -114,6 +114,9 @@ class PythonStudy extends Component {
<ShareRank courseInfo={courseInfo}/> <ShareRank courseInfo={courseInfo}/>
</div> </div>
} }
<CallApp className={'toapp'}/>
<Accordion <Accordion
defaultActiveKey="0" defaultActiveKey="0"
className="python-study__stage" className="python-study__stage"
......
...@@ -50,6 +50,21 @@ html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am- ...@@ -50,6 +50,21 @@ html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am-
background: #fff; background: #fff;
margin: 20px 10px 30px; margin: 20px 10px 30px;
} }
.toapp {
position: fixed;
right: 0;
top: 117px;
width: 82px;
height: 32px;
text-align: center;
line-height: 32px;
background: linear-gradient(-90deg, $bg_active 0%, $bg_0078FF 100%);
border-radius: 16px 0 0 16px;
font-size: 12px;
color: $white;
z-index: 9;
}
} }
.python-study__header { .python-study__header {
......
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