修改问题
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="fail-text">已存为草稿</div>
|
||||
<div class="fail-hint">房源数量已达上限</div>
|
||||
<div class="fail-hint" style="margin-bottom: 57px;">下架旧房源,便可发布新房源</div>
|
||||
<div class="fail-btn flexcenter">
|
||||
<div class="fail-btn flexcenter" @click.stop="$router.push('/user')">
|
||||
房源管理<img class="fail-btn-icon" src="@/assets/img/edit/fail-btn-icon.svg" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</el-carousel>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btm-seach-btn-box dis-f al-item jus-x" v-if="routePath !== '/seachPage'&&routePath !== '/detail'">
|
||||
<div class="btm-seach-btn-box dis-f al-item jus-x" v-if="routePath !== '/seachPage'&&routePath !== '/detail'&&routePath !== '/apartmentDetail'&&routePath !== '/edit'">
|
||||
<div class="body-maxWidth dis-f" style="height:48px;">
|
||||
<div class="tab-btn dis-f al-item jus-x" :class="{ 'tab-btn-click': item.path === tabBtnType }"
|
||||
v-for="(item, i) in seachTab.data" :key="i" @click="changeTabBtnType(item)">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="list-item" ref="list" @click="goDetail">
|
||||
<div class="list-item" ref="list" @click="goDetail(data.status)">
|
||||
<div class="authentication-box dis-f al-item" v-if="data.verified == 1">
|
||||
<img src="../../assets/homeImage/authenticationLogo.png" class="logo" alt="">
|
||||
<img src="../../assets/homeImage/topAuthenticationBg.svg" class="bg" alt="">
|
||||
@@ -190,7 +190,10 @@ watch(() => props.item.status, (newValue, oldValue) => {
|
||||
const cancelCollection = token => emit('cancelCollection', { token, index: props['index'] })
|
||||
|
||||
// 点击跳转详情页
|
||||
const goDetail = () => router.push(`/detail?uniqid=${data.uniqid}`)
|
||||
const goDetail = status => {
|
||||
console.log("status", status);
|
||||
if (status == 1) router.push(`/detail?id=${data.uniqid}`)
|
||||
}
|
||||
|
||||
// 跳转编辑页面
|
||||
const goEdit = () => router.push(`/edit?token=${data.token}`)
|
||||
|
||||
Reference in New Issue
Block a user