|
|
|
@ -224,6 +224,10 @@ class VNCContainer extends Component {
|
|
|
|
|
>
|
|
|
|
|
<style>{`
|
|
|
|
|
/* 评测结果 */
|
|
|
|
|
.codeEvaluateDrawer{
|
|
|
|
|
// position: absolute;
|
|
|
|
|
// bottom: 84px;
|
|
|
|
|
}
|
|
|
|
|
.codeEvaluateDrawer #game_test_set_results {
|
|
|
|
|
height: 198px;
|
|
|
|
|
}
|
|
|
|
@ -233,7 +237,10 @@ class VNCContainer extends Component {
|
|
|
|
|
.codeEvaluateDrawer .ant-drawer-content-wrapper, .codeEvaluateDrawer .ant-drawer-mask {
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.codeEvaluateDrawer .ant-drawer-content-wrapper .ant-drawer-content{
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: rgb(5, 16, 26) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.codeEvaluateFloatButton {
|
|
|
|
|
bottom: 180px !important;
|
|
|
|
@ -345,7 +352,8 @@ class VNCContainer extends Component {
|
|
|
|
|
className={'codeEvaluateDrawer'}
|
|
|
|
|
placement="bottom"
|
|
|
|
|
getContainer={false}
|
|
|
|
|
style={{ position: 'absolute', bottom: '-25px', zIndex: 1 }}
|
|
|
|
|
// style={{ position: 'absolute', bottom: '-25px', zIndex: 1 }}
|
|
|
|
|
style={{ position: 'absolute', bottom: '50px', zIndex: 1 }}
|
|
|
|
|
afterVisibleChange={(visible) => {
|
|
|
|
|
if (visible) {
|
|
|
|
|
const canvas = $('.vncDisply canvas')[0]
|
|
|
|
@ -356,16 +364,16 @@ class VNCContainer extends Component {
|
|
|
|
|
>
|
|
|
|
|
{ this.props.codeEvaluate }
|
|
|
|
|
</Drawer>
|
|
|
|
|
{/* <FloatButton onClick={this.swtichBottomDrawer}
|
|
|
|
|
<FloatButton onClick={this.swtichBottomDrawer}
|
|
|
|
|
className="codeEvaluateFloatButton"
|
|
|
|
|
>测试集</FloatButton> */}
|
|
|
|
|
<div
|
|
|
|
|
>测试集</FloatButton>
|
|
|
|
|
{/* <div
|
|
|
|
|
className={_classCtx}
|
|
|
|
|
onClick={this.swtichBottomDrawer}
|
|
|
|
|
>
|
|
|
|
|
> */}
|
|
|
|
|
{/* <span className="iconfont icon-shangjiantou btn-arrow"></span> */}
|
|
|
|
|
<span className={_classes}></span>
|
|
|
|
|
</div>
|
|
|
|
|
{/* <span className={_classes}></span> */}
|
|
|
|
|
{/* </div> */}
|
|
|
|
|
</VNCDisplay>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|