Commit 5ba40ee2 authored by wuwangwolihui's avatar wuwangwolihui

营地2.0

parent 4bcea01c
f094629e7f9cda64e959846aaa9dc501
\ No newline at end of file
......@@ -2,10 +2,10 @@
<div class="Header" :class="type==1?'all-header':''">
<div class="H_content com-container">
<div class="image">
<img v-if="type==1" :src="all_logo" alt=""/>
<img v-if="type==2" :src="system_logo" alt=""/>
<img v-if="type==1" :src="all_logo" alt="" @click="toHome"/>
<img v-if="type==2" :src="system_logo" alt="" @click="toRecruit"/>
<img v-if="type==3" :src="system_logo" alt="" @click="toRecruit"/>
<img v-if="type==4" :src="all_logo" alt=""/>
<img v-if="type==4" :src="all_logo" alt="" @click="toHome"/>
<!--<img v-if="type==4" :src="system_logo?system_logo:all_logo" alt=""/>-->
</div>
<div class="right">
......@@ -228,6 +228,15 @@
}
});
},
// 点击图片跳转到首页
toHome() {
this.$router.push({
path: "/",
query: {
...this.$store.state.query,
}
});
},
},
watch: {
typeFu(val) {
......
......@@ -2,7 +2,7 @@ export default [
{
path: '/active',
name: 'base-active',
component: () => import(/* webpackChunkName: "login" */ 'v/base/active/Active.vue'),
component: () => import(/* webpackChunkName: "base-active" */ 'v/base/active/Active.vue'),
meta: {
title: '活动中心'
}
......@@ -10,7 +10,7 @@ export default [
{
path: '/active/:id',
name: 'base-active-info',
component: () => import(/* webpackChunkName: "login" */ 'v/base/active/ActiveInfo.vue'),
component: () => import(/* webpackChunkName: "base-active-info" */ 'v/base/active/ActiveInfo.vue'),
meta: {
title: '活动详情'
}
......
......@@ -2,7 +2,7 @@ export default [
{
path: '/',
name: 'base-home',
component: () => import(/* webpackChunkName: "login" */ 'v/base/home/Home.vue'),
component: () => import(/* webpackChunkName: "base-home" */ 'v/base/home/Home.vue'),
meta: {
title: '营地中心(CAMP CENTER)'
}
......
export default [{
path: '/baseLogin',
name: 'base-login',
component: () => import(/* webpackChunkName: "login" */ 'v/base/login/Login.vue'),
component: () => import(/* webpackChunkName: "base-login" */ 'v/base/login/Login.vue'),
meta: {
title: '登录'
}
......@@ -9,7 +9,7 @@ export default [{
{
path: '/baseRegister',
name: 'base-register',
component: () => import(/* webpackChunkName: "reset" */ 'v/base/login/Register.vue'),
component: () => import(/* webpackChunkName: "base-register" */ 'v/base/login/Register.vue'),
meta: {
title: '新用户注册'
}
......
export default [{
path: '/login',
name: 'index-login',
component: () => import(/* webpackChunkName: "login" */ 'v/index/login/Login.vue'),
component: () => import(/* webpackChunkName: "index-login" */ 'v/index/login/Login.vue'),
meta: {
title: '登录'
}
......@@ -9,7 +9,7 @@ export default [{
{
path: '/register',
name: 'index-register',
component: () => import(/* webpackChunkName: "reset" */ 'v/index/login/Register.vue'),
component: () => import(/* webpackChunkName: "index-register" */ 'v/index/login/Register.vue'),
meta: {
title: '新用户注册'
}
......@@ -17,7 +17,7 @@ export default [{
{
path: '/reset',
name: 'index-reset',
component: () => import(/* webpackChunkName: "reset" */ 'v/index/login/Reset.vue'),
component: () => import(/* webpackChunkName: "index-reset" */ 'v/index/login/Reset.vue'),
meta: {
title: '重置密码'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment