chore(电子名片): 有电子邮箱或者有电话的时候,才显示对应的内容
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
<view class="text">{{ item.position }}</view>
|
<view class="text">{{ item.position }}</view>
|
||||||
<!-- <view class="text">{{item.mobile_text}}:{{item.mobile}}</view> -->
|
<!-- <view class="text">{{item.mobile_text}}:{{item.mobile}}</view> -->
|
||||||
<view class="text" style="padding-bottom:20rpx;color:#0054a5">{{ item.address }}</view>
|
<view class="text" style="padding-bottom:20rpx;color:#0054a5">{{ item.address }}</view>
|
||||||
<view class="contact_name"
|
<view class="contact_name" v-if="item.mobile"
|
||||||
style="padding-top:30rpx;padding-bottom:0rpx;border-top: solid 1px #eee;font-size:28rpx;display: flex;">
|
style="padding-top:30rpx;padding-bottom:0rpx;border-top: solid 1px #eee;font-size:28rpx;display: flex;">
|
||||||
<image mode="widthFix" :src="$util.img('public/static/img/boda.png')"
|
<image mode="widthFix" :src="$util.img('public/static/img/boda.png')"
|
||||||
style="margin-top: 8rpx;margin-right: 10rpx;"></image>
|
style="margin-top: 8rpx;margin-right: 10rpx;"></image>
|
||||||
@@ -54,12 +54,12 @@
|
|||||||
<view class="btn-container" @click="Tel(item.mobile)"><span class="contact-btn" style="background: #0054a5;">{{ $lang('call') }}</span>
|
<view class="btn-container" @click="Tel(item.mobile)"><span class="contact-btn" style="background: #0054a5;">{{ $lang('call') }}</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="contact_name"
|
<view class="contact_name" v-if="item.email"
|
||||||
style="padding-top:20rpx;padding-bottom:20rpx;font-size:28rpx;display: flex;">
|
style="padding-top:20rpx;padding-bottom:20rpx;font-size:28rpx;display: flex;">
|
||||||
<image mode="widthFix" :src="$util.img('public/static/img/emall.png')"
|
<image mode="widthFix" :src="$util.img('public/static/img/emall.png')"
|
||||||
style="margin-top: 8rpx;margin-right: 10rpx;"></image>
|
style="margin-top: 8rpx;margin-right: 10rpx;"></image>
|
||||||
<view style="flex: 1;">{{ item.email }}</view>
|
<view style="flex: 1;">{{ item.email }}</view>
|
||||||
<view class="btn-container" @click="copy(item.email)"><span class="contact-btn" style="background: #888;">{{ $lang('copy') }}</span>
|
<view class="btn-container" @click="copy(item.email)"><span class="contact-btn" style="background: #0054a5;">{{ $lang('copy') }}</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -546,7 +546,6 @@ image {
|
|||||||
margin-top: 0rpx;
|
margin-top: 0rpx;
|
||||||
margin-left: 10rpx;
|
margin-left: 10rpx;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: rgba(71, 71, 71, .79);
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user