上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: [OutputCache(Duration=3600, VaryByParam="id)")]publicActionResult Contact(string id) { } 如:http://localhost:xxxx/Contact?id=a,http://localhost:xxxx/Co 阅读全文
posted @ 2021-03-12 13:49 苦逼的猿人 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 当宽度小于640px的时候加载css下的css-mobile.css<link href="css/css-mobile.css" rel="stylesheet" type="text/css" media="screen and (max-width: 640px)">当宽度大于640px的时候 阅读全文
posted @ 2021-03-12 13:45 苦逼的猿人 阅读(175) 评论(0) 推荐(0) 编辑
摘要: //悬浮窗 $(window).scroll(function () { if ($(this).scrollTop() > 245) { $('.jszb-side_ewm').addClass('head-fix') } else { $('.jszb-side_ewm').removeClas 阅读全文
posted @ 2021-03-12 13:39 苦逼的猿人 阅读(106) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html> <head> <title></title> <script src="~/Content/scripts/jquery.js"></script> <script type="text/javascript"> $(function () { $("# 阅读全文
posted @ 2021-02-25 22:12 苦逼的猿人 阅读(62) 评论(0) 推荐(0) 编辑
摘要: Stream s = System.Web.HttpContext.Current.Request.InputStream; byte[] b = new byte[s.Length]; s.Read(b, 0, (int)s.Length); string body = Encoding.UTF8 阅读全文
posted @ 2021-01-29 12:31 苦逼的猿人 阅读(205) 评论(0) 推荐(0) 编辑
摘要: <system.webServer> <!--如果想在路由器(RouteConfig)定义后缀.html那么需要加上下面代码--> <modules runAllManagedModulesForAllRequests="true" /> <rewrite> <rules> <rule name=" 阅读全文
posted @ 2020-11-30 17:09 苦逼的猿人 阅读(105) 评论(0) 推荐(0) 编辑
摘要: post http://192.168.1.88:9200/_analyze?pretty { "analyzer": "ik_max_word", "text": "南宁市环境卫生管理"} 阅读全文
posted @ 2020-10-14 14:08 苦逼的猿人 阅读(186) 评论(0) 推荐(0) 编辑
摘要: ik下载地址:https://github.com/medcl/elasticsearch-analysis-ik/releases?page=1 目录结构如图 extra_single_word.dic:常用的单个汉字extra_single_word_full.dic:全部的单个汉字extra_ 阅读全文
posted @ 2020-10-14 12:21 苦逼的猿人 阅读(2726) 评论(0) 推荐(0) 编辑
摘要: import html txt=html.unescape('&lt;li&gt;&#26085;&#21888;&#21017;') 打印出来:<li>日喀则 阅读全文
posted @ 2020-09-25 17:31 苦逼的猿人 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: IIS中“URL重写”安装 https://www.iis.net/downloads/microsoft/url-rewrite 来源:中国建筑市场网 阅读全文
posted @ 2020-09-16 10:19 苦逼的猿人 阅读(333) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页