|
|
@ -6,22 +6,23 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-color-gray">服务时间</view> |
|
|
<view class="lf-color-gray">服务时间</view> |
|
|
<view>{{ info.service_period }}</view> |
|
|
|
|
|
|
|
|
<view>{{ info.service_period || '-' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="lf-row-between item" @click="makePhoneCall"> |
|
|
<view class="lf-row-between item" @click="makePhoneCall"> |
|
|
<view class="lf-color-gray">客服电话</view> |
|
|
<view class="lf-color-gray">客服电话</view> |
|
|
<view style="color: #1E89FF!important;">{{ info.phone }}</view> |
|
|
|
|
|
|
|
|
<view style="color: #1E89FF!important;">{{ info.phone || '-' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-color-gray">联系地址</view> |
|
|
<view class="lf-color-gray">联系地址</view> |
|
|
<view style="max-width: 500rpx;">{{ info.address }}</view> |
|
|
|
|
|
|
|
|
<view style="max-width: 500rpx;">{{ info.address || '-' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-color-gray">客服微信</view> |
|
|
<view class="lf-color-gray">客服微信</view> |
|
|
<view> |
|
|
|
|
|
|
|
|
<view v-if="info.wechat"> |
|
|
<text>{{ info.wechat }}</text> |
|
|
<text>{{ info.wechat }}</text> |
|
|
<text class="lf-m-l-20 lf-color-primary" @click="copy">复制</text> |
|
|
<text class="lf-m-l-20 lf-color-primary" @click="copy">复制</text> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view v-else>-</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-row-between item"> |
|
|
<view class="lf-color-gray">当前版本</view> |
|
|
<view class="lf-color-gray">当前版本</view> |
|
|
@ -46,11 +47,12 @@ |
|
|
// 获取信息 |
|
|
// 获取信息 |
|
|
getInfo(){ |
|
|
getInfo(){ |
|
|
this.$http(this.API.API_CONTACT).then(res => { |
|
|
this.$http(this.API.API_CONTACT).then(res => { |
|
|
this.info = res.data; |
|
|
|
|
|
|
|
|
this.info = res.data || {}; |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 拨打电话 |
|
|
// 拨打电话 |
|
|
makePhoneCall(){ |
|
|
makePhoneCall(){ |
|
|
|
|
|
if(!this.info?.phone) return; |
|
|
uni.makePhoneCall({ |
|
|
uni.makePhoneCall({ |
|
|
phoneNumber: this.info.phone |
|
|
phoneNumber: this.info.phone |
|
|
}) |
|
|
}) |
|
|
|