SuLei.Web/admin/dialog/dialog_print.aspx
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dialog_print.aspx.cs" Inherits="SuLei.Web.admin.dialog.dialog_print" %>
<%@ Import namespace="SuLei.Common" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>打印订单窗口</title>
<script type="text/javascript" charset="utf-8" src="../scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/common.js"></script>
<script type="text/javascript">
var api = top.dialog.get(window); //获取父窗体对象
//页面加载完成执行
$(function () {
//设置按钮及事件
api.button([{
value: '确认打印',
callback: function () {
printWin();
},
autofocus: true
}, {
value: '取消',
callback: function () { }
}]);
});
//打印方法
function printWin() {
var oWin = window.open("", "_blank");
oWin.document.write(document.getElementById("content").innerHTML);
oWin.focus();
oWin.document.close();
oWin.print();
oWin.close();
return false;
}
</script>
</head>
<body style="margin:0;">
<form id="form1" runat="server">
<div id="content">
<table width="800" border="0" align="center" cellpadding="3" cellspacing="0" style="font-size:12px; font-family:'微软雅黑'; background:#fff;">
<tr>
<td width="346" height="50" style="font-size:20px;"><%=sysConfig.webname%>商品订单</td>
<td width="216">订单号:<%=model.order_no%><br />
日 期:<%=model.add_time.ToString("yyyy-MM-dd")%></td>
<td width="220">操 作 人:<%=adminModel.user_name%><br />打印时间:<%=DateTime.Now%></td>
</tr>
<tr>
<td colspan="3" style="padding:10px 0; border-top:1px solid #000;">
<asp:Repeater ID="rptList" runat="server">
<HeaderTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="5" style="font-size:12px; font-family:'微软雅黑'; background:#fff;">
<tr>
<td align="left" style="background:#ccc;">商品信息</th>
<td width="12%" align="left" style="background:#ccc;">销售价</td>
<td width="12%" align="left" style="background:#ccc;">优惠价</td>
<td width="10%" align="left" style="background:#ccc;">数量</td>
<td width="10%" align="left" style="background:#ccc;">积分</td>
后面还有 74 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
