Browse Source

Pull request #173: 无jira任务 发布 final>persist

Merge in DEC/decision-webui-dcm from ~ABBY/decision-webui-dcm:persist/10.0 to persist/10.0

* commit 'e2f353a3ec41370acd67a9a00aeb9efe60a0855c':
  DEC-13302 fix:页面子tab的标题样式
qufenxi
Kara 5 years ago
parent
commit
8609a8a50f
  1. 9
      src/modules/title/title.ts

9
src/modules/title/title.ts

@ -1,4 +1,4 @@
import { LeftRightVerticalAdapt, LinearSegment, Tab } from 'ui'; import { LeftRightVerticalAdapt, VerticalAdapt, LinearSegment, Tab } from 'ui';
import { shortcut, store } from '@core/core'; import { shortcut, store } from '@core/core';
import { TitleModel, TitleModelXtype } from './title.model'; import { TitleModel, TitleModelXtype } from './title.model';
import { PAGE_INDEX } from '@constants/constant'; import { PAGE_INDEX } from '@constants/constant';
@ -32,9 +32,12 @@ export class Title extends BI.Widget {
left: [ left: [
{ {
type: LinearSegment, type: LinearSegment,
cls: 'bi-font-bold',
height: 40, height: 40,
hgap: 10, hgap: 10,
width: 250, layouts: [{
type: VerticalAdapt,
}],
ref: (_ref: any) => { ref: (_ref: any) => {
this.linearSegment = _ref; this.linearSegment = _ref;
}, },
@ -43,10 +46,12 @@ export class Title extends BI.Widget {
text: BI.i18nText('Dec-Dcm_Connection_Management'), text: BI.i18nText('Dec-Dcm_Connection_Management'),
selected: true, selected: true,
value: PAGE_INDEX.CONNECTION, value: PAGE_INDEX.CONNECTION,
hgap: 15,
}, },
{ {
text: BI.i18nText('Dec-Dcm_Pool_Connection_Management'), text: BI.i18nText('Dec-Dcm_Pool_Connection_Management'),
value: PAGE_INDEX.POOL, value: PAGE_INDEX.POOL,
hgap: 15,
}, },
], ],
listeners: [{ listeners: [{

Loading…
Cancel
Save