在我的应用程序中,我正在尝试更改标题的颜色。为此,我将一些主题放在 app.scss 文件中。我可以更改标题栏的背景颜色。但是标题的颜色没有改变。我的 app.scss 文件是这样的:
$base-color: #588aad; // go big blue!$include_default_icons: false;
@import 'sencha-touch/default/all';
@include sencha-panel;
@include sencha-buttons;
@include sencha-sheet;
@include sencha-picker;
@include sencha-tabs;
@include sencha-toolbar;
@include sencha-toolbar-forms;
@include sencha-indexbar;
@include sencha-list;
@include sencha-layout;
@include sencha-form;
@include sencha-msgbox;
@include sencha-loading-spinner;
@include pictos-iconmask("bookmarks");
@include pictos-iconmask("compose");
@include pictos-iconmask("trash");
@include pictos-iconmask("search");
@include pictos-iconmask("bookmark2");
@include sencha-toolbar-ui('blue', #EEEEEE,'matte');
.x-toolbar .x-toolbar-title {
color: #5a3d23;
}
这是我的面板代码:
Ext.define('MyApp.view.TitlePanel', {
extend: 'Ext.Panel',
config: {
modal: false,
items: [
{
xtype: 'titlebar',
docked: 'top',
height: 120,
ui: 'blue',
title: 'Teritree Bussiness Portal',
items: [
{
xtype: 'image',
docked: 'left',
height: 118,
width: 202,
src: 'resources/images/Logo.PNG'
}
]
}
]
}
});
有人可以帮忙吗???提前致谢..