Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_hjm
daiao 6 years ago
commit 639a8cef53

@ -189,7 +189,7 @@ class MemoDetail extends Component {
let filesize = item.filesize let filesize = item.filesize
attachments.push( attachments.push(
<div className="color-grey df" key={index}> <div className="color-grey df" key={index} style={{ lineHeight: '17px'}}>
<a className="color-grey "> <a className="color-grey ">
<i className="font-14 color-green iconfont icon-fujian mr8" aria-hidden="true"></i> <i className="font-14 color-green iconfont icon-fujian mr8" aria-hidden="true"></i>
</a> </a>

@ -116,7 +116,7 @@ class ShixunsHome extends Component {
} }
return ( return (
<div className="newMain clearfix backFAFAFA"> <div className="newMain clearfix backFAFAFA shixunsHome">
{this.state.updata===undefined?"":<UpgradeModals {this.state.updata===undefined?"":<UpgradeModals
{...this.state} {...this.state}
/>} />}
@ -128,6 +128,9 @@ class ShixunsHome extends Component {
<style> <style>
{ {
` `
.shixunsHome .educontent {
width: 1223px;
}
.banners{ .banners{
overflow: hidden; overflow: hidden;
} }

@ -650,8 +650,8 @@ submittojoinclass=(value)=>{
{isRender===true?<LoginDialog {isRender===true?<LoginDialog
Modifyloginvalue={()=>this.Modifyloginvalue()} Modifyloginvalue={()=>this.Modifyloginvalue()}
{...this.state}
{...this.props} {...this.props}
{...this.state}
/>:""} />:""}
{AccountProfiletype===true?<AccountProfile {AccountProfiletype===true?<AccountProfile

@ -101,7 +101,7 @@ function md_elocalStorage(editor,mdu,id){
function create_editorMD(id, width, high, placeholder, imageUrl, callback, initValue, function create_editorMD(id, width, high, placeholder, imageUrl, callback, initValue,
onchange, watch, { noStorage, showNullButton }, that) { onchange, watch, { noStorage, showNullButton, emoji }, that) {
// 还是出现了setting只有一份被共用的问题 // 还是出现了setting只有一份被共用的问题
var editorName = window.editormd(id, { var editorName = window.editormd(id, {
@ -115,7 +115,7 @@ function create_editorMD(id, width, high, placeholder, imageUrl, callback, initV
syncScrolling: "single", syncScrolling: "single",
tex: true, tex: true,
tocm: true, tocm: true,
emoji: true, emoji: !!emoji ,
taskList: true, taskList: true,
codeFold: true, codeFold: true,
searchReplace: true, searchReplace: true,
@ -266,7 +266,8 @@ export default class TPMMDEditor extends Component {
window[__editorName.id+'_'] = __editorName; window[__editorName.id+'_'] = __editorName;
}, initValue, this.onEditorChange,this.props.watch, { }, initValue, this.onEditorChange,this.props.watch, {
noStorage: this.props.noStorage, noStorage: this.props.noStorage,
showNullButton: this.props.showNullButton showNullButton: this.props.showNullButton,
emoji: this.props.emoji
}, this); }, this);
} }

@ -194,7 +194,8 @@ export default class TPMquestion extends Component {
}) })
// this.contentMdRef.current.setValue(response.data.task_pass || '') // this.contentMdRef.current.setValue(response.data.task_pass || '')
if(response.data.chooses.length===0){ if(response.data.chooses.length===0){
this.questionadd() // 新建选择题时,没法切回 ‘本关任务’ tab
// this.questionadd()
} }
this.shixunsautoHeight() this.shixunsautoHeight()

Loading…
Cancel
Save