Commit 8aaabe1d authored by zhanglw's avatar zhanglw

路由调整

parent 53b06219
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="5" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="7" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="7" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="7" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="6" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="6" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="1" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="99" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......@@ -181,6 +181,9 @@ export default {
if (this.$route.params) {
this.query = Object.assign(this.query, this.$route.params)
}
if (this.$route.query) {
this.query = Object.assign(this.query, this.$route.query)
}
})
},
methods: {
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="1" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......@@ -231,7 +231,12 @@ export default {
},
mounted() {
this.$nextTick(() => {
if (this.$route.params) {
this.query = Object.assign(this.query, this.$route.params)
}
if (this.$route.query) {
this.query = Object.assign(this.query, this.$route.query)
}
HttpReq.webClientApi.homePageGetSearch({
preview: false
}).then((res) => {
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="3" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="7" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="7" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="7" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="7" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="4" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="2" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......
......@@ -3,7 +3,7 @@
<div class="head-box">
<div class="head-box-top">
<div class="top-call" />
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png"></div>
<div class="top-call"><img src="@/assets/home_images/cisnet_logo_b.png" class="touch" @click="$router.push('/home')"></div>
<div class="top-call"><title-menus ref="titleMenus" menu-index="2" style="padding-top: 15px" /></div>
<div class="top-call"><user-login ref="userLogin" /></div>
<div class="top-call"><language-setting ref="languageSetting" /></div>
......@@ -180,6 +180,9 @@ export default {
},
mounted() {
this.$nextTick(() => {
if (this.$route.query) {
this.query = Object.assign(this.query, this.$route.query)
}
HttpReq.webClientApi.homePageGetSearch({
preview: false
}).then((res) => {
......@@ -195,6 +198,12 @@ export default {
return item.label === this.$route.params.areaText
})[0].value
}
if (this.$route.query.areaText) {
this.query.area = this.areaOpts.filter(item => {
return item.label === this.$route.query.areaText
})[0].value
}
console.log(this.query)
this.search()
},
search() {
......
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