king
2024-10-17 c42b55af77e1cfa34d09748dcdc63f171dc95e99
Merge branch 'positec' into dms
5个文件已修改
32 ■■■■ 已修改文件
src/components/header/index.scss 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/tree/antd-tree/index.scss 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/stylecontroller/index.jsx 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/header/index.scss
@@ -287,9 +287,9 @@
  }
  .wx-sms-wrap {
    text-align: center;
    .tip {
      margin: 15px;
      margin: 215px 15px 15px;
      img {
        width: 24px;
        margin-right: 10px;
@@ -305,5 +305,8 @@
        font-weight: bold;
      }
    }
    .qrcode-box + .tip {
      margin-top: 15px;
    }
  }
}
src/index.js
@@ -121,7 +121,7 @@
      GLOB.systemType = 'production'
    } else if (GLOB.sysType === 'local') {
      GLOB.probation = true
      GLOB.debugger = true
      // GLOB.debugger = true
      GLOB.systemType = ''
      GLOB.upStatus = config.updateStatus + '' !== 'false'
src/menu/components/share/actioncomponent/index.jsx
@@ -157,7 +157,7 @@
      card: element
    })
    MKEmitter.emit('changeStyle', options, _style, this.getStyle)
    MKEmitter.emit('changeStyle', options, _style, this.getStyle, 'toolBtn')
  }
  addButton = (cardId, element) => {
src/menu/components/tree/antd-tree/index.scss
@@ -29,11 +29,7 @@
  .model-menu-action-list:not(.length0) {
    margin: 10px 0px;
  }
  .model-menu-action-list {
    .ant-btn {
      border-width: 0px;
    }
  }
  .ant-tree li .ant-tree-node-content-wrapper, .ant-tree li span.ant-tree-switcher, .ant-tree li span.ant-tree-iconEle {
    height: var(--mk-tree-line-height);
    line-height: var(--mk-tree-line-height);
src/menu/stylecontroller/index.jsx
@@ -130,9 +130,12 @@
  }
  onCloseDrawer = () => {
    const { type } = this.state
    let card = fromJS(this.state.card).toJS()
    if (card.borderWidth === '0px' || !card.borderWidth) {
    if (type === 'toolBtn' && card.borderWidth === '0px') {
      delete card.borderColor
    } else if (card.borderWidth === '0px' || !card.borderWidth) {
      delete card.borderWidth
      delete card.borderColor
    }
@@ -893,11 +896,11 @@
                    label={<ColumnWidthOutlined title="边框宽度"/>}
                    labelCol={{xs: { span: 24 }, sm: { span: 4 }}} wrapperCol={ {xs: { span: 24 }, sm: { span: 20 }} }
                  >
                    {borposition === 'outer' ? <StyleInput defaultValue={card.borderWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'left' ? <StyleInput defaultValue={card.borderLeftWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'right' ? <StyleInput defaultValue={card.borderRightWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'top' ? <StyleInput defaultValue={card.borderTopWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'bottom' ? <StyleInput defaultValue={card.borderBottomWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'outer' ? <StyleInput clear={true} defaultValue={card.borderWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'left' ? <StyleInput clear={true} defaultValue={card.borderLeftWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'right' ? <StyleInput clear={true} defaultValue={card.borderRightWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'top' ? <StyleInput clear={true} defaultValue={card.borderTopWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                    {borposition === 'bottom' ? <StyleInput clear={true} defaultValue={card.borderBottomWidth || ''} options={['px']} onChange={this.changeBorderWidth}/> : null}
                  </Form.Item>
                </Col>
                <Col span={24}>