video_transcode
caicai8 5 years ago
parent 8eb6535427
commit 254ba8ed78

@ -435,7 +435,7 @@ a.white-btn.use_scope-btn:hover{
.maxwidth190{max-width: 190px; color:#666666;font-size: 14px;} .maxwidth190{max-width: 190px; color:#666666;font-size: 14px;}
.color05101A{color:#05101A;} .color05101A{color:#05101A;}
.liactive{border-left: 1px solid #4CACFF;} .liactive{border-left: 1px solid #4CACFF;}
.ant-btn-lg{height: 39px;}
.bannername{ .bannername{
max-width: 907px; max-width: 907px;
overflow: hidden; overflow: hidden;

@ -112,7 +112,7 @@ function RecordDetail (props) {
<span className="status_label pass_case" style={{ display: [-1, 0, 2, 5].includes(detail.status) ? 'inline-block' : 'none'}}> <span className="status_label pass_case" style={{ display: [-1, 0, 2, 5].includes(detail.status) ? 'inline-block' : 'none'}}>
<span className="status_label_sub">{detail.pass_sets_count}</span> <span className="status_label_sub">{detail.pass_sets_count}</span>
<span className="pass_case_span"> / {detail.set_count}</span> <span className="pass_case_span"> / {detail.set_count}</span>
个通过测试用例 个通过测试用例
</span> </span>
</div> </div>
<div className="result_error_area"> <div className="result_error_area">
@ -134,9 +134,9 @@ function RecordDetail (props) {
<MonacoEditor <MonacoEditor
height="100%" height="100%"
width="100%" width="100%"
className="code_area_Style"
language={(detail.language && detail.language.toLowerCase()) || ''} language={(detail.language && detail.language.toLowerCase()) || ''}
value={detail.code || ''} value={detail.code || ''}
theme="dark"
readOnly={true} readOnly={true}
/> />
</div> </div>

@ -1,5 +1,19 @@
@import '../split_pane_resizer.scss'; @import '../split_pane_resizer.scss';
.result_code_area .monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input{
background-color: #f9f9f9!important;
}
.result_code_area .monaco-editor .line-numbers{
color: #999!important;
}
.result_code_area .monaco-editor .current-line ~ .line-numbers {
color: #0b216f!important;
}
.result_code_area .minimap-decorations-layer{
background: rgba(225,225,225,0.2)!important;
}
.result_code_area .monaco-editor .margin{
background-color: #eee!important;
}
.record_detail_area{ .record_detail_area{
background: #fff; background: #fff;
.record_detail_ctx{ .record_detail_ctx{

@ -143,7 +143,7 @@ class ChoquesEditor extends Component{
} }
} }
if(!answerArray || answerArray.length == 0) { if(!answerArray || answerArray.length == 0) {
this.props.showNotification('请先点击选择本选择题的正确选项'); this.props.showNotification('请设置本题的正确答案点击选项A/B...即可完成设置');
return editordata; return editordata;
} }
if(!answerArray || answerArray.length < 2) { if(!answerArray || answerArray.length < 2) {

@ -369,7 +369,6 @@ class Contentpart extends Component {
</style> </style>
<div className="xaxisreverseorder"> <div className="xaxisreverseorder">
{ {
defaultActiveKey===0||defaultActiveKey==="0"?
isysladmins===true||is_teacher===true? isysladmins===true||is_teacher===true?
this.props.Isitapopup&&this.props.Isitapopup==="true"? this.props.Isitapopup&&this.props.Isitapopup==="true"?
"" ""
@ -380,7 +379,6 @@ class Contentpart extends Component {
</div> </div>
</a> </a>
:"" :""
:""
} }
{item_type==="PROGRAM"? {item_type==="PROGRAM"?
@ -400,7 +398,6 @@ class Contentpart extends Component {
{ {
defaultActiveKey===0||defaultActiveKey==="0"?
this.props.Isitapopup&&this.props.Isitapopup==="true"? this.props.Isitapopup&&this.props.Isitapopup==="true"?
<Search <Search
style={isysladmins===true||is_teacher===true?{ marginRight:"0px"}:{marginRight:"0px"}} style={isysladmins===true||is_teacher===true?{ marginRight:"0px"}:{marginRight:"0px"}}
@ -419,14 +416,6 @@ class Contentpart extends Component {
size="large" size="large"
onInput={(e)=>this.props.setdatafunsval(e)} onInput={(e)=>this.props.setdatafunsval(e)}
onSearch={ (value)=>this.props.setdatafuns(value)} /> onSearch={ (value)=>this.props.setdatafuns(value)} />
:
<Search
className={"xaxisreverseorder searchwidth"}
placeholder="请输入题目名称、内容"
enterButton
size="large"
onInput={(e)=>this.props.setdatafunsval(e)}
onSearch={ (value)=>this.props.setdatafuns(value)} />
} }
</div> </div>

@ -156,7 +156,7 @@ class SingleEditor extends Component{
} }
if(!answerArray || answerArray.length == 0) { if(!answerArray || answerArray.length == 0) {
this.props.showNotification('请先点击选择本选择题的正确选项'); this.props.showNotification('请设置本题的正确答案点击选项A/B...即可完成设置');
return editordata; return editordata;
} }

Loading…
Cancel
Save