| | |
| | | <top-search></top-search> |
| | | </span> |
| | | </div> |
| | | <div></div> |
| | | <div class="top-bar__right"> |
| | | <div class="container"> |
| | | <div class="content"> |
| | | 本系统为非涉密应用系统,禁止处理、存储、传输涉密信息 |
| | | </div> |
| | | </div> |
| | | <el-tooltip v-if="showColor" |
| | | effect="dark" |
| | | :content="$t('navbar.color')" |
| | |
| | | </el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | <div style="margin-left: 15px"> |
| | | <p style="font-size: 16px">当前登录用户:{{storedUsername}}</p> |
| | | </div> |
| | | <el-dialog title="用户信息选择" |
| | | append-to-body |
| | | :visible.sync="userBox" |
| | |
| | | name: "top", |
| | | data() { |
| | | return { |
| | | storedUsername: '', |
| | | userBox: false, |
| | | userForm: { |
| | | deptId: '', |
| | |
| | | }, |
| | | mounted() { |
| | | listenfullscreen(this.setScreen); |
| | | this.storedUsername = localStorage.getItem('username'); |
| | | }, |
| | | computed: { |
| | | ...mapState({ |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .container { |
| | | max-width: 100%; |
| | | padding: 0 20px; |
| | | margin: 0 auto; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .content { |
| | | font-size: 20px; |
| | | line-height: 20px; |
| | | margin-right: 35px; |
| | | } |
| | | |
| | | @media screen and (max-width: 768px) { |
| | | .content { |
| | | margin-right: 0; |
| | | } |
| | | } |
| | | </style> |