diff --git a/spug_web/src/pages/deploy/app/Ext1Setup3.js b/spug_web/src/pages/deploy/app/Ext1Setup3.js index 2f6abe4..f16103c 100644 --- a/spug_web/src/pages/deploy/app/Ext1Setup3.js +++ b/spug_web/src/pages/deploy/app/Ext1Setup3.js @@ -6,6 +6,7 @@ import React from 'react'; import { observer } from 'mobx-react'; import { Form, Row, Col, Button, Radio, Icon, message } from "antd"; +import { LinkButton } from 'components'; import Editor from 'react-ace'; import 'ace-builds/src-noconflict/mode-text'; import 'ace-builds/src-noconflict/mode-sh'; @@ -19,7 +20,8 @@ class Ext1Setup3 extends React.Component { constructor(props) { super(props); this.state = { - loading: false + loading: false, + full: '' } } @@ -38,52 +40,78 @@ class Ext1Setup3 extends React.Component { }; FilterLabel = (props) => ( -
- 文件过滤: +
+ 文件过滤: store.deploy['filter_rule']['type'] = e.target.value}> 包含 排除 + {this.state.full === '1' ? ( + this.setState({full: ''})}>退出全屏 + ) : ( + this.setState({full: '1'})}>全屏 + )} +
+ ); + + NormalLabel = (props) => ( +
+ {props.title}: + {this.state.full ? ( + this.setState({full: ''})}>退出全屏 + ) : ( + this.setState({full: props.id})}>全屏 + )}
); render() { const info = store.deploy; + const {full} = this.state; return ( - }> + }> info['filter_rule']['data'] = v} style={{border: '1px solid #e8e8e8'}}/> - + }> info['hook_pre_server'] = v} style={{border: '1px solid #e8e8e8'}}/> - + }> info['hook_pre_host'] = v} @@ -105,34 +133,43 @@ class Ext1Setup3 extends React.Component {
- + }> info['custom_envs'] = v} style={{border: '1px solid #e8e8e8'}}/> - + }> info['hook_post_server'] = v} style={{border: '1px solid #e8e8e8'}}/> - + }> info['hook_post_host'] = v} diff --git a/spug_web/src/pages/deploy/app/index.module.css b/spug_web/src/pages/deploy/app/index.module.css index 58ac1a4..4424488 100644 --- a/spug_web/src/pages/deploy/app/index.module.css +++ b/spug_web/src/pages/deploy/app/index.module.css @@ -57,4 +57,14 @@ .delAction:hover { border-color: rgb(255, 96, 59); color: rgb(255, 96, 59); +} + +.fullScreen { + background-color: #fff; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 999; } \ No newline at end of file