更新
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
<view :style="{color:item.userName?'':'#999999'}">{{item.userName?item.userName:' 无设置'}}</view>
|
||||
<view>
|
||||
{{item.phone?item.phone:'无设置'}}
|
||||
<view class="copy" v-if="item.phone" @tap.stop="copy(item.phone)"></view>
|
||||
</view>
|
||||
<view class="form-item_body_left_bottom_text" style="">{{item.companyName?item.companyName :'无直属公司'}}</view>
|
||||
</view>
|
||||
@@ -130,6 +131,11 @@
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
copy(text) {
|
||||
uni.setClipboardData({
|
||||
data: text,
|
||||
});
|
||||
},
|
||||
scrolltolower() {
|
||||
this.getData.currentPage+=1
|
||||
console.log('触底了')
|
||||
@@ -379,4 +385,13 @@
|
||||
.top {
|
||||
height: var(--status-bar-height);
|
||||
}
|
||||
.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