上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: public class DbHelper { static string connstr = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; //public static IDbConnec 阅读全文
posted @ 2020-09-01 13:53 妖狐鬼魅 阅读(473) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE [dbo].[UserInfo]( [UserID] [int] IDENTITY(1,1) NOT NULL, [UserName] [nvarchar](50) NULL, [Phone] [nvarchar](50) NULL, [State] [int] NULL, 阅读全文
posted @ 2020-08-29 15:32 妖狐鬼魅 阅读(176) 评论(0) 推荐(0) 编辑
摘要: GlobalConfig config = new GlobalConfig(); SimplePechkin pechkin = new SimplePechkin(config); ObjectConfig objectConfig = new ObjectConfig(); objectCon 阅读全文
posted @ 2020-08-27 10:19 妖狐鬼魅 阅读(816) 评论(0) 推荐(0) 编辑
摘要: 页面A中弹出页面B,在页面B中弹出页面C,在layer做嵌套ifframe弹出时会遇到C页面被嵌套在B页面中,如果C尺寸大于B,则C将不能显示完整。这个时候可以考虑B,C页面均由A页面弹出从而避免嵌套带来的问题。废话少说,直接上代码。 1.A弹出B: 在A.html中插入一下代码 layer.ope 阅读全文
posted @ 2020-07-30 11:42 妖狐鬼魅 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 实现iframe高宽度自适应、无滚动条、无边框 父页html代码: <iframe id="iframe_A" src="Market-P2.html" style="z-index: 1; visibility: inherit;width: 100%;border: none; "></ifra 阅读全文
posted @ 2020-07-30 10:09 妖狐鬼魅 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 在做登陆页面等的首页的时候,经常会遇到需要放一张背景大图的情况,并且需要图片按比例缩放,来适应不同屏幕的大小。 html代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" 阅读全文
posted @ 2020-07-22 11:51 妖狐鬼魅 阅读(439) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// json转换帮助类 /// </summary> public static class JsonHelper { /* 实例: JObject obj = new JObject(); obj.Add("code", "0"); obj.Add("msg", " 阅读全文
posted @ 2020-07-21 14:22 妖狐鬼魅 阅读(156) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>layui</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" c 阅读全文
posted @ 2020-07-18 17:07 妖狐鬼魅 阅读(10538) 评论(2) 推荐(1) 编辑
摘要: 今天使用layui table方法渲染时出现了个莫名其妙的错误 正常情况table应该是这样展示的 但是却展示成了这样 格子没对齐,找了半天原因发现是在table.render中的cols参数多了一个"," 不细心一点真看不出来 正常结构应是 lemon.renderTable({ url:"" , 阅读全文
posted @ 2020-07-18 15:34 妖狐鬼魅 阅读(2279) 评论(0) 推荐(0) 编辑
摘要: //***************************************参数辅助对象***************************************/ //公共参数辅助对象 var ObjParameter = { //获取url参数值 //注意:参数值最好不用中文,会有编码 阅读全文
posted @ 2020-05-30 09:45 妖狐鬼魅 阅读(259) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页