修改详情顶部title
This commit is contained in:
File diff suppressed because one or more lines are too long
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.12f7ab02.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.254dfcb1.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.037c2f97.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.254dfcb1.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";
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/js/housing.61560cf1.js
vendored
1
dist/js/housing.61560cf1.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/housing.be860673.js
vendored
Normal file
1
dist/js/housing.be860673.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -431,6 +431,8 @@ const init = () => {
|
|||||||
qrcode.value = data["qrcode"]
|
qrcode.value = data["qrcode"]
|
||||||
|
|
||||||
handleAllCarouselsData()
|
handleAllCarouselsData()
|
||||||
|
|
||||||
|
document.title = data?.info?.title || '港校租房-品牌公寓详情'
|
||||||
|
|
||||||
nextTick(() => handleNavData())
|
nextTick(() => handleNavData())
|
||||||
|
|
||||||
|
|||||||
@@ -614,7 +614,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="houseing-info-box dis-f al-item jus-bet">
|
<div class="houseing-info-box dis-f al-item jus-bet">
|
||||||
<div class="dis-f al-item">
|
<div class="dis-f al-item">
|
||||||
房源ID :  <span class="houseing-id" @click="clone(housingInfo['data'] &&
|
房源ID : <span class="houseing-id" @click="clone(housingInfo['data'] &&
|
||||||
housingInfo['data'].info.id)">{{ housingInfo['data'] &&
|
housingInfo['data'].info.id)">{{ housingInfo['data'] &&
|
||||||
housingInfo['data'].info.id }}</span>
|
housingInfo['data'].info.id }}</span>
|
||||||
<span class="browse-box">
|
<span class="browse-box">
|
||||||
@@ -625,7 +625,7 @@
|
|||||||
<div class="houseing-info-box-s"></div>
|
<div class="houseing-info-box-s"></div>
|
||||||
<div class="dis-f al-item">
|
<div class="dis-f al-item">
|
||||||
<span>
|
<span>
|
||||||
收藏 :  <span class="text">
|
收藏 : <span class="text">
|
||||||
{{ housingInfo['data'] && housingInfo['data'].info.count_fav }}
|
{{ housingInfo['data'] && housingInfo['data'].info.count_fav }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -633,7 +633,7 @@
|
|||||||
<div class="houseing-info-box-s"></div>
|
<div class="houseing-info-box-s"></div>
|
||||||
<div class="dis-f al-item">
|
<div class="dis-f al-item">
|
||||||
<span>
|
<span>
|
||||||
发布 :  <span class="text">
|
发布 : <span class="text">
|
||||||
{{ housingInfo['data'] && housingInfo['data'].info.timestamp }}
|
{{ housingInfo['data'] && housingInfo['data'].info.timestamp }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -641,7 +641,7 @@
|
|||||||
<div class="houseing-info-box-s"></div>
|
<div class="houseing-info-box-s"></div>
|
||||||
<div class="dis-f al-item" style="border-right:0px">
|
<div class="dis-f al-item" style="border-right:0px">
|
||||||
<span>
|
<span>
|
||||||
更新 :  <span class="text">
|
更新 : <span class="text">
|
||||||
{{ housingInfo['data'] && housingInfo['data'].info.updatetime }}
|
{{ housingInfo['data'] && housingInfo['data'].info.updatetime }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -1311,6 +1311,7 @@ let getHousingInfo = () => {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
const data = res.data;
|
||||||
housingInfo['data'] = res.data
|
housingInfo['data'] = res.data
|
||||||
pageType.value = housingInfo['data']['info'].intermediary === 1 ? 2 : housingInfo['data']['info'].intermediary === 6 ? 3 : 1 //1个人 2中介 3求房源
|
pageType.value = housingInfo['data']['info'].intermediary === 1 ? 2 : housingInfo['data']['info'].intermediary === 6 ? 3 : 1 //1个人 2中介 3求房源
|
||||||
setHousingArr()
|
setHousingArr()
|
||||||
@@ -1331,6 +1332,9 @@ let getHousingInfo = () => {
|
|||||||
loadMore.value = false
|
loadMore.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.title = data?.info?.subject || '港校租房-详情'
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: res.message
|
message: res.message
|
||||||
|
|||||||
Reference in New Issue
Block a user