| | |
| | | <template> |
| | | <div class="panel-header"> |
| | | <span class="panel-title">{{ title }}</span> |
| | | <span :class="{'panel-title': !isFullscreen, 'panel-title-fullscreen': isFullscreen}">{{ title }}</span> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | title: { |
| | | type: String, |
| | | required: true, |
| | | default: '' |
| | | } |
| | | }) |
| | | default: "", |
| | | }, |
| | | isFullscreen: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }); |
| | | </script> |
| | | |
| | | <style scoped> |
| | |
| | | width: 100%; |
| | | font-weight: 500; |
| | | font-size: 16px; |
| | | color: #D9ECFF; |
| | | color: #d9ecff; |
| | | padding-left: 46px; |
| | | line-height: 36px; |
| | | } |
| | | |
| | | .panel-title-fullscreen { |
| | | font-size: 1.6vh; |
| | | line-height: 4vh; |
| | | padding-left: 4.6vh; |
| | | } |
| | | </style> |