|
|
@@ -17,7 +17,7 @@
|
|
|
<view style="position: relative;">
|
|
|
<i @click.stop="callUp(detailInfo.customMobile)" class="iconfont icondianhua1"></i>
|
|
|
<i @click.stop="navigateTo(detailInfo.lat,detailInfo.long,detailInfo.customName)" class="iconfont icondianhua" style="font-size:53upx;margin-left:40upx;margin-right:25upx;color:#3385ff;"></i>
|
|
|
- <button class="admin-button-com bule" @click.stop="copyCustom(detailInfo)" style="position: absolute;right:25upx;top:90upx;width:140upx;height:70upx;line-height:50upx;">复制</button>
|
|
|
+ <button class="admin-button-com bule" @click.stop="copyCustom(detailInfo)" style="position: absolute;right:25upx;top:70upx;width:140upx;height:80upx;line-height:60upx;">复制</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -692,12 +692,7 @@ export default {
|
|
|
that.$util.confirmModal({content:'请选择操作项',okText:'修改',cancelText:'复制',cacelTextColor:'#38ADFF',okTextColor:'#37863a'},() => {
|
|
|
that.beginModify(val)
|
|
|
},()=>{
|
|
|
- // #ifdef MP-WEIXIN
|
|
|
- that.$msg('APP上才能用复制功能')
|
|
|
- // #endif
|
|
|
- // #ifdef APP-PLUS
|
|
|
that.copyRemark(val)
|
|
|
- // #endif
|
|
|
})
|
|
|
},
|
|
|
backBefore(){
|
|
|
@@ -726,26 +721,11 @@ export default {
|
|
|
}
|
|
|
let val = address+"\n"+customName+" "+customMobile
|
|
|
const self = this
|
|
|
- // #ifdef MP-WEIXIN
|
|
|
- self.$msg('APP上才能发起复制,请下载APP')
|
|
|
- // #endif
|
|
|
- // #ifdef APP-PLUS
|
|
|
- uni.setClipboardData({
|
|
|
- data: val,
|
|
|
- success: function() {
|
|
|
- self.$msg("客户资料复制成功")
|
|
|
- }
|
|
|
- })
|
|
|
- // #endif
|
|
|
+ uni.setClipboardData({ data: val, success: function() { self.$msg("复制成功") } })
|
|
|
},
|
|
|
copyRemark(val){
|
|
|
const self = this
|
|
|
- uni.setClipboardData({
|
|
|
- data: val,
|
|
|
- success: function() {
|
|
|
- self.$msg("复制成功")
|
|
|
- }
|
|
|
- });
|
|
|
+ uni.setClipboardData({ data: val, success: function() { self.$msg("复制成功") } })
|
|
|
},
|
|
|
giveItemFn(item){
|
|
|
this.givePopShow = true
|