| | |
| | | /> |
| | | </div> |
| | | |
| | | <div class="fast-path" :class="showFastPath?'fast-path-show':''" @click.stop> |
| | | <div |
| | | class="fast-path" |
| | | :class="showFastPath ? 'fast-path-show' : ''" |
| | | @click.stop |
| | | > |
| | | <div class="top"> |
| | | <img src="" alt="" /> |
| | | <img :src="`data:image/png;base64,${userInfo.headpic}`" alt="" /> |
| | | |
| | | <span class="username">{{userInfo.username}}</span> |
| | | </div> |
| | | <div class="link-list"> |
| | | <div class="list-item" v-for="(x, i) in linkList" :key="i" @click="clickFastPath(x.name)"> |
| | | <div |
| | | class="list-item" |
| | | v-for="(x, i) in linkList" |
| | | :key="i" |
| | | @click="clickFastPath(x.name)" |
| | | > |
| | | {{ x.name }} |
| | | </div> |
| | | </div> |
| | |
| | | notificationCenterVisible: false, |
| | | notificationCenterMessageCount: 0, |
| | | userInfo: {}, |
| | | linkList: [{name: "文档中心"}, {name: "系统监控器"}, { name: "日志管理" }], |
| | | linkList: [ |
| | | { name: "文档中心" }, |
| | | { name: "系统监控器" }, |
| | | { name: "日志管理" }, |
| | | ], |
| | | showPasswdForm: false, |
| | | rules: { |
| | | oldPwd: [{ required: true, message: "请输入旧密码", trigger: "blur" }], |
| | |
| | | // debugger |
| | | // this.showFastPath=false |
| | | if (this.showFastPath) { |
| | | this.showFastPath=false |
| | | this.showFastPath = false; |
| | | } |
| | | }) |
| | | }); |
| | | }, |
| | | methods: { |
| | | submitForm(formName) { |
| | |
| | | }, |
| | | |
| | | togglePreference() { |
| | | this.showFastPath = !this.showFastPath |
| | | this.showFastPath = !this.showFastPath; |
| | | this.$store.state.desktop.frames.forEach((frame) => { |
| | | this.$store.commit("desktop/addMinDock", { |
| | | id: frame.id, |
| | |
| | | } |
| | | }, |
| | | clickFastPath(name){ |
| | | debugger |
| | | this.$emit("jumpToDock", name) |
| | | |
| | | this.$emit("jumpToDock", name); |
| | | }, |
| | | gotoSet(){ |
| | | this.$emit("jumpToDock", "系统设置") |
| | | |
| | | this.$emit("jumpToDock", "系统设置"); |
| | | }, |
| | | toolHover(dock) { |
| | | //this.$parent.screenShot(dock) |
| | |
| | | top: 55px; |
| | | border-radius: 6px; |
| | | background-color: rgba(255, 255, 255, 1); |
| | | transition: .2s; |
| | | transition: 0.2s; |
| | | display: none; |
| | | padding-top: 5px; |
| | | box-sizing: border-box; |
| | | .top{ |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | -webkit-box-pack: space-evenly; |
| | | -ms-flex-pack: space-evenly; |
| | | /* justify-content: space-evenly; */ |
| | | -webkit-box-align: center; |
| | | -ms-flex-align: center; |
| | | align-items: center; |
| | | height: 70px; |
| | | box-sizing: border-box; |
| | |
| | | height: 30px; |
| | | line-height: 30px; |
| | | font-size: 16px; |
| | | margin-left: 10px; |
| | | margin-left: 15px; |
| | | } |
| | | } |
| | | .link-list{ |
| | |
| | | flex-direction: column; |
| | | align-items: center; |
| | | .list-item{ |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | width: 80%; |
| | | -webkit-box-sizing: border-box; |
| | | width: 90%; |
| | | box-sizing: border-box; |
| | | padding: 0 20px; |
| | | border-radius: 5px; |
| | | font-size: 14px; |
| | | line-height: 25px; |
| | | height: 25px;cursor: pointer; |
| | | height: 25px; |
| | | cursor: pointer; |
| | | margin: 5px; |
| | | } |
| | | .list-item:hover{ |
| | |
| | | display: flex; |
| | | width: 100%; |
| | | justify-content: space-around; |
| | | .set,.exit{ |
| | | .set, |
| | | .exit { |
| | | display: flex; |
| | | align-items: center; |
| | | width: 28%; |
| | |
| | | font-size: 14px; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .fast-path-show { |
| | | animation: move linear .2s 1; |
| | | animation: move linear 0.2s 1; |
| | | display: block; |
| | | } |
| | | |