Commit 812403e6 by xuzhenghua

tset

parent 342d712f
self.__precacheManifest = [
{
"revision": "b8e123fde720f524782a",
"url": "/static/css/purchased.4b0044ec.chunk.css"
},
{
"revision": "4e27d4d0cea7b4a2473a",
"url": "/static/css/BargainMiddlePage.9e05243b.chunk.css"
},
{
"revision": "407c337334928bf0396e",
"url": "/static/css/Classify.e3e9b348.chunk.css"
},
{
"revision": "407c337334928bf0396e",
"url": "/static/js/Classify.ff9221d4.chunk.js"
},
{
"revision": "7a7783e67dc8006530da",
"url": "/static/css/CourseList.369bce9d.chunk.css"
},
{
"revision": "7a7783e67dc8006530da",
"url": "/static/js/CourseList.9143cd5a.chunk.js"
},
{
"revision": "548446d19bb43d3558fd",
"url": "/static/css/DrawDocument.2e7d81ca.chunk.css"
},
{
"revision": "548446d19bb43d3558fd",
"url": "/static/js/DrawDocument.63014a63.chunk.js"
},
{
"revision": "89742ee4f836984fee47",
"url": "/static/css/Examination.fc9da1d2.chunk.css"
},
{
"revision": "89742ee4f836984fee47",
"url": "/static/js/Examination.f5d80e04.chunk.js"
},
{
"revision": "e38db5f999b3b7e9fd75",
"url": "/static/js/MyEdit.f788c1d3.chunk.js"
},
{
"revision": "a56dba436560cc8e4e48",
"url": "/static/css/Order.6576554c.chunk.css"
},
{
"revision": "a56dba436560cc8e4e48",
"url": "/static/js/Order.66c16bcb.chunk.js"
},
{
"revision": "6146a5379c070e40ec54",
"url": "/static/js/Orderinfo.354a1d01.chunk.js"
},
{
"revision": "5fa69f51b46ea90e6685",
"url": "/static/css/PayOrder.21570c76.chunk.css"
},
{
"revision": "5fa69f51b46ea90e6685",
"url": "/static/js/PayOrder.dd708d6a.chunk.js"
},
{
"revision": "a329f311755779087dce",
"url": "/static/css/Preferential.3b4dfe41.chunk.css"
},
{
"revision": "a329f311755779087dce",
"url": "/static/js/Preferential.a1d02020.chunk.js"
},
{
"revision": "3521843e63c3fd896e41",
"url": "/static/css/SearchResult.8711b264.chunk.css"
},
{
"revision": "3521843e63c3fd896e41",
"url": "/static/js/SearchResult.670dad10.chunk.js"
},
{
"revision": "858345bda7fa4d7abe5b",
"url": "/static/css/ShopCart.a93db4c0.chunk.css"
},
{
"revision": "858345bda7fa4d7abe5b",
"url": "/static/js/ShopCart.841dd6c1.chunk.js"
},
{
"revision": "a22bdcc3a69902f013ac",
"url": "/static/css/aist-share.bef8c404.chunk.css"
},
{
"revision": "a22bdcc3a69902f013ac",
"url": "/static/js/aist-share.c9ca71ca.chunk.js"
},
{
"revision": "2f99d9543644551ee01c",
"url": "/static/css/coupons.9ece7350.chunk.css"
},
{
"revision": "2f99d9543644551ee01c",
"url": "/static/js/coupons.bcbf0f83.chunk.js"
},
{
"revision": "a7368ad920a70824d0bb",
"url": "/static/css/detail.a913111e.chunk.css"
},
{
"revision": "a7368ad920a70824d0bb",
"url": "/static/js/detail.1e092027.chunk.js"
},
{
"revision": "094c4b2205fadf842b65",
"url": "/static/css/main.3a41fdbf.chunk.css"
},
{
"revision": "094c4b2205fadf842b65",
"url": "/static/js/main.2e5b5bc3.chunk.js"
},
{
"revision": "34ac38b8c7b55a04d491",
"url": "/static/css/myorders.3ab93c8e.chunk.css"
},
{
"revision": "34ac38b8c7b55a04d491",
"url": "/static/js/myorders.e5bc4a1a.chunk.js"
},
{
"revision": "4e27d4d0cea7b4a2473a",
"url": "/static/js/BargainMiddlePage.e5c5b7fb.chunk.js"
},
{
"revision": "b8e123fde720f524782a",
"url": "/static/js/purchased.92e79803.chunk.js"
},
{
"revision": "93e49b241ed8aa43adee",
"url": "/static/js/runtime~main.df459955.js"
},
{
"revision": "dea58bd6b6f936a01f4b",
"url": "/static/css/search.9fa57dd6.chunk.css"
},
{
"revision": "dea58bd6b6f936a01f4b",
"url": "/static/js/search.a2eb07e1.chunk.js"
},
{
"revision": "ad7eaf4c8d4fc9316e9d",
"url": "/static/css/shareposter.82081d02.chunk.css"
},
{
"revision": "ad7eaf4c8d4fc9316e9d",
"url": "/static/js/shareposter.9232c7eb.chunk.js"
},
{
"revision": "ae40da6cd16ede2baea1",
"url": "/static/css/study.50d01810.chunk.css"
},
{
"revision": "ae40da6cd16ede2baea1",
"url": "/static/js/study.78bd158c.chunk.js"
},
{
"revision": "51fa2bc9e23db5570a9e",
"url": "/static/css/togroup.49988cae.chunk.css"
},
{
"revision": "51fa2bc9e23db5570a9e",
"url": "/static/js/togroup.9320e36f.chunk.js"
},
{
"revision": "f632131a36a6ba2f85c7",
"url": "/static/css/video.d14c8276.chunk.css"
},
{
"revision": "f632131a36a6ba2f85c7",
"url": "/static/js/video.1ce71966.chunk.js"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/static/media/progress-share-bg.80011994.png"
},
{
"revision": "16274ed6be9269db6892",
"url": "/static/js/24.22a751e3.chunk.js"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/static/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "a28769ded461c87c9b78",
"url": "/static/js/25.07481e50.chunk.js"
},
{
"revision": "031f6838654b4c82a3a9",
"url": "/static/js/26.c4cc78b7.chunk.js"
},
{
"revision": "bf51ccc733319bcc56b89eec5dde1394",
"url": "/static/media/iconfont.bf51ccc7.svg"
},
{
"revision": "960353d710f6fadb0d51",
"url": "/static/js/27.fdddbdab.chunk.js"
},
{
"revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.55ad4bbc.ttf"
},
{
"revision": "6bfc27498f5006d1c505",
"url": "/static/js/28.a3e1d805.chunk.js"
},
{
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.10b7bd5b.eot"
},
{
"revision": "6274ee7c030b9380d60a",
"url": "/static/js/29.b8b40706.chunk.js"
},
{
"revision": "d9bc424b15d521a0c979da25ea02c1c9",
"url": "/static/media/iconfont.d9bc424b.woff"
},
{
"revision": "834e5417d675790bc9c6",
"url": "/static/js/30.5bd56f41.chunk.js"
},
{
"revision": "834e5417d675790bc9c6",
"url": "/static/css/30.bc06dce4.chunk.css"
},
{
"revision": "6274ee7c030b9380d60a",
"url": "/static/css/29.ecbb6f9a.chunk.css"
},
{
"revision": "6bfc27498f5006d1c505",
"url": "/static/css/28.5ed15c7e.chunk.css"
},
{
"revision": "960353d710f6fadb0d51",
"url": "/static/css/27.694b4628.chunk.css"
},
{
"revision": "a28769ded461c87c9b78",
"url": "/static/css/25.1b3a6258.chunk.css"
},
{
"revision": "16274ed6be9269db6892",
"url": "/static/css/24.4a7b6220.chunk.css"
},
{
"revision": "5522246aed5bd98c822c97dfbbdb372d",
"url": "/index.html"
}
];
\ No newline at end of file
...@@ -22,7 +22,7 @@ class BargainMiddlePage extends Component { ...@@ -22,7 +22,7 @@ class BargainMiddlePage extends Component {
isShowOverlay: false, isShowOverlay: false,
isOriginator: '', isOriginator: '',
kanjiaIcon: require('./image/kanjia_icon.png'), kanjiaIcon: require('./image/kanjia_icon.png'),
courseList: '', // 所有砍价课程 courseList: [], // 所有砍价课程
data: '', data: '',
bargainData: '', bargainData: '',
limitPeople: 0, limitPeople: 0,
......
...@@ -56,7 +56,7 @@ class UseCoupon extends PureComponent { ...@@ -56,7 +56,7 @@ class UseCoupon extends PureComponent {
}) })
.then(res => { .then(res => {
const data = res.data const data = res.data
if (data.code === 200) { if (data.code === 0) {
const coupon = data.data const coupon = data.data
......
...@@ -81,7 +81,7 @@ class OutLine extends Component { ...@@ -81,7 +81,7 @@ class OutLine extends Component {
6-可试听但无试听权限 6-可试听但无试听权限
*/} */}
{ // 试听 { // 试听
!introduce.is_aist && item.class_status === 7 && !introduce.is_aist && item.class_status === 6 &&
<span className='btn-right-10 audition' <span className='btn-right-10 audition'
onClick={this.props.toAudition}>试听 onClick={this.props.toAudition}>试听
<i className='iconfont iconcelluar'></i> <i className='iconfont iconcelluar'></i>
......
...@@ -5,6 +5,8 @@ import classnames from 'classnames' ...@@ -5,6 +5,8 @@ import classnames from 'classnames'
import { Tag } from '../../common' import { Tag } from '../../common'
import OpenApp from './OpenApp' import OpenApp from './OpenApp'
import { http, html, htmlDecode} from '@/utils' import { http, html, htmlDecode} from '@/utils'
import { config } from 'rxjs';
import { Object } from 'core-js';
export default class Examination extends PureComponent { export default class Examination extends PureComponent {
...@@ -20,9 +22,13 @@ export default class Examination extends PureComponent { ...@@ -20,9 +22,13 @@ export default class Examination extends PureComponent {
componentDidMount() { componentDidMount() {
http.get(`${API.home}/m/dailyQuestion`) http.get(`${API.home}/m/dailyQuestion`)
.then(res => { .then(res => {
this.setState({ const { data: { data, code } } = res;
questionData: res.data.data if(code === 200) {
}) const newData = Object.assign(data, {analysis: data.analysis.length> 0? data.analysis.split('\n'): []})
this.setState({
questionData: newData
})
}
}) })
} }
...@@ -86,7 +92,7 @@ const Answer = React.memo(({content, isShowAnswer}) => { ...@@ -86,7 +92,7 @@ const Answer = React.memo(({content, isShowAnswer}) => {
return ( return (
<div className={classnames('answer', {scale: isShowAnswer})}> <div className={classnames('answer', {scale: isShowAnswer})}>
<p className='legend'>解析</p> <p className='legend'>解析</p>
<p className='content' dangerouslySetInnerHTML={{__html: content}}/> {content.length>0 && content.map((item, index) => <p key={index} className='content' dangerouslySetInnerHTML={{__html: item}}/>)}
</div> </div>
) )
}) })
...@@ -156,7 +156,7 @@ class SharePoster extends Component { ...@@ -156,7 +156,7 @@ class SharePoster extends Component {
// 获取二维码 // 获取二维码
getCodeWe() { getCodeWe() {
let _this = this let _this = this
let qrCodeLink = `/detail/${getParam('courseId')}/${getParam('dist_code')}` let qrCodeLink = `http://m.julyedu.com/detail/${getParam('courseId')}/${getParam('dist_code')}`
return new Promise(resolve => { return new Promise(resolve => {
QRCode.toDataURL(qrCodeLink, {}, function (err, url) { QRCode.toDataURL(qrCodeLink, {}, function (err, url) {
_this.setState({ _this.setState({
......
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