Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a3168fdb6d
|
|
@ -541,8 +541,24 @@
|
|||
}
|
||||
|
||||
function showPayQrcode(id) {
|
||||
var url = "order/detail/payQrcode/" + id;
|
||||
$.modal.open("支付二维码", url, 290, 360);
|
||||
var url = "detail/payQrcode/" + id;
|
||||
<!-- $.modal.open("支付二维码", url, 290, 360);-->
|
||||
layer.open({
|
||||
type: 2,
|
||||
area: ['290px', '360px'],
|
||||
fix: false,
|
||||
//不固定
|
||||
maxmin: true,
|
||||
shade: 0.3,
|
||||
title: '支付二维码',
|
||||
content: url,
|
||||
btn: ['关闭'],
|
||||
// 弹层外区域关闭
|
||||
shadeClose: true,
|
||||
cancel: function(index) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -12,9 +12,8 @@
|
|||
<body class="gray-bg">
|
||||
<div id="payQrcode"></div>
|
||||
|
||||
<th:block th:include="include :: footer"/>
|
||||
<th:block th:include="include :: layout-latest-js"/>
|
||||
|
||||
<script th:src="@{/js/jquery.min.js}"></script>
|
||||
<script th:src="@{/js/jquery.qrcode.min.js}"></script>
|
||||
<script th:inline="javascript">
|
||||
var orderDetailId = '[[${orderId}]]';
|
||||
|
|
|
|||
Loading…
Reference in New Issue