BUG 25784

This commit is contained in:
aixianling
2021-12-23 16:42:14 +08:00
parent 13b6a85497
commit de5bcb1e22
6 changed files with 295 additions and 214 deletions

View File

@@ -95,7 +95,7 @@
<div class="info-flex">
<span class="label">楼栋长</span>
<span
class="value">{{ building.managerName || '' }}&nbsp;&nbsp;{{building.managerPhone || '' }}
class="value">{{ building.managerName || '' }}&nbsp;&nbsp;{{ building.managerPhone || '' }}
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(detailInfo.build.managerPhone)"
class="phone-icon" v-if="detailInfo.build.managerPhone">
</span>
@@ -341,18 +341,13 @@ export default {
})
},
toList() {
this.$emit('change', {
type: 'List',
})
uni.navigateTo({url: './list'})
},
callPhone(phone) {
uni.makePhoneCall({phoneNumber: phone})
},
toDetail(id) {
this.$emit('change', {
type: 'Detail',
params: {id}
})
uni.navigateTo({url: `./detail?id=${id}`})
},
}
}