|
@@ -85,11 +85,12 @@
|
|
<view class="tui-prompt-item">
|
|
<view class="tui-prompt-item">
|
|
<text class="text">户名:</text>
|
|
<text class="text">户名:</text>
|
|
{{ bigPayInfo.receiveName }}
|
|
{{ bigPayInfo.receiveName }}
|
|
|
|
+ <view class="copy" @click.stop="copyClipboard(bigPayInfo.receiveName)"><text class="iconfont icon-fuzhi_o"></text></view>
|
|
</view>
|
|
</view>
|
|
<view class="tui-prompt-item">
|
|
<view class="tui-prompt-item">
|
|
<text class="text">收款账号:</text>
|
|
<text class="text">收款账号:</text>
|
|
{{ bigPayInfo.receiveAccountNo }}
|
|
{{ bigPayInfo.receiveAccountNo }}
|
|
- <view class="clipboard" @click.stop="copyClipboard(bigPayInfo)">复制</view>
|
|
|
|
|
|
+ <view class="copy" @click.stop="copyClipboard(bigPayInfo.receiveAccountNo)"><text class="iconfont icon-fuzhi_o"></text></view>
|
|
</view>
|
|
</view>
|
|
<view class="tui-prompt-item">
|
|
<view class="tui-prompt-item">
|
|
<text class="text">银行:</text>
|
|
<text class="text">银行:</text>
|
|
@@ -248,7 +249,7 @@
|
|
}
|
|
}
|
|
this.PayService.PayOrderTransferUnion({payAmount:this.accMul(this.payAmount,100),orderId:this.orderId}).then(response =>{
|
|
this.PayService.PayOrderTransferUnion({payAmount:this.accMul(this.payAmount,100),orderId:this.orderId}).then(response =>{
|
|
this.bigPayInfo = JSON.parse(response.data.data.payInfo)
|
|
this.bigPayInfo = JSON.parse(response.data.data.payInfo)
|
|
- this.mbOrderId = response.data.data.mbOrderId;
|
|
|
|
|
|
+ this.mbOrderId = response.data.data.mbOrderId
|
|
this.modal = true
|
|
this.modal = true
|
|
console.log('PayInfo',this.bigPayInfo)
|
|
console.log('PayInfo',this.bigPayInfo)
|
|
})
|
|
})
|
|
@@ -408,12 +409,11 @@
|
|
},
|
|
},
|
|
copyClipboard(data){
|
|
copyClipboard(data){
|
|
//复制账号
|
|
//复制账号
|
|
- let thoruiData = data.receiveName + '' + data.receiveAccountNo
|
|
|
|
- thorui.getClipboardData(thoruiData, (res) => {
|
|
|
|
|
|
+ thorui.getClipboardData(data, (res) => {
|
|
if (res) {
|
|
if (res) {
|
|
- this.$util.msg('复制成功',2000,true,'success')
|
|
|
|
|
|
+ this.$util.msg('已复制',2000)
|
|
} else {
|
|
} else {
|
|
- this.$util.msg('复制失败',2000,true,'none')
|
|
|
|
|
|
+ this.$util.msg('复制失败',2000)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -422,7 +422,7 @@
|
|
thorui.getClipboardData(data, (res) => {
|
|
thorui.getClipboardData(data, (res) => {
|
|
if (res) {
|
|
if (res) {
|
|
this.isShowTip = false
|
|
this.isShowTip = false
|
|
- this.$util.msg('复制成功',2000,true,'success')
|
|
|
|
|
|
+ this.$util.msg('已复制',2000)
|
|
// 友盟埋点收集复制网银链接
|
|
// 友盟埋点收集复制网银链接
|
|
if(process.env.NODE_ENV != 'development'){
|
|
if(process.env.NODE_ENV != 'development'){
|
|
this.$uma.trackEvent('Um_Event_CopyUnionPay', {
|
|
this.$uma.trackEvent('Um_Event_CopyUnionPay', {
|
|
@@ -433,7 +433,7 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- this.$util.msg('复制失败',2000,true,'none')
|
|
|
|
|
|
+ this.$util.msg('复制失败',2000)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -764,19 +764,17 @@
|
|
.text{
|
|
.text{
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
- .clipboard{
|
|
|
|
|
|
+ .copy{
|
|
height: 38rpx;
|
|
height: 38rpx;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 0 24rpx;
|
|
padding: 0 24rpx;
|
|
- background:#FFE6DC;
|
|
|
|
text-align: center;
|
|
text-align: center;
|
|
- font-size: $font-size-22;
|
|
|
|
- color: #E15616;
|
|
|
|
- border-radius: 18rpx;
|
|
|
|
line-height: 36rpx;
|
|
line-height: 36rpx;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- margin-left: 20rpx;
|
|
|
|
- border: 1px solid #E15616;
|
|
|
|
|
|
+ .iconfont{
|
|
|
|
+ font-size: $font-size-40;
|
|
|
|
+ color: #666666;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|