king
2024-07-10 d2009f9859906999750ce90b69c4521397359c0f
Merge branch 'develop'
10个文件已修改
57 ■■■■■ 已修改文件
src/assets/css/main.scss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/dragaction/card.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/dragaction/index.scss 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/index.jsx 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/index.scss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/stylecontroller/index.jsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pc/components/navbar/normal-navbar/menusetting/menuform/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/cardcellList/index.scss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mobdesign/index.scss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/pcdesign/index.scss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
src/menu/components/card/cardcellcomponent/dragaction/card.jsx
@@ -248,6 +248,12 @@
    mark = false
  }
  let className = 'ant-col card-cell ant-col-' + card.width
  if (card.noValue === 'hide') {
    className += ' no-value-hide'
  }
  return (
    <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={
      <div className="mk-popover-control" onDoubleClick={(e) => e.stopPropagation()}>
@@ -258,7 +264,7 @@
        {mark ? <MarkColumn field={card.field || ''} columns={fields} type={card.eleType} marks={card.marks} onSubmit={(vals) => updateMarks({...card, marks: vals})} /> : null }
      </div>
    } trigger="hover">
      <div ref={node => drag(drop(node))} style={_style_} className={'ant-col card-cell ant-col-' + card.width}>
      <div ref={node => drag(drop(node))} style={_style_} className={className}>
        <div style={_style} onClick={clickComponent} onDoubleClick={() => able && editCard(id)} id={card.uuid}>
          {getContent()}
        </div>
src/menu/components/card/cardcellcomponent/dragaction/index.scss
@@ -240,4 +240,25 @@
      left: 0px;
    }
  }
  .no-value-hide >div::before {
    content: '*';
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 18px;
    color: orange;
    line-height: 1;
    height: 8px;
    opacity: 0;
  }
  .no-value-hide:hover >div::before {
    opacity: 1;
  }
}
td:hover {
  .card-detail-row {
    .no-value-hide >div::before {
      opacity: 1;
    }
  }
}
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
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;
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}
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" />
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 {
src/views/mobdesign/index.scss
@@ -332,7 +332,3 @@
body {
  overflow-y: hidden;
}
.user-component-wrap {
  display: none!important;
}
src/views/pcdesign/index.scss
@@ -274,6 +274,3 @@
body {
  overflow-y: hidden;
}
.user-component-wrap {
  display: none!important;
}