提交 91c4287e authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 a2c15d58
......@@ -5,13 +5,13 @@
<div class="max-width-content">
<app-link :item="{ path: '/' }">
<div class="logo-box">
<img src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg">
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/marywood_logo.svg">
<img src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg" />
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/marywood_logo.svg" />
</div>
</app-link>
<div class="user" v-if="user.id">
<span>{{ user.realname }}</span
><em>|</em><span class="logout" @click="logout">退出</span>
<span>{{ user.realname || user.nickname }}</span>
<em>|</em><span class="logout" @click="logout">退出</span>
</div>
<div class="login-btn-box" v-else>
<div class="login"><a :href="loginURL">快速登录</a></div>
......@@ -34,8 +34,7 @@ export default {
AppLink
},
data() {
return {
}
return {}
},
methods: {
logout() {
......@@ -84,13 +83,13 @@ li {
.max-width-content {
display: flex;
align-items: center;
.logo-box{
.logo-box {
display: flex;
img {
height: 55px;
cursor: pointer;
display: block;
&:nth-child(2){
&:nth-child(2) {
margin-left: 20px;
}
}
......@@ -140,7 +139,6 @@ li {
height: 72px;
display: flex;
align-items: center;
}
}
</style>
......@@ -10,7 +10,6 @@
@prev="handlePrev"
@next="handleNext"
@uploaded="getApplication"
v-if="detail"
>
<template #aside-append>
<!-- <div class="aside-logout" @click="$store.dispatch('logout')"><span>退出登录</span></div> -->
......@@ -92,7 +91,7 @@ export default {
},
handlePageChange(value) {
this.currentActive = value
this.$router.push({ path: this.$route.path, query: { active: value } }).catch(() => {})
this.$router.push({ path: this.$route.path, query: { active: value } })
console.log('页面切换了', value)
},
handleSuccess(data) {
......
......@@ -11,7 +11,6 @@
@back="$router.push('/my/account')"
@prev="handlePrev"
@next="handleNext"
v-if="detail"
>
<template #aside-append>
<div class="aside-preview" @click="dialogVisible = true" v-if="visible">预览全部</div>
......@@ -94,7 +93,7 @@ export default {
},
handlePageChange(value) {
this.currentActive = value
this.$router.push({ path: this.$route.path, query: { active: value } }).catch(() => {})
this.$router.push({ path: this.$route.path, query: { active: value } })
},
handleTabChange(value) {
this.tabActive = value
......
......@@ -97,7 +97,7 @@ export default {
},
handlePageChange(value) {
this.currentActive = value
this.$router.push({ path: this.$route.path, query: { active: value } }).catch(() => {})
this.$router.push({ path: this.$route.path, query: { active: value } })
console.log('页面切换了', value)
},
handleSuccess(data) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论