摘要:
type 0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层) 弹出层 //winIndex存储弹出层的index,以便关闭弹出层时使用 function openWindow(document){ winIndex = layer.open({ id:"add" //唯一 阅读全文
posted @ 2018-06-12 11:21
webmtjj
阅读(220)
评论(0)
推荐(0)
摘要:
加载样式 阅读全文
posted @ 2018-06-12 11:06
webmtjj
阅读(165)
评论(0)
推荐(0)
摘要:
html <div id="formData"> <form class="layui-form formBtn" style="margin-right:50px;margin-top:50px"> <input type="hidden" name="ID" id="id"> <div clas 阅读全文
posted @ 2018-06-12 11:05
webmtjj
阅读(197)
评论(0)
推荐(0)
摘要:
本文章为原创文章,转载请注明出处 html toolbar操作按钮 <script type="text/html" id="operationBtn"> <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a> <a class="layu 阅读全文
posted @ 2018-06-12 10:59
webmtjj
阅读(793)
评论(0)
推荐(0)
摘要:
模仿placeholder效果 <select id="IsTop"> <option value="" disabled selected>是否置顶</option> <option value="0">否</option> <option value="1">是</option> </selec 阅读全文
posted @ 2018-06-12 10:50
webmtjj
阅读(704)
评论(0)
推荐(0)
摘要:
解决方案 在连接字符串加入convert zero datetime=True 阅读全文
posted @ 2018-06-12 10:47
webmtjj
阅读(310)
评论(0)
推荐(0)
摘要:
本文章为原创文章,转载请注明出处 当时不知道为什么这样写,可能是突然间脑子停止了转动,既然犯过这样的错误,就记录下来吧 错误示例 var userList = _articleDal.GetList(a => a.ID > 0).Include(a=>a.User).Select(a => new 阅读全文
posted @ 2018-06-12 10:44
webmtjj
阅读(445)
评论(0)
推荐(1)
摘要:
本文章为原创文章,转载请注明出处 配置Session 在Startup.cs文件的ConfigureServices方法中添加session services.AddSession(); 在Startup.cs文件的Configure方法中使用session app.UseSession(); 设置 阅读全文
posted @ 2018-06-12 10:39
webmtjj
阅读(189)
评论(0)
推荐(0)
摘要:
本文章为原创文章,转载请注明出处 Cookie 客户端发送请求,参数放在请求体,服务器接收数据并存到cookie,服务器响应,cookie在响应体返回,下次请求时根据url决定带哪个cookie,cookie放在请求头发送到服务器。不同域名是无法共享浏览器端本地信息的。 Session 客户端发送请 阅读全文
posted @ 2018-06-12 10:32
webmtjj
阅读(482)
评论(1)
推荐(0)

浙公网安备 33010602011771号