master
james.zhao 6 years ago
parent 173881f899
commit 85dda62035

@ -576,8 +576,8 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload'], funct
}
};
$scope.clientCopyYeepayLink = function() {
var e=document.getElementById("c-cpyeepay");
$scope.clientCopyCBBannkPayLink = function() {
var e=document.getElementById("c-cpcbbankpay");
e.select();
var successful = document.execCommand("Copy");
if (successful) {

@ -188,26 +188,26 @@
</div>
</div>
<div class="panel panel-default" ng-if="partner.enable_yeepay&&partner.yeepay_pay_url">
<div class="panel-heading">Yeepay Link
<div class="panel panel-default" ng-if="partner.enable_cb_bankpay&&partner.enable_cb_bankpay_link">
<div class="panel-heading">CB Bank Pay
</div>
<div class="panel-body">
<div class="form-horizontal">
<div class="form-group">
<label class="control-label col-sm-2">Yeepay Link</label>
<label class="control-label col-sm-2">CB Bank Pay Link</label>
<div class="col-sm-10">
<a href={{partner.yeepay_pay_url}} target="_Blank">
<span class="form-control-static">{{partner.yeepay_pay_url}}
<span class="form-control-static">{{partner.cb_bankpay_url}}
</span>
</a>
<i class="fa fa-clipboard margin-r-5" style="cursor: pointer" ng-click="clientCopyYeepayLink()"></i>
<input style="opacity: 0" id="c-cpyeepay" value={{partner.yeepay_pay_url}} readonly>
<i class="fa fa-clipboard margin-r-5" style="cursor: pointer" ng-click="clientCopyCBBannkPayLink()"></i>
<input style="opacity: 0" id="c-cpcbbankpay" value={{partner.cb_bankpay_url}} readonly>
</div>
</div>
<div class="form-group" style="display: flex">
<label class="col-sm-2 control-label">Yeepay QR Code</label>
<label class="col-sm-2 control-label">CB Bank Pay QR Code</label>
<div style="text-align: center">
<img ng-src="{{partner.yeepayQrcodeUrl}}" class="img-responsive" />
<img ng-src="{{partner.cbBankPayQrcodeUrl}}" class="img-responsive" />
<span style="font-size:9px;">仅支持微信客户端扫描</span>
</div>

Loading…
Cancel
Save