From 91e232bb0b910f3670bdbccd65cc218d55e1eda9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 06 十二月 2022 16:08:20 +0800 Subject: [PATCH] Merge branch 'develop' --- src/menu/stylecontroller/index.jsx | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/menu/stylecontroller/index.jsx b/src/menu/stylecontroller/index.jsx index 736abb5..80cde31 100644 --- a/src/menu/stylecontroller/index.jsx +++ b/src/menu/stylecontroller/index.jsx @@ -911,6 +911,20 @@ </Form.Item> </Col> </Panel> : null} + {options.includes('display') ? <Panel header="鏄剧ず" key="display"> + <Col span={24}> + <Form.Item + colon={false} + label={<SwapOutlined title="娴姩"/>} + labelCol={{xs: { span: 24 }, sm: { span: 4 }}} wrapperCol={ {xs: { span: 24 }, sm: { span: 20 }} } + > + <Radio.Group style={{whiteSpace: 'nowrap'}} defaultValue={card.display || 'block'} onChange={(e) => this.changeNormalStyle(e.target.value, 'display')}> + <Radio value="block">鍧楃骇鍏冪礌</Radio> + <Radio value="inline-block">琛屽唴鍧楀厓绱�</Radio> + </Radio.Group> + </Form.Item> + </Col> + </Panel> : null} </Collapse> : null} </Form> <div style={{textAlign: 'right'}}> -- Gitblit v1.8.0