| | |
| | | this.buildTopMenuStyle() |
| | | } |
| | | window.addEventListener('resize', this.handleResize) |
| | | this.topMenuStyle.topNavHeader = { 'min-width': '165px', width: '165px' } |
| | | //update-end--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮----- |
| | | }, |
| | | methods: { |
| | |
| | | @media screen and (min-width: 1400px) and (max-width: 1680px) { |
| | | .top-nav-text { |
| | | min-width: 300px; |
| | | color: #00ff80; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1280px) and (max-width: 1400px) { |
| | | .top-nav-text { |
| | | min-width: 450px; |
| | | color: yellow; |
| | | } |
| | | } |
| | | |
| | | @media screen and (max-width: 1280px) { |
| | | .top-nav-text { |
| | | min-width: 300px; |
| | | color: white; |
| | | } |
| | | } |
| | | </style> |