Browse Source

Merge pull request #40 in DEC/decision-webui-dcm from ~ALAN/decision-webui-dcm:feature/10.0 to feature/10.0

* commit '6e9c622c1547f698a8e88d229e754e716c872767':
  fix: DEC-9676 展开图标改为用实心箭头
qufenxi
alan 5 years ago
parent
commit
75b9e99afd
  1. 2
      src/less/font.less
  2. 2
      src/less/lib/font.less
  3. 4
      src/modules/components/collapse/collapse.ts

2
src/less/font.less

@ -10,3 +10,5 @@
.font(dcm-link-other-font, @font-link-other); .font(dcm-link-other-font, @font-link-other);
.font(dcm-change-name-font, @font-change-name); .font(dcm-change-name-font, @font-change-name);
.font(dcm-link-edit-font, @font-link-edit); .font(dcm-link-edit-font, @font-link-edit);
.font(dcm-triangle-collapse-font, @font-triangle-collapse);
.font(dcm-triangle-expand-font, @font-triangle-expand);

2
src/less/lib/font.less

@ -7,3 +7,5 @@
@font-link-other: "e796"; @font-link-other: "e796";
@font-change-name: "e6cc"; @font-change-name: "e6cc";
@font-link-edit: "e6ba"; @font-link-edit: "e6ba";
@font-triangle-collapse: "e6d8";
@font-triangle-expand: "e6d7";

4
src/modules/components/collapse/collapse.ts

@ -35,7 +35,7 @@ export class Collapse extends BI.BasicButton {
{ {
type: IconLabel, type: IconLabel,
height: 17, height: 17,
cls: 'pull-right-font', cls: 'dcm-triangle-collapse-font icon-size-16',
ref: (_ref: any) => { ref: (_ref: any) => {
this.rightFont = _ref; this.rightFont = _ref;
}, },
@ -44,7 +44,7 @@ export class Collapse extends BI.BasicButton {
{ {
type: IconLabel, type: IconLabel,
height: 17, height: 17,
cls: 'pull-down-font', cls: 'dcm-triangle-expand-font icon-size-16',
ref: (_ref: any) => { ref: (_ref: any) => {
this.downFont = _ref; this.downFont = _ref;
}, },

Loading…
Cancel
Save