king
2021-06-01 6b0720dade493cba27cd1a04282d8a68aff81ba9
2021-06-01
3个文件已修改
25 ■■■■ 已修改文件
src/menu/components/card/data-card/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/data-card/index.scss 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/formconfig.jsx 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/data-card/index.jsx
@@ -428,7 +428,7 @@
    let _style = resetStyle(card.style)
    return (
      <div className="menu-data-card-edit-box" style={_style} onClick={this.clickComponent} id={card.uuid}>
      <div className={'menu-data-card-edit-box ' + appType} style={_style} onClick={this.clickComponent} id={card.uuid}>
        <NormalHeader defaultshow="hidden" config={card} updateComponent={this.updateComponent}/>
        <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={
          <div className="mk-popover-control">
src/menu/components/card/data-card/index.scss
@@ -90,6 +90,16 @@
  content: ' ';
  clear: both;
}
.menu-data-card-edit-box.mob {
  .model-menu-action-list {
    position: absolute;
    top: 5px;
    right: 0px;
    .page-card {
      line-height: 40px;
    }
  }
}
.menu-data-card-edit-box:hover {
  z-index: 1;
  box-shadow: 0px 0px 4px #1890ff;
src/templates/zshare/formconfig.jsx
@@ -2363,26 +2363,27 @@
      type: 'select',
      key: 'fileType',
      label: '显示方式',
      initVal: card.fileType || 'text',
      initVal: card.fileType || (appType === 'mob' ? 'picture-card' : 'text'),
      options: [{
        value: 'text',
        text: '文件'
      }, {
        value: 'picture',
        text: '图文信息'
      }, {
        value: 'picture-card',
        text: '图片卡'
      }, {
        value: 'text',
        text: '文件'
      }]
    },
    {
      type: 'number',
      key: 'maxfile',
      min: 1,
      max: 1000000,
      min: 0,
      max: 1000,
      precision: 0,
      label: '最大文件数',
      initVal: card.maxfile || '',
      tooltip: '等于0时不做限制。',
      required: false
    },
    {