修改详情页面的转发按钮显示问题
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="body-maxWidth mg-t-35">
|
||||
<breadcrumb :data="housingInfo['data']" :operation='setOperation'></breadcrumb>
|
||||
<el-affix :offset="0" @change="changeTitleType" z-index="700">
|
||||
<div class="top-bar-box dis-f jus-x" v-show="titleType">
|
||||
<div class="top-bar-box dis-f jus-x" v-if="titleType">
|
||||
<div class="top-bar dis-f al-item jus-bet">
|
||||
<div class="dis-f al-item">
|
||||
<img src="../assets/img/detail/authenticationHousing.png" class="authentication-housing"
|
||||
@@ -1256,23 +1256,23 @@ let setOperation = () => {
|
||||
//获取联系方式
|
||||
let concatData = reactive({})
|
||||
let getConcatData = () => {
|
||||
if (concatData['data']) return
|
||||
if (concatData['data']) {
|
||||
showConcat.value = true
|
||||
return
|
||||
}
|
||||
api.contactData({
|
||||
token: housingInfo['data'].token
|
||||
}).then(res => {
|
||||
console.log(res)
|
||||
if (res.code === 200) {
|
||||
showConcat.value = true
|
||||
concatData['data'] = res.data
|
||||
let dataCount = 0
|
||||
Object.keys(concatData['data']).map(res => {
|
||||
console.log(res === 'wechatdata' && concatData['data'][res].aid != 0)
|
||||
if ((concatData['data'][res] && res != 'wechatdata') || (res === 'wechatdata' && concatData['data'][res].aid != 0)) {
|
||||
dataCount++
|
||||
}
|
||||
})
|
||||
concatData['data']['count'] = dataCount
|
||||
console.log(concatData)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user