king
2021-11-13 327852ff55574e71829172f0010ad2e4974d2597
2021-11-13
3个文件已修改
18 ■■■■■ 已修改文件
src/assets/css/viewstyle.scss 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/timeline/normal-timeline/options.jsx 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/timeline/normal-timeline/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/viewstyle.scss
@@ -397,6 +397,11 @@
  .system-color {
    color: $color6;
  }
  .ant-timeline.system {
    .ant-timeline-item-tail {
      border-color: $color2;;
    }
  }
}
body.hidden-split-line #root { // 去除登录页分割线
src/menu/components/timeline/normal-timeline/options.jsx
@@ -74,6 +74,17 @@
      required: false
    },
    {
      type: 'radio',
      field: 'line',
      label: '连线颜色',
      initval: wrap.line || '',
      required: false,
      options: [
        {value: '', label: '默认'},
        {value: 'system', label: '系统色'},
      ]
    },
    {
      type: 'select',
      field: 'label',
      label: '标签',
src/tabviews/custom/components/timeline/normal-timeline/index.jsx
@@ -315,7 +315,7 @@
          </div> : null
        }
        <NormalHeader config={config} />
        {data && data.length > 0 ? <Timeline mode={config.wrap.mode} className="card-row-list" style={{height: config.wrap.contentHeight}}>
        {data && data.length > 0 ? <Timeline mode={config.wrap.mode} className={'card-row-list ' + (config.wrap.line || '')} style={{height: config.wrap.contentHeight}}>
          {data.map(item => this.getnodes(item))}
        </Timeline> : null}
        {data && data.length === 0 ? <div className="card-row-list" style={{height: config.wrap.contentHeight}}>