From e1d8b67d9219f1631e855542155d6db21aa31a97 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 10 七月 2024 14:23:38 +0800 Subject: [PATCH] 2024-07-10 --- src/menu/components/card/cardcellcomponent/dragaction/index.scss | 7 +++++++ src/menu/components/card/cardcellcomponent/index.jsx | 7 +------ src/menu/stylecontroller/index.jsx | 7 ++++--- src/tabviews/custom/components/card/cardcellList/index.scss | 2 +- src/menu/components/card/cardcellcomponent/index.scss | 2 +- src/pc/components/navbar/normal-navbar/menusetting/menuform/index.jsx | 2 +- src/assets/css/main.scss | 1 + 7 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index d9a3e78..7f4eea2 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -322,6 +322,7 @@ } .ant-modal-body::-webkit-scrollbar { width: 7px; + height: 0; } .ant-modal-body::-webkit-scrollbar-thumb { border-radius: 5px; diff --git a/src/menu/components/card/cardcellcomponent/dragaction/index.scss b/src/menu/components/card/cardcellcomponent/dragaction/index.scss index 64be78f..deb7cf3 100644 --- a/src/menu/components/card/cardcellcomponent/dragaction/index.scss +++ b/src/menu/components/card/cardcellcomponent/dragaction/index.scss @@ -254,4 +254,11 @@ .no-value-hide:hover >div::before { opacity: 1; } +} +td:hover { + .card-detail-row { + .no-value-hide >div::before { + opacity: 1; + } + } } \ No newline at end of file diff --git a/src/menu/components/card/cardcellcomponent/index.jsx b/src/menu/components/card/cardcellcomponent/index.jsx index 693f87a..5f5bbbf 100644 --- a/src/menu/components/card/cardcellcomponent/index.jsx +++ b/src/menu/components/card/cardcellcomponent/index.jsx @@ -256,14 +256,9 @@ } else if (_card.eleType === 'button') { // 鎷嗗垎style _card.style = fromJS(style).toJS() - if (style.float === 'center') { - delete _card.style.float - } else if (style.float) { + if (style.float) { _card.wrapStyle = {textAlign: style.float} delete _card.style.float - } - if (style.textAlign === 'center') { - delete _card.style.textAlign } if (style.minHeight === '28px') { delete _card.style.minHeight diff --git a/src/menu/components/card/cardcellcomponent/index.scss b/src/menu/components/card/cardcellcomponent/index.scss index 7006456..52f4628 100644 --- a/src/menu/components/card/cardcellcomponent/index.scss +++ b/src/menu/components/card/cardcellcomponent/index.scss @@ -19,7 +19,7 @@ background-position: center center; height: auto; min-height: 28px; - text-align: inherit; + // text-align: inherit; border-width: 0; padding: 0; overflow: hidden; diff --git a/src/menu/stylecontroller/index.jsx b/src/menu/stylecontroller/index.jsx index c5ed9e0..850eafb 100644 --- a/src/menu/stylecontroller/index.jsx +++ b/src/menu/stylecontroller/index.jsx @@ -1,6 +1,6 @@ import React, {Component} from 'react' import { is, fromJS } from 'immutable' -import { Collapse, Form, Col, InputNumber, Input, Select, Radio, Drawer, Button, message, Checkbox } from 'antd' +import { Collapse, Form, Col, InputNumber, Input, Select, Radio, Drawer, Button, message, Checkbox, Tooltip } from 'antd' import { ColumnHeightOutlined, FontSizeOutlined, @@ -30,7 +30,8 @@ SwapOutlined, EnterOutlined, DragOutlined, - EyeOutlined + EyeOutlined, + QuestionCircleOutlined } from '@ant-design/icons' import MKEmitter from '@/utils/events.js' @@ -1050,7 +1051,7 @@ </Form.Item> </Col> </Panel> : null} - {options.includes('float') ? <Panel header="瀵归綈鏂瑰紡" key="float"> + {options.includes('float') ? <Panel header={<Tooltip placement="topLeft" title="鎸夐挳鐩稿浜庢爡鏍肩殑浣嶇疆锛屾敞锛氳缃搴︽椂鏈夋晥銆�">瀵归綈鏂瑰紡<QuestionCircleOutlined style={{marginLeft: '3px'}} /></Tooltip>} key="float"> <Col span={24}> <Form.Item colon={false} diff --git a/src/pc/components/navbar/normal-navbar/menusetting/menuform/index.jsx b/src/pc/components/navbar/normal-navbar/menusetting/menuform/index.jsx index 3454eb1..76ad886 100644 --- a/src/pc/components/navbar/normal-navbar/menusetting/menuform/index.jsx +++ b/src/pc/components/navbar/normal-navbar/menusetting/menuform/index.jsx @@ -165,7 +165,7 @@ )} </Form.Item> </Col> : null} - {property === 'menu' && copyMenu ? <Col span={12}> + {property === 'menu' && copyMenu ? <Col span={22}> <Form.Item label={ <Tooltip placement="topLeft" title="澶嶅埗鑿滃崟鏃讹紝鏄惁娓呯┖鍘熼〉闈腑鐨勫叧鑱旇彍鍗曘��"> <QuestionCircleOutlined className="mk-form-tip" /> diff --git a/src/tabviews/custom/components/card/cardcellList/index.scss b/src/tabviews/custom/components/card/cardcellList/index.scss index e5cfb31..b513a12 100644 --- a/src/tabviews/custom/components/card/cardcellList/index.scss +++ b/src/tabviews/custom/components/card/cardcellList/index.scss @@ -117,7 +117,7 @@ min-height: 28px; padding: 0; overflow: hidden; - text-align: inherit; + // text-align: inherit; } .ant-checkbox-wrapper:not(.square) { .ant-checkbox-inner, .ant-checkbox-checked::after { -- Gitblit v1.8.0