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/stylecontroller/index.jsx |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/menu/stylecontroller/index.jsx b/src/menu/stylecontroller/index.jsx
index 2a89594..dd478b6 100644
--- a/src/menu/stylecontroller/index.jsx
+++ b/src/menu/stylecontroller/index.jsx
@@ -168,6 +168,13 @@
     this.updateStyle({backgroundColor: val})
   }
 
+  /**
+   * @description 淇敼闃村奖棰滆壊 锛岄鑹叉帶浠�
+   */
+  changeShadowColor = (val) => {
+    this.updateStyle({shadow: val})
+  }
+
   imgChange = (list) => {
     if (list[0] && list[0].response) {
       this.setState({
@@ -503,6 +510,17 @@
                   </Form.Item>
                 </Col>
               </Panel> : null}
+              {options.includes('shadow') ? <Panel header="闃村奖" key="shadow">
+                <Col span={24}>
+                  <Form.Item
+                    colon={false}
+                    label={<Icon title="闃村奖棰滆壊" type="bg-colors" />}
+                    labelCol={{xs: { span: 24 }, sm: { span: 4 }}} wrapperCol={ {xs: { span: 24 }, sm: { span: 20 }} }
+                  >
+                    <ColorSketch value={card.shadow || 'transparent'} onChange={this.changeShadowColor} />
+                  </Form.Item>
+                </Col>
+              </Panel> : null}
               {options.includes('margin') ? <Panel header="澶栬竟璺�" key="margin">
                 <Col span={24}>
                   <Form.Item

--
Gitblit v1.8.0