designer-nav.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!-- 设计师顶部导航栏 -->
  2. <header class="top-navbar">
  3. <div class="navbar-left">
  4. <h1 class="app-title">设计师工作台</h1>
  5. </div>
  6. <div class="navbar-center">
  7. <div class="search-container">
  8. <input
  9. type="text"
  10. [(ngModel)]="searchTerm"
  11. placeholder="搜索项目、客户或案例..."
  12. class="search-input"
  13. />
  14. <button class="search-button">
  15. <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
  16. <circle cx="11" cy="11" r="8"></circle>
  17. <path d="m21 21-4.35-4.35"></path>
  18. </svg>
  19. </button>
  20. </div>
  21. </div>
  22. <div class="navbar-right">
  23. <button class="notification-btn">
  24. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor">
  25. <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>
  26. </svg>
  27. <span class="notification-badge">3</span>
  28. </button>
  29. <div class="user-profile">
  30. <div style="width: 40px; height: 40px; background-color: #CCCCFF; color: #555555; display: flex; align-items: center; justify-content: center; font-size: 13.333333333333334px; font-weight: bold;" class="user-avatar" title="用户头像">DESIGN</div>
  31. <span class="user-name">{{userName}}</span>
  32. </div>
  33. </div>
  34. </header>
  35. <!-- 主要内容区 -->
  36. <main class="main-content">
  37. <!-- 中间内容区 - 侧边栏已删除 -->
  38. <div class="content-wrapper">
  39. <ng-content></ng-content>
  40. </div>
  41. </main>