添加复制whatsApp 手机号 邮箱

This commit is contained in:
浅念
2025-07-23 10:16:29 +08:00
parent cbfe96119a
commit e6851b4c5c
3 changed files with 31 additions and 9 deletions
+15 -3
View File
@@ -13,13 +13,25 @@
<u-line margin="20rpx 0px" color="#fff" :hairline="false"></u-line>
<view class="cont">
<view class="title">
<view class=""><text class="name">{{datas.phone}}</text></view>
<view class="">
<u-tooltip :text="datas.phone" :copyText="datas.phone" :showCopy="true">
<text class="name" @click.stop>{{datas.phone}}</text>
</u-tooltip>
</view>
<view class="ststus" v-if="datas.channel_name!=''">{{$t('channel')}}:{{datas.channel_name}}</view>
</view>
<view class="info"><text class="sex">{{datas.sex_txt}}</text> | <text class="addr">{{datas.country_name}}</text><text class="type">{{datas.car_type_name}}</text>
</view>
<view v-if="datas.email!=''">Email: {{datas.email}}</view>
<view v-if="datas.WhatsApp!=''">WhatsAPP: {{datas.WhatsApp}}</view>
<view v-if="datas.email!=''">
<u-tooltip :text="datas.email" :copyText="datas.email" :showCopy="true">
<text @click.stop>Email: {{datas.email}}</text>
</u-tooltip>
</view>
<view v-if="datas.WhatsApp!=''">
<u-tooltip :text="datas.WhatsApp" :copyText="datas.WhatsApp" :showCopy="true">
<text @click.stop>WhatsAPP: {{datas.WhatsApp}}</text>
</u-tooltip>
</view>
<view v-if="datas.address!=''">{{$t('customer.Company')}}: {{datas.address}}</view>
<view v-if="datas.describe!=''">{{$t('remarks')}}: {{datas.describe}}</view>
</view>
+11 -5
View File
@@ -26,8 +26,8 @@
<u-swipe-action>
<u-swipe-action-item :options="options1" v-for="(item, index) in datalist" :key="index" @click="delClick(item)">
<view class="contents" >
<view class="" @click="godetile(item)">
<view class="top">
<view class="" >
<view class="top" @click="godetile(item)">
<view class="">{{item.created_at}}</view>
<view class="right">
<text class="medal" :style="{color:(item.magnitude == 0 ?'#F5AB00' : item.magnitude == 1 ?'#8495B8': '#9B7200')}">{{item.magnitude_txt}}</text>
@@ -37,10 +37,16 @@
<u-line margin="20rpx 0px"></u-line>
<view class="cont">
<view class="title">
<view class=""><text class="name">{{item.contacts}}</text><text class="phone">{{item.phone}}</text></view>
<view class="ststus">{{item.grade_txt}}</view>
<view class="">
<text class="name">{{item.contacts}}</text>
<u-tooltip :text="item.phone" :copyText="item.phone" :showCopy="true">
<text class="phone" @click.stop>{{item.phone}}</text>
</u-tooltip>
</view>
<view class="ststus" @click="godetile(item)">{{item.grade_txt}}</view>
</view>
<view class="info"><text class="sex">{{item.sex_txt}}</text> | <text class="addr">{{item.country_name}}</text><text class="type">{{item.car_type_name}}</text>
<view class="info" @click="godetile(item)">
<text class="sex">{{item.sex_txt}}</text> | <text class="addr">{{item.country_name}}</text><text class="type">{{item.car_type_name}}</text>
</view>
</view>
</view>
+5 -1
View File
@@ -68,7 +68,11 @@
<view class=""><text class="name">{{item.contacts}}</text></view>
<countdown :total-seconds="item.follow_remaining" :show-days="true" @end="onCountdownEnd" />
</view>
<view class=""><text class="phone">{{item.phone}}</text></view>
<view class="">
<u-tooltip :text="item.phone" :copyText="item.phone" :showCopy="true">
<text class="phone" @click.stop>{{item.phone}}</text>
</u-tooltip>
</view>
<view class="">{{$t('nextgjtime')}}:<text>{{item.follow_next}}</text></view>
</view>
</view>