no message
This commit is contained in:
File diff suppressed because one or more lines are too long
11
dist/img/informationWx.c0dafbe3.svg
vendored
11
dist/img/informationWx.c0dafbe3.svg
vendored
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -1,4 +1,4 @@
|
|||||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/favicon.ico"><title>港校租房</title><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/chunk-vendors.e0e9f2f6.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/app.1fb626e0.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/chunk-vendors.7885d77e.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/app.3ce72176.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but zufang doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><script src="https://app.gter.net/bottom?tpl=header&menukey=fang"></script><div id="app"></div><div style="display:none;"><script src="//v1.cnzz.com/z_stat.php?id=1281224882&web_id=1281224882"></script><script>var _hmt = _hmt || [];
|
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/favicon.ico"><title>港校租房</title><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/chunk-vendors.e0e9f2f6.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/js/app.d4e8bb48.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/chunk-vendors.7885d77e.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/fang/css/app.39c9c5e7.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but zufang doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><script src="https://app.gter.net/bottom?tpl=header&menukey=fang"></script><div id="app"></div><div style="display:none;"><script src="//v1.cnzz.com/z_stat.php?id=1281224882&web_id=1281224882"></script><script>var _hmt = _hmt || [];
|
||||||
(function () {
|
(function () {
|
||||||
var hm = document.createElement("script");
|
var hm = document.createElement("script");
|
||||||
hm.src = "//hm.baidu.com/hm.js?4bd66cbe45a640b607fe46c48f658746";
|
hm.src = "//hm.baidu.com/hm.js?4bd66cbe45a640b607fe46c48f658746";
|
||||||
|
|||||||
1
dist/js/app.1fb626e0.js
vendored
1
dist/js/app.1fb626e0.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/app.d4e8bb48.js
vendored
Normal file
1
dist/js/app.d4e8bb48.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -25,8 +25,6 @@ onMounted(() => {
|
|||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
|
||||||
watch(route, (newValue, oldValue) => {
|
watch(route, (newValue, oldValue) => {
|
||||||
console.log("1111111")
|
|
||||||
|
|
||||||
if (window._czc) {
|
if (window._czc) {
|
||||||
let location = window.location
|
let location = window.location
|
||||||
let contentUrl = location.pathname + location.hash
|
let contentUrl = location.pathname + location.hash
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ api.index().then(res => {
|
|||||||
store.state.wechat = res.data.wechat
|
store.state.wechat = res.data.wechat
|
||||||
store.state.apartment = res.data.config.apartment
|
store.state.apartment = res.data.config.apartment
|
||||||
store.state.schoolList = res.data.schoolList
|
store.state.schoolList = res.data.schoolList
|
||||||
|
store.state.advData = res.data.adv
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
app.mount('#app')
|
app.mount('#app')
|
||||||
})
|
})
|
||||||
@@ -2,6 +2,7 @@ import { createStore } from 'vuex'
|
|||||||
|
|
||||||
export default createStore({
|
export default createStore({
|
||||||
state: {
|
state: {
|
||||||
|
advData: [],
|
||||||
seachTypeData: [],
|
seachTypeData: [],
|
||||||
indexData: [],//首页数据
|
indexData: [],//首页数据
|
||||||
ListSelectBtn: [],//瀑布流选项
|
ListSelectBtn: [],//瀑布流选项
|
||||||
@@ -9,18 +10,18 @@ export default createStore({
|
|||||||
wechat: {}, // 微信号 二维码等数据
|
wechat: {}, // 微信号 二维码等数据
|
||||||
nav: [], // 顶部的导航数据
|
nav: [], // 顶部的导航数据
|
||||||
apartment: {}, // 公寓筛选的字段
|
apartment: {}, // 公寓筛选的字段
|
||||||
routeList:{
|
routeList: {
|
||||||
index:{
|
index: {
|
||||||
path:'/',
|
path: '/',
|
||||||
title:'港校租房'
|
title: '港校租房'
|
||||||
},
|
},
|
||||||
secondaryIndex:{
|
secondaryIndex: {
|
||||||
path:'',
|
path: '',
|
||||||
title:'',
|
title: '',
|
||||||
}
|
}
|
||||||
},//导航路由列表
|
},//导航路由列表
|
||||||
seachSelect:{
|
seachSelect: {
|
||||||
seachPage:{}
|
seachPage: {}
|
||||||
},//保存筛选条件
|
},//保存筛选条件
|
||||||
showloginmodal: false, // 是否需要登录状态
|
showloginmodal: false, // 是否需要登录状态
|
||||||
},
|
},
|
||||||
@@ -33,7 +34,7 @@ export default createStore({
|
|||||||
},
|
},
|
||||||
modules: {
|
modules: {
|
||||||
},
|
},
|
||||||
plugins:[
|
plugins: [
|
||||||
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -54,7 +54,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="information-wx-img" style="margin-top:20px;">
|
<div class="information-wx-img" style="margin-top:20px;">
|
||||||
<!-- <img src="../assets/homeImage/informationWx.svg" class="information-wx-img" alt=""> -->
|
<!-- <img src="../assets/homeImage/informationWx.svg" class="information-wx-img" alt=""> -->
|
||||||
<img v-lazy="`${require('@/assets/homeImage/informationWx.svg')}`" class="information-wx-img" alt="">
|
<!-- <img v-lazy="`${require('@/assets/homeImage/informationWx.svg')}`" class="information-wx-img" alt=""> -->
|
||||||
|
<img v-lazy="advData?.banner?.image" class="information-wx-img" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="information-right-box dis-f jus-bet"
|
<div class="information-right-box dis-f jus-bet"
|
||||||
@@ -179,6 +180,7 @@ let ListSelectBtn = reactive({ data: [], selectType: 'recommend' })
|
|||||||
//首页数据
|
//首页数据
|
||||||
let indexData = reactive({ data: {} })
|
let indexData = reactive({ data: {} })
|
||||||
let seachTypeData = reactive({ data: [] })
|
let seachTypeData = reactive({ data: [] })
|
||||||
|
let advData = ref({})
|
||||||
// api.index().then(res => {
|
// api.index().then(res => {
|
||||||
// if (res.code === 200) {
|
// if (res.code === 200) {
|
||||||
// seachTypeData.data = res.data.combination
|
// seachTypeData.data = res.data.combination
|
||||||
@@ -187,6 +189,7 @@ let seachTypeData = reactive({ data: [] })
|
|||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
|
advData.value = store.state.advData
|
||||||
seachTypeData.data = store.state.seachTypeData
|
seachTypeData.data = store.state.seachTypeData
|
||||||
indexData.data = store.state.indexData
|
indexData.data = store.state.indexData
|
||||||
ListSelectBtn.data = store.state.ListSelectBtn
|
ListSelectBtn.data = store.state.ListSelectBtn
|
||||||
|
|||||||
Reference in New Issue
Block a user