From 076b9bc8048a9fbb74d24ef959f412f2ace65edf Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 26 八月 2021 16:27:26 +0800
Subject: [PATCH] 2021-08-26

---
 src/templates/sharecomponent/columncomponent/index.jsx           |    2 
 src/views/mobdesign/index.scss                                   |   36 ++++++-----
 src/views/pcdesign/index.scss                                    |   35 ++++++-----
 src/views/pcdesign/index.jsx                                     |   28 +++++----
 src/templates/sharecomponent/columncomponent/dragcolumn/card.jsx |    1 
 src/menu/components/table/normal-table/columns/index.jsx         |    1 
 src/tabviews/custom/components/card/data-card/index.scss         |    2 
 src/views/mobdesign/index.jsx                                    |   28 +++++----
 src/menu/datasource/verifycard/index.jsx                         |    2 
 9 files changed, 74 insertions(+), 61 deletions(-)

diff --git a/src/menu/components/table/normal-table/columns/index.jsx b/src/menu/components/table/normal-table/columns/index.jsx
index cf22a7d..ee4f5ed 100644
--- a/src/menu/components/table/normal-table/columns/index.jsx
+++ b/src/menu/components/table/normal-table/columns/index.jsx
@@ -158,6 +158,7 @@
       return (
         <td style={{...style, minWidth: column.Width || 100}} className={className}>
           {column.field || (column.type === 'index' ? '$Index' : '')}
+          {column.Hide === 'true' ? <Icon style={{marginLeft: '5px', color: 'orange', fontSize: '12px'}} type="close-circle" /> : null}
           {column.marks && column.marks.length ? <Icon className="profile" type="ant-design"/> : null}
         </td>
       )
diff --git a/src/menu/datasource/verifycard/index.jsx b/src/menu/datasource/verifycard/index.jsx
index 7a8e62e..e98c763 100644
--- a/src/menu/datasource/verifycard/index.jsx
+++ b/src/menu/datasource/verifycard/index.jsx
@@ -707,7 +707,7 @@
               type="fields"
               updatefield={this.updatefields}
             />
-            <Icon type="copy" title="澶嶅埗瀛楁" onClick={this.copyColumns} style={{position: 'absolute', cursor: 'pointer', zIndex: 1, top: '-35px', right: '0px', color: '#1890ff'}} />
+            <Icon type="copy" title="浠ラ�楀彿鎷兼帴褰㈠紡澶嶅埗瀛楁" onClick={this.copyColumns} style={{position: 'absolute', cursor: 'pointer', zIndex: 1, top: '-35px', right: '0px', color: '#1890ff'}} />
             <EditTable actions={['edit', 'move', 'copy', 'del', 'clear']} type="datasourcefield" data={columns} columns={colColumns} onChange={(columns) => this.setState({columns})}/>
           </TabPane>
           <TabPane tab={
diff --git a/src/tabviews/custom/components/card/data-card/index.scss b/src/tabviews/custom/components/card/data-card/index.scss
index 9e0798f..e8be8a4 100644
--- a/src/tabviews/custom/components/card/data-card/index.scss
+++ b/src/tabviews/custom/components/card/data-card/index.scss
@@ -122,7 +122,7 @@
     }
   }
   .ant-pagination {
-    margin: 10px;
+    padding: 10px;
     text-align: right;
   }
   .trigger-button {
diff --git a/src/templates/sharecomponent/columncomponent/dragcolumn/card.jsx b/src/templates/sharecomponent/columncomponent/dragcolumn/card.jsx
index f98d56e..9d6cb95 100644
--- a/src/templates/sharecomponent/columncomponent/dragcolumn/card.jsx
+++ b/src/templates/sharecomponent/columncomponent/dragcolumn/card.jsx
@@ -51,6 +51,7 @@
             {showfield ?
               <div className="ant-table-column-fields">
                 <span className="ant-table-column-title">{card.type === 'colspan' ? card.subfield : card.field}</span>
+                {card.Hide === 'true' ? <Icon style={{marginLeft: '5px', color: 'orange', fontSize: '12px'}} type="close-circle" /> : null}
               </div> : null
             }
           </span>
diff --git a/src/templates/sharecomponent/columncomponent/index.jsx b/src/templates/sharecomponent/columncomponent/index.jsx
index a37af66..50d7df2 100644
--- a/src/templates/sharecomponent/columncomponent/index.jsx
+++ b/src/templates/sharecomponent/columncomponent/index.jsx
@@ -26,7 +26,7 @@
   state = {
     dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     columnlist: null,    // 鏄剧ず鍒�
-    showField: false,    // 鏄剧ず鍒楀瓧娈�
+    showField: true,     // 鏄剧ず鍒楀瓧娈�
     modaltype: '',       // 妯℃�佹鎺у埗
     card: null           // 缂栬緫涓厓绱�
   }
diff --git a/src/views/mobdesign/index.jsx b/src/views/mobdesign/index.jsx
index 1cb0f99..762e998 100644
--- a/src/views/mobdesign/index.jsx
+++ b/src/views/mobdesign/index.jsx
@@ -1350,19 +1350,21 @@
                 {controlshow ? <Icon onClick={() => {this.setState({controlshow: false})}} type="double-right" /> : null}
                 {!controlshow ? <Icon onClick={() => {this.setState({controlshow: true})}} type="double-left" /> : null}
               </div>
-              <Button type="primary" onClick={this.submitConfig} loading={menuloading}>{dict['mob.save']}</Button>
-              <Switch className="big" checkedChildren={dict['mob.enable']} unCheckedChildren={dict['mob.disable']} checked={config && config.enabled} onChange={this.onEnabledChange} />
-              <CreateView resetmenu={this.getAppMenus} />
-              <PasteController type="menu" Tab={null} insert={this.insert} />
-              <StyleCombControlButton menu={config} />
-              <SysInterface config={config} updateConfig={this.updateConfig}/>
-              <PictureController/>
-              <Quotecomponent config={config} updateConfig={this.updateConfig}/>
-              <Button className="mk-border-green" icon="home" onClick={this.setHomeView}>璁句负棣栭〉</Button>
-              <Button className="mk-border-danger" icon="redo" onClick={this.refreshView}>寮哄埗鍒锋柊</Button>
-              <ReplaceField type="custom" config={config} updateConfig={this.resetConfig}/>
-              <Transfer MenuID={MenuId} />
-              <Button type="default" onClick={this.closeView}>鍏抽棴</Button>
+              <div className="wrap">
+                <Button type="primary" onClick={this.submitConfig} loading={menuloading}>{dict['mob.save']}</Button>
+                <Switch className="big" checkedChildren={dict['mob.enable']} unCheckedChildren={dict['mob.disable']} checked={config && config.enabled} onChange={this.onEnabledChange} />
+                <CreateView resetmenu={this.getAppMenus} />
+                <PasteController type="menu" Tab={null} insert={this.insert} />
+                <StyleCombControlButton menu={config} />
+                <SysInterface config={config} updateConfig={this.updateConfig}/>
+                <PictureController/>
+                <Quotecomponent config={config} updateConfig={this.updateConfig}/>
+                <Button className="mk-border-green" icon="home" onClick={this.setHomeView}>璁句负棣栭〉</Button>
+                <Button className="mk-border-danger" icon="redo" onClick={this.refreshView}>寮哄埗鍒锋柊</Button>
+                <ReplaceField type="custom" config={config} updateConfig={this.resetConfig}/>
+                <Transfer MenuID={MenuId} />
+                <Button type="default" onClick={this.closeView}>鍏抽棴</Button>
+              </div>
             </div>
             <div className={'menu-body menu-view' + (menuloading ? 'saving' : '')}>
               {config && !comloading ? <div className="mob-shell" style={{width: window.GLOB.shellWidth, height: window.GLOB.shellHeight}}>
diff --git a/src/views/mobdesign/index.scss b/src/views/mobdesign/index.scss
index e8c5144..ca8fe66 100644
--- a/src/views/mobdesign/index.scss
+++ b/src/views/mobdesign/index.scss
@@ -151,11 +151,9 @@
     right: 0;
     top: 48px;
     height: calc(100vh - 48px);
-    padding: 20px 10px;
     background: #ffffff;
     z-index: 10;
     transition: right 0.3s;
-    overflow-y: auto;
 
     .draw {
       position: absolute;
@@ -189,21 +187,27 @@
       width: 22px;
       height: 22px;
     }
+    .wrap {
+      height: 100%;
+      padding: 20px 10px;
+      overflow-y: auto;
+    }
+    .wrap::-webkit-scrollbar {
+      width: 2px;
+    }
+    .wrap::-webkit-scrollbar-thumb {
+      border-radius: 5px;
+      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
+      background: rgba(0, 0, 0, 0.08);
+    }
+    .wrap::-webkit-scrollbar-track {
+      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
+      border-radius: 3px;
+      border: 1px solid rgba(0, 0, 0, 0.07);
+      background: rgba(0, 0, 0, 0);
+    }
   }
-  .menu-control::-webkit-scrollbar {
-    width: 2px;
-  }
-  .menu-control::-webkit-scrollbar-thumb {
-    border-radius: 5px;
-    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
-    background: rgba(0, 0, 0, 0.08);
-  }
-  .menu-control::-webkit-scrollbar-track {
-    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
-    border-radius: 3px;
-    border: 1px solid rgba(0, 0, 0, 0.07);
-    background: rgba(0, 0, 0, 0);
-  }
+  
   .menu-control.hidden {
     right: -130px;
   }
diff --git a/src/views/pcdesign/index.jsx b/src/views/pcdesign/index.jsx
index bc5688a..b54bdbc 100644
--- a/src/views/pcdesign/index.jsx
+++ b/src/views/pcdesign/index.jsx
@@ -1582,19 +1582,21 @@
                 {controlshow ? <Icon onClick={() => {sessionStorage.setItem('controlshow', 'false'); this.setState({controlshow: false})}} type="double-right" /> : null}
                 {!controlshow ? <Icon onClick={() => {sessionStorage.setItem('controlshow', 'true'); this.setState({controlshow: true})}} type="double-left" /> : null}
               </div>
-              <Button type="primary" onClick={this.submitConfig} loading={menuloading}>{dict['mob.save']}</Button>
-              <Switch className="big" checkedChildren={dict['mob.enable']} unCheckedChildren={dict['mob.disable']} checked={config && config.enabled} onChange={this.onEnabledChange} />
-              <CreateView resetmenu={this.getAppMenus} />
-              <PasteController type="menu" Tab={null} insert={this.insert} />
-              <StyleCombControlButton menu={config} />
-              <SysInterface config={config} updateConfig={this.updateConfig}/>
-              <PictureController/>
-              <Quotecomponent config={config} updateConfig={this.updateConfig}/>
-              <Button className="mk-border-green" icon="home" onClick={this.setHomeView}>璁句负棣栭〉</Button>
-              <Button className="mk-border-danger" icon="redo" onClick={this.refreshView}>寮哄埗鍒锋柊</Button>
-              <ReplaceField type="custom" config={config} updateConfig={this.resetConfig}/>
-              <Transfer MenuID={MenuId} />
-              <Button type="default" onClick={this.closeView}>鍏抽棴</Button>
+              <div className="wrap">
+                <Button type="primary" onClick={this.submitConfig} loading={menuloading}>{dict['mob.save']}</Button>
+                <Switch className="big" checkedChildren={dict['mob.enable']} unCheckedChildren={dict['mob.disable']} checked={config && config.enabled} onChange={this.onEnabledChange} />
+                <CreateView resetmenu={this.getAppMenus} />
+                <PasteController type="menu" Tab={null} insert={this.insert} />
+                <StyleCombControlButton menu={config} />
+                <SysInterface config={config} updateConfig={this.updateConfig}/>
+                <PictureController/>
+                <Quotecomponent config={config} updateConfig={this.updateConfig}/>
+                <Button className="mk-border-green" icon="home" onClick={this.setHomeView}>璁句负棣栭〉</Button>
+                <Button className="mk-border-danger" icon="redo" onClick={this.refreshView}>寮哄埗鍒锋柊</Button>
+                <ReplaceField type="custom" config={config} updateConfig={this.resetConfig}/>
+                <Transfer MenuID={MenuId} />
+                <Button type="default" onClick={this.closeView}>鍏抽棴</Button>
+              </div>
             </div>
             <div className={'menu-body menu-view' + (menuloading ? 'saving' : '')}>
               {config && !comloading ? <MenuShell menu={config} handleList={this.updateConfig} /> : null}
diff --git a/src/views/pcdesign/index.scss b/src/views/pcdesign/index.scss
index 65ede7e..8b4d1bd 100644
--- a/src/views/pcdesign/index.scss
+++ b/src/views/pcdesign/index.scss
@@ -128,12 +128,10 @@
     right: 0;
     top: 0px;
     height: 100vh;
-    padding: 20px 10px;
     background: #ffffff;
     z-index: 10;
     transition: right 0.3s;
     box-shadow: 0px 0px 5px #bcbcbc;
-    overflow-y: auto;
 
     .draw {
       position: absolute;
@@ -166,20 +164,25 @@
       width: 22px;
       height: 22px;
     }
-  }
-  .menu-control::-webkit-scrollbar {
-    width: 2px;
-  }
-  .menu-control::-webkit-scrollbar-thumb {
-    border-radius: 5px;
-    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
-    background: rgba(0, 0, 0, 0.08);
-  }
-  .menu-control::-webkit-scrollbar-track {
-    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
-    border-radius: 3px;
-    border: 1px solid rgba(0, 0, 0, 0.07);
-    background: rgba(0, 0, 0, 0);
+    .wrap {
+      height: 100%;
+      padding: 20px 10px;
+      overflow-y: auto;
+    }
+    .wrap::-webkit-scrollbar {
+      width: 2px;
+    }
+    .wrap::-webkit-scrollbar-thumb {
+      border-radius: 5px;
+      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
+      background: rgba(0, 0, 0, 0.08);
+    }
+    .wrap::-webkit-scrollbar-track {
+      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
+      border-radius: 3px;
+      border: 1px solid rgba(0, 0, 0, 0.07);
+      background: rgba(0, 0, 0, 0);
+    }
   }
   .menu-control.hidden {
     right: -130px;

--
Gitblit v1.8.0