|
@@ -5,7 +5,7 @@
|
|
|
<image :src="'https://kiq.xazhima.com' + info.pic_url" alt=""></image>
|
|
<image :src="'https://kiq.xazhima.com' + info.pic_url" alt=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="name">
|
|
<view class="name">
|
|
|
- {{ info.name }}
|
|
|
|
|
|
|
+ {{ info.name || '-'}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="enterprise-item-box">
|
|
<view class="enterprise-item-box">
|
|
@@ -16,7 +16,7 @@
|
|
|
class="enterprise-item-name"
|
|
class="enterprise-item-name"
|
|
|
@click="change(idx)"
|
|
@click="change(idx)"
|
|
|
>
|
|
>
|
|
|
- {{ item }}
|
|
|
|
|
|
|
+ {{ item || '-'}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -33,7 +33,7 @@
|
|
|
:class="{ blue: item.name == '电话' }"
|
|
:class="{ blue: item.name == '电话' }"
|
|
|
@click="callphone"
|
|
@click="callphone"
|
|
|
>
|
|
>
|
|
|
- {{ value }}
|
|
|
|
|
|
|
+ {{ value || '-'}}
|
|
|
</p>
|
|
</p>
|
|
|
</view>
|
|
</view>
|
|
|
<view
|
|
<view
|
|
@@ -46,10 +46,10 @@
|
|
|
"
|
|
"
|
|
|
>
|
|
>
|
|
|
<view class="flex_i">
|
|
<view class="flex_i">
|
|
|
- <view class="">
|
|
|
|
|
- {{ item.value[0] }}
|
|
|
|
|
|
|
+ <view>
|
|
|
|
|
+ {{ item.value[0] || '-'}}
|
|
|
</view>
|
|
</view>
|
|
|
- <view
|
|
|
|
|
|
|
+ <view v-if="item.value[0]"
|
|
|
class="copy"
|
|
class="copy"
|
|
|
@click="copy(item.value[0])"
|
|
@click="copy(item.value[0])"
|
|
|
style="color: #02a7f0; margin-left: 15rpx"
|
|
style="color: #02a7f0; margin-left: 15rpx"
|
|
@@ -71,7 +71,7 @@
|
|
|
<view class="img">
|
|
<view class="img">
|
|
|
<image :src="'https://kiq.xazhima.com' + item.pic_url"></image>
|
|
<image :src="'https://kiq.xazhima.com' + item.pic_url"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="name">{{ item.name }}</view>
|
|
|
|
|
|
|
+ <view class="name">{{ item.name || '-'}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view v-else class="products">
|
|
<view v-else class="products">
|
|
@@ -120,9 +120,11 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
callphone(value) {
|
|
callphone(value) {
|
|
|
- uni.makePhoneCall({
|
|
|
|
|
- phoneNumber: this.info.phone,
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ if(this.info.phone){
|
|
|
|
|
+ uni.makePhoneCall({
|
|
|
|
|
+ phoneNumber: this.info.phone,
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
change(idx) {
|
|
change(idx) {
|
|
|
this.active = idx;
|
|
this.active = idx;
|