From a4ef35bb323b5f8300f15a4eb604d61ff39a194a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 17 十二月 2020 17:35:39 +0800 Subject: [PATCH] 2020-12-17 --- src/menu/components/card/data-card/wrapsetting/settingform/index.jsx | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/src/menu/components/card/data-card/wrapsetting/settingform/index.jsx b/src/menu/components/card/data-card/wrapsetting/settingform/index.jsx index fe1be9d..2ae6842 100644 --- a/src/menu/components/card/data-card/wrapsetting/settingform/index.jsx +++ b/src/menu/components/card/data-card/wrapsetting/settingform/index.jsx @@ -165,6 +165,41 @@ </Col> : null} {config.subtype !== 'tablecard' ? <Col span={12}> <Form.Item label={ + <Tooltip placement="topLeft" title="璁剧疆涓哄眳涓榻愭垨鍙冲榻愶紝鍙湪鍗$墖涓�1琛屾椂鏈夋晥銆�"> + <Icon type="question-circle" /> + 鍗$墖鎺掑垪 + </Tooltip> + }> + {getFieldDecorator('cardFloat', { + initialValue: wrap.cardFloat || 'left' + })( + <Radio.Group style={{whiteSpace: 'nowrap'}}> + <Radio key="left" value="left"> 宸﹀榻� </Radio> + <Radio key="center" value="center"> 灞呬腑 </Radio> + <Radio key="right" value="right"> 鍙冲榻� </Radio> + </Radio.Group> + )} + </Form.Item> + </Col> : null} + {config.subtype !== 'tablecard' ? <Col span={12}> + <Form.Item label={ + <Tooltip placement="topLeft" title="榧犳爣鎮诞浜庡崱鐗囦笂鏂规椂锛屽崱鐗囨斁澶�1.1鍊嶃��"> + <Icon type="question-circle" /> + 鍗$墖鏀惧ぇ + </Tooltip> + }> + {getFieldDecorator('scale', { + initialValue: wrap.scale || 'false' + })( + <Radio.Group> + <Radio key="false" value="false"> 鍚� </Radio> + <Radio key="true" value="true"> 鏄� </Radio> + </Radio.Group> + )} + </Form.Item> + </Col> : null} + {config.subtype !== 'tablecard' ? <Col span={12}> + <Form.Item label={ <Tooltip placement="topLeft" title="鍗$墖澶栬竟妗嗙殑鏈�灏忛珮搴︼紝鎺у埗鏁版嵁鍔犺浇鏃剁粍浠剁殑鍗犱綅銆�"> <Icon type="question-circle" /> 鏈�灏忛珮搴� -- Gitblit v1.8.0