Header.js.svn-base 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.oa.doc.Header', {
  2. extend: 'Ext.container.Viewport',
  3. extend: 'Ext.Toolbar',
  4. xtype : 'pageHeader',
  5. ui : 'sencha',
  6. height: 53,
  7. hideBorders: true,
  8. items: [{
  9. xtype: 'component',
  10. cls : 'x-logo',
  11. html : 'UAS文档管理',
  12. hideBorders: true,
  13. },{
  14. xtype:'tbtext',
  15. cls:'topMenu-2',
  16. style:'padding: 25px 10px 0px 100px;font-size:15px;font-weight: 600;',
  17. text:'欢迎 ,'+em_name+"!"
  18. },{
  19. xtype:'tbtext',
  20. style:'padding: 25px 0px 0px 100px;font-size:15px;font-weight: 800;',
  21. text:'当前位置:'
  22. },{
  23. xtype:'tbtext',
  24. style:'padding:25px 10px 0px 5px;font-size:15px;font-weight:600;',
  25. id:'virtualpath'
  26. }/*,'->',{
  27. xtype:'container',
  28. style:'padding:25px 10px 0px 500px;font-size:15px;font-weight:600;',
  29. html:'<div id="searchBox"><form id="searchDoc" name="searchDoc" onsubmit="search(); return false" action="/search/search.html" method="post"><input type="text" name="keywords" value="" id="keywords" class="inputTextNormal"> <input id="searchBtn" type="image" src="../doc/resources/images/btn-search.jpg" value="搜索文档"></form> </div>'
  30. }*/
  31. ]
  32. });