button 样式
/**
* 个人资料
*/
Ext.define('For.view.personal.MyPersonalData',{
extend:'Ext.panel.Panel',
xtype:'my-personaldata',
viewModel:'formview',
requires:['For.view.personal.ForPersonalInfo'],
layout:'fit',
items:[{
layout:'hbox',
width:'100%',
title:forp.view.personal.myPersonalData.title,//'我的资料',
itemId:'personalDataItemId',
flex:13,
items:[{
border:1,
xtype:'panel',
height:'100%',
layout:'vbox',
flex:1,
items:[{
flex:5
},{
xtype:'button',
style: 'background-color:white;font-color:blue',
text:'<font color="blue">'
+forp.view.personal.myPersonalData.myAccountInfo//'账号信息'
+'</font>',
handler:'myAccountInfo',
border:false,
flex:1
},{
xtype:'button',
style: 'background-color:white;font-color:blue',
text:'<font color="blue">'
+forp.view.personal.myPersonalData.myMemberInfo//'会员信息'
+'</font>',
handler:'myMemberInfo',
border:false,
flex:1
},{
xtype:'button',
style: 'background-color:white;font-color:blue',
text:'<font color="blue">'
+forp.view.personal.myPersonalData.myBasicInfo//'基本信息'
+'</font>',
handler:'myBasicInfo',
border:false,
flex:1
},{
flex:10
}]
},{
flex:12,
height:'100%',
xtype:'for-personalinfo',
itemId:'for-personalinfo'
}]
}]
})
posted on 2016-12-07 18:36 kebizhanmushi 阅读(86) 评论(0) 编辑 收藏 举报