求房源 中介跳转

This commit is contained in:
2023-07-27 10:38:32 +08:00
parent acf3767e8b
commit b35cb8069f
2 changed files with 8 additions and 4 deletions

View File

@@ -115,7 +115,11 @@ let watchInfo=()=>{
} }
let watchAdv=()=>{ let watchAdv=()=>{
if(itemData.url){
window.open(itemData.url)
}else{
watchInfo()
}
} }
</script> </script>

View File

@@ -60,7 +60,7 @@ const routes = [
} }
}, },
{//中介房源 {//中介房源
path: '/intermediaryHousing', path: '/intermediaryHousing/:type?/:data?/:areaItem?/:types?',
component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/intermediary.vue'), component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/intermediary.vue'),
meta: { meta: {
title: '中介房源', title: '中介房源',
@@ -68,7 +68,7 @@ const routes = [
} }
}, },
{//求房源 {//求房源
path: '/needHousing', path: '/needHousing/:type?/:data?/:areaItem?/:types?',
component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/needHousing.vue'), component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/needHousing.vue'),
meta: { meta: {
title: '求房源', title: '求房源',
@@ -76,7 +76,7 @@ const routes = [
} }
}, },
{//搜索 {//搜索
path: '/seachPage', path: '/seachPage/:type?/:data?/:areaItem?/:types?',
component: () => import(/* webpackChunkName: "seachPage" */ '@/views/seachIndex.vue'), component: () => import(/* webpackChunkName: "seachPage" */ '@/views/seachIndex.vue'),
meta: { meta: {
title: '搜索', title: '搜索',