修改详情顶部title

This commit is contained in:
A1300399510 2024-03-22 17:25:37 +08:00
parent 5db2d47c2d
commit 105b6dc4ae
9 changed files with 16 additions and 10 deletions

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
View File

@ -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&amp;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&amp;web_id=1281224882"></script><script>var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
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

File diff suppressed because one or more lines are too long

1
dist/js/housing.be860673.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -431,6 +431,8 @@ const init = () => {
qrcode.value = data["qrcode"]
handleAllCarouselsData()
document.title = data?.info?.title || '港校租房-品牌公寓详情'
nextTick(() => handleNavData())

View File

@ -614,7 +614,7 @@
</div>
<div class="houseing-info-box dis-f al-item jus-bet">
<div class="dis-f al-item">
房源ID : &nbsp<span class="houseing-id" @click="clone(housingInfo['data'] &&
房源ID : &nbsp;<span class="houseing-id" @click="clone(housingInfo['data'] &&
housingInfo['data'].info.id)">{{ housingInfo['data'] &&
housingInfo['data'].info.id }}</span>
<span class="browse-box">
@ -625,7 +625,7 @@
<div class="houseing-info-box-s"></div>
<div class="dis-f al-item">
<span>
收藏 : &nbsp<span class="text">
收藏 : &nbsp;<span class="text">
{{ housingInfo['data'] && housingInfo['data'].info.count_fav }}
</span>
</span>
@ -633,7 +633,7 @@
<div class="houseing-info-box-s"></div>
<div class="dis-f al-item">
<span>
发布 : &nbsp<span class="text">
发布 : &nbsp;<span class="text">
{{ housingInfo['data'] && housingInfo['data'].info.timestamp }}
</span>
</span>
@ -641,7 +641,7 @@
<div class="houseing-info-box-s"></div>
<div class="dis-f al-item" style="border-right:0px">
<span>
更新 : &nbsp<span class="text">
更新 : &nbsp;<span class="text">
{{ housingInfo['data'] && housingInfo['data'].info.updatetime }}
</span>
</span>
@ -1311,6 +1311,7 @@ let getHousingInfo = () => {
}).then(res => {
// console.log(res)
if (res.code === 200) {
const 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
setHousingArr()
@ -1331,6 +1332,9 @@ let getHousingInfo = () => {
loadMore.value = false
}
document.title = data?.info?.subject || '港校租房-详情'
} else {
ElMessage({
message: res.message