TG.WXCRM.V4/WEB/Views/WeiXin/JZOrder/CommonPayInfo2.cshtml

96 lines
2.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@using WX.CRM.WebHelper;
@using System.Web;
@using WX.CRM.WEB.Controllers;
<style>
.sdRgt {
margin-left: 20px;
margin-right: 20px;
overflow-y: auto;
height: 100%;
}
.noindent {
margin-top: 20px;
padding-left: 50px;
font-size: 12px;
}
.noindent h4 {
font-weight: normal;
margin-top: 15px;
}
.noindent p {
margin-left: 10px;
line-height: 25px;
}
.mode {
font-size: 14px;
font-weight: normal;
}
.company {
margin-top: 40px;
font-size: 16px;
}
.ch{
font-size:20px;
font-weight:bold;
color:red;
}
</style>
@{
ViewBag.Title = "通用二维码";
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}
<div class="sdRgt">
<table width="100%">
<tr>
<td colspan="2">
<h4 style="font-size:16px; margin-top:10px;">开户行:招商银行股份有限公司北京东四环支行</h4>
<p style="font-size:16px;line-height:30px;">
户 名:东高(广东)科技发展有限公司 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;账 110905783010611
</p>
</td>
</tr>
</table>
@foreach (var item in ViewBag.PayInfo as List<PayInfo>)
{
<div class="ch">@item.CH</div>
<table width="100%">
<tr>
<td width="50%">
<div class="bank">
<img src="@item.ZFBUrl" style="max-width:100%;" />
</div>
</td>
<td width="50%" valign="top">
<div class="bank">
<img src="@item.WXUrl" style="max-width:100%;" />
</div>
</td>
</tr>
</table>
}
</div>
<script>
function copyToClipboard(txt, id) {
var clip = new ZeroClipboard.Client();
clip.setHandCursor(true);
var text = document.getElementById(txt).value;
clip.setText(text);
clip.glue(id);
clip.addEventListener("complete", function () {
alert("复制成功,你可以使用Ctrl+V 粘贴!");
});
}
</script>