提交
This commit is contained in:
@@ -179,7 +179,7 @@ const handleScroll = (event) => {
|
|||||||
// 点击跳转详情页
|
// 点击跳转详情页
|
||||||
const goDetail = (uniqid, status) => {
|
const goDetail = (uniqid, status) => {
|
||||||
if (status != 1) return
|
if (status != 1) return
|
||||||
router.push(`/detail?uniqid=${uniqid}`);
|
router.push(`/detail?id=${uniqid}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ axios.interceptors.request.use( //响应拦截
|
|||||||
showFullScreenLoading()
|
showFullScreenLoading()
|
||||||
// 开发时登录用的,可以直接替换小程序的 authorization
|
// 开发时登录用的,可以直接替换小程序的 authorization
|
||||||
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3"
|
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3"
|
||||||
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg"
|
if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg"
|
||||||
return config;
|
return config;
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="type-text">
|
<div class="type-text">
|
||||||
{{ !housingInfo['data'] || housingInfo['data'] &&
|
{{ !housingInfo['data'] || housingInfo['data'] &&
|
||||||
housingInfo['data'].info.rentalduration
|
housingInfo['data'].info && housingInfo['data'].info.rentalduration
|
||||||
=== '0' ?
|
=== '0' ?
|
||||||
'不限' : `${ indexData['data']&&indexData['data']['config']&&indexData['data']['config']['rentalduration'][housingInfo['data'] && housingInfo['data'].info.rentalduration]}` }}
|
'不限' : `${ indexData['data']&&indexData['data']['config']&&indexData['data']['config']['rentalduration'][housingInfo['data'] && housingInfo['data'].info.rentalduration]}` }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user