|
@@ -21,6 +21,9 @@
|
|
|
<!-- <el-dropdown-item :divided="true" icon="el-icon-key" command="passwd">
|
|
|
修改密码
|
|
|
</el-dropdown-item> -->
|
|
|
+ <el-dropdown-item :divided="true" icon="el-icon-back" command="backHome">
|
|
|
+ 返回首页
|
|
|
+ </el-dropdown-item>
|
|
|
<el-dropdown-item :divided="true" icon="el-icon-guide" command="logout">
|
|
|
退出
|
|
|
</el-dropdown-item>
|
|
@@ -38,7 +41,7 @@
|
|
|
<el-dialog :visible.sync="wxDialog" title="绑定微信" width="30%" center :destroy-on-close="true">
|
|
|
<el-row type="flex" justify="center">
|
|
|
<el-col :span="24" style="text-align:center">
|
|
|
- <qrcode exchange="qrcode.bind" v-if="qrUri" :uri="qrUri" :config="config" :qrcode="qrcode" @toReturn="toReturn"></qrcode>
|
|
|
+ <qrcode exchange="qrcode.bind" v-if="qrUri" :uri="qrUri" :config="config" :qrcode="qrcode" @toReturn="toReturn"> </qrcode>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-dialog>
|
|
@@ -104,6 +107,7 @@ export default {
|
|
|
if (type === 'logout') this.toLogout();
|
|
|
if (type === 'passwd') this.toPasswd();
|
|
|
if (type === 'weixin') this.bind();
|
|
|
+ if (type === 'backHome') this.backHome();
|
|
|
},
|
|
|
async toLogin() {
|
|
|
this.$router.push({ name: 'login' });
|
|
@@ -111,6 +115,9 @@ export default {
|
|
|
toPasswd() {
|
|
|
this.dialog = true;
|
|
|
},
|
|
|
+ backHome() {
|
|
|
+ window.location.replace('https://zhjy.jilinjobs.cn:8080/dist/school.html#/navi');
|
|
|
+ },
|
|
|
toClose() {
|
|
|
this.info = {};
|
|
|
this.dialog = false;
|
|
@@ -153,19 +160,24 @@ export default {
|
|
|
.navbar {
|
|
|
height: 4rem;
|
|
|
box-shadow: 0 0.0625rem 0.25rem rgba(0, 21, 41, 0.08);
|
|
|
+
|
|
|
.user-profile-container {
|
|
|
position: absolute;
|
|
|
right: 1.25rem;
|
|
|
cursor: pointer;
|
|
|
+
|
|
|
.user-profile-content {
|
|
|
display: flex;
|
|
|
padding: 1.25rem 0;
|
|
|
}
|
|
|
+
|
|
|
.menu-icons {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+
|
|
|
.menu-icon {
|
|
|
padding: 0 0.75rem;
|
|
|
+
|
|
|
.icon {
|
|
|
display: inline-block;
|
|
|
font-size: 1.125rem;
|
|
@@ -173,6 +185,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.user-profile-body {
|
|
|
position: relative;
|
|
|
display: flex;
|
|
@@ -182,19 +195,23 @@ export default {
|
|
|
text-align: center;
|
|
|
padding-right: 0.875rem;
|
|
|
}
|
|
|
+
|
|
|
.user-avatar {
|
|
|
width: 1.5rem;
|
|
|
height: 1.5rem;
|
|
|
margin: 0 0.5rem 0 0.75rem;
|
|
|
border-radius: 0.25rem;
|
|
|
}
|
|
|
+
|
|
|
.user-name {
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
}
|
|
|
+
|
|
|
.user-department {
|
|
|
font-size: 0.75rem;
|
|
|
color: rgba(102, 102, 102, 0.65);
|
|
|
}
|
|
|
+
|
|
|
.el-icon-caret-bottom {
|
|
|
position: absolute;
|
|
|
right: 0;
|