更新
This commit is contained in:
@@ -35,7 +35,10 @@
|
||||
inactive-color="#BBBBBB" size='35' v-model="switchOpen"
|
||||
@change="change"></u-switch>
|
||||
</view>
|
||||
<view>{{dirverDetails.customerInfoVo.phone}}</view>
|
||||
<view>
|
||||
{{dirverDetails.customerInfoVo.phone}}
|
||||
<view class="copy" v-if="dirverDetails.customerInfoVo.phone" @tap.stop="copy(dirverDetails.customerInfoVo.phone)"></view>
|
||||
</view>
|
||||
<view style="font-size: 22rpx;color: #999999;">
|
||||
{{dirverDetails.customerInfoVo.createTime}}
|
||||
</view>
|
||||
@@ -328,6 +331,11 @@
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
copy(text) {
|
||||
uni.setClipboardData({
|
||||
data: text,
|
||||
});
|
||||
},
|
||||
dirverIndexFn(e){
|
||||
if(e){
|
||||
this.dirverIndex = 1;this.current=1
|
||||
@@ -852,4 +860,13 @@
|
||||
position: relative;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.copy {
|
||||
position: relative;
|
||||
top: 7rpx;
|
||||
display: inline-block;
|
||||
margin-left: 15rpx;
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
background: url('../../static/copy.png') 100%/ 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user