|
|
@@ -115,8 +115,11 @@
|
|
|
<div v-if="checkInfo(storeInfo.enterprise.enAddress)">商家地址:{{storeInfo.enterprise.enAddress}}</div>
|
|
|
-->
|
|
|
<!--<div class="content-line link-url">在线咨询</div>-->
|
|
|
- <div v-if="checkInfo(storeInfo.enterprise.enTel)">致电:<a :href="'tel:' + storeInfo.enterprise.enTel" target="_blank" class="content-line link-url">{{storeInfo.enterprise.enTel}}</a></div>
|
|
|
- <div v-else>暂无联系方式</div>
|
|
|
+ <div v-if="checkInfo(storeInfo.enterprise.enTel)">电话:<a :href="'tel:' + storeInfo.enterprise.enTel" target="_blank" class="content-line link-url">{{storeInfo.enterprise.enTel}}</a></div>
|
|
|
+ <div v-if="checkInfo(storeInfo.enterprise.enPhone)">手机:<a :href="'tel:' + storeInfo.enterprise.enPhone" target="_blank" class="content-line link-url">{{storeInfo.enterprise.enPhone}}</a></div>
|
|
|
+ <div v-if="checkInfo(storeInfo.enterprise.enWeixin)">微信:<span class="content-line">{{storeInfo.enterprise.enWeixin}}</span></div>
|
|
|
+ <div v-if="checkInfo(storeInfo.enterprise.enQQ)">Q Q:<span class="content-line">{{storeInfo.enterprise.enQQ}}</span></div>
|
|
|
+ <div v-if="!empty">暂无联系方式</div>
|
|
|
<!--
|
|
|
<div v-if="checkInfo(storeInfo.enterprise.enEmail)">邮件:<a :href="'mailto:' + storeInfo.enterprise.enEmail" target="_blank" class="content-line link-url">{{storeInfo.enterprise.enEmail}}</a></div>
|
|
|
-->
|
|
|
@@ -176,6 +179,9 @@
|
|
|
},
|
|
|
component () {
|
|
|
return this.$store.state.shop.storeInfo.component.data
|
|
|
+ },
|
|
|
+ empty () {
|
|
|
+ return this.checkInfo(this.storeInfo.enterprise.enTel) || this.checkInfo(this.storeInfo.enterprise.enPhone) || this.checkInfo(this.storeInfo.enterprise.enWeixin) || this.checkInfo(this.storeInfo.enterprise.enQQ)
|
|
|
}
|
|
|
},
|
|
|
methods: {
|