style:大屏展示
Showing
1 changed file
with
9 additions
and
0 deletions
| ... | @@ -8,6 +8,7 @@ | ... | @@ -8,6 +8,7 @@ |
| 8 | <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> | 8 | <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> |
| 9 | </div> | 9 | </div> |
| 10 | <div class="right-menu"> | 10 | <div class="right-menu"> |
| 11 | <div class="dataView pointer" @click="handleDataView">大屏展示</div> | ||
| 11 | <svg-icon class="function" icon-class='function' /> | 12 | <svg-icon class="function" icon-class='function' /> |
| 12 | <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="hover" @command="handleCommand"> | 13 | <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="hover" @command="handleCommand"> |
| 13 | <div class="avatar-wrapper"> | 14 | <div class="avatar-wrapper"> |
| ... | @@ -36,6 +37,10 @@ export default { | ... | @@ -36,6 +37,10 @@ export default { |
| 36 | } | 37 | } |
| 37 | }, | 38 | }, |
| 38 | methods: { | 39 | methods: { |
| 40 | handleDataView () { | ||
| 41 | const { href } = this.$router.resolve('/dataView'); | ||
| 42 | window.open(href, '_blank'); | ||
| 43 | }, | ||
| 39 | themeChange (val) { | 44 | themeChange (val) { |
| 40 | this.$store.dispatch('app/updateTheme', val) | 45 | this.$store.dispatch('app/updateTheme', val) |
| 41 | }, | 46 | }, |
| ... | @@ -62,6 +67,10 @@ export default { | ... | @@ -62,6 +67,10 @@ export default { |
| 62 | } | 67 | } |
| 63 | } | 68 | } |
| 64 | 69 | ||
| 70 | .dataView { | ||
| 71 | color: #fff; | ||
| 72 | } | ||
| 73 | |||
| 65 | .NoticeBar { | 74 | .NoticeBar { |
| 66 | position: absolute; | 75 | position: absolute; |
| 67 | bottom: 0; | 76 | bottom: 0; | ... | ... |
-
Please register or sign in to post a comment