摘要: 一、text-overflow省略号样式语法结构 text-overflow语法:text-overflow : clip | ellipsis text-overflow参数值和解释:clip : 不显示省略标记(...),而是简单的裁切ellipsis : 当对象内文本溢出时显示省略标记(... 阅读全文
posted @ 2022-01-14 10:29 双手插在裤兜谁也不爱 阅读(445) 评论(0) 推荐(0)
摘要: 1. 从Nuget上找到这一个程序包(这个程序包兼容.net framework 4.7和.net core,之前引用过其他的程序包,发现并不兼容.net framework 4.7) 2.我重载了一个方法GenerateQRCode,用于生成带文字说明和不带文字说明的二维码。不带文字说明的二维码大 阅读全文
posted @ 2022-01-10 10:37 双手插在裤兜谁也不爱 阅读(394) 评论(0) 推荐(0)
摘要: eg:double n=2.50000; // or 250000 string resultstring=Format("{0:#.#}",n.) ; eg:decimal d=00500; d.ToString("0.##"); // .## 最多保留2位有效数字,但是不包含0。比如:d=0.5 阅读全文
posted @ 2021-12-22 10:47 双手插在裤兜谁也不爱 阅读(1667) 评论(0) 推荐(0)
摘要: /*方法一*/ .nav_mine { padding: 15px 20px; border-bottom: 1px solid #aca9a7; height: 75px; display: flex; align-items: center; overflow-y: hidden; flex-w 阅读全文
posted @ 2021-11-19 09:38 双手插在裤兜谁也不爱 阅读(476) 评论(0) 推荐(0)
摘要: 1、Layui 框架:http://layui-doc.pearadmin.com/doc/index.html 2、Bootstrap 框架:https://www.bootcss.com/ 3、Weui 框架:http://jqweui.com/ 阅读全文
posted @ 2021-11-15 16:24 双手插在裤兜谁也不爱 阅读(46) 评论(0) 推荐(0)
摘要: public override void RegisterArea(AreaRegistrationContext context) { //职位详情地址更改为html context.MapRoute( name:"Job_Detail", //自己命名 url:"mojob_{id}.html" 阅读全文
posted @ 2021-11-15 16:16 双手插在裤兜谁也不爱 阅读(71) 评论(0) 推荐(0)
摘要: 汉字 四角码 eg:0,1,2,3,4,5,6,7,8,9 var zeroSijiao = ShuZiService.Fetch(new SqlInfo { ReturnFields = new List<string> { Define.ShuZiEntity.Field.Ncid, Defin 阅读全文
posted @ 2021-08-13 15:33 双手插在裤兜谁也不爱 阅读(38) 评论(0) 推荐(0)
摘要: CodePointAt(0) //返回码点十进制值 eg: var a="?c"; a.CodePointAt(0); 如果想要十六进制可以使用toString(); eg: var a="?c"; a.CodePointAt(0).toString(16); 阅读全文
posted @ 2021-08-03 17:23 双手插在裤兜谁也不爱 阅读(103) 评论(0) 推荐(0)
摘要: 方法一: HTML: @foreach (var itemkangxi in Model.shuKangxiEntitiesList) { <strong>&#@{@itemkangxi.Code};</strong> } 方法二: @foreach (var itemzidic in Model. 阅读全文
posted @ 2021-08-03 17:16 双手插在裤兜谁也不爱 阅读(93) 评论(0) 推荐(0)
摘要: public static string tenToSixteen(int? code, int width) { int amount = (int)code; string current = ""; string codes = "0123456789ABCDEF"; // 设置16进制转换编 阅读全文
posted @ 2021-08-03 17:11 双手插在裤兜谁也不爱 阅读(171) 评论(0) 推荐(0)