摘要: function myJquery(selector){ if(typeof selector=="string") { if (selector.charAt(0) == "<" && selector.slice(-1) == ">") { var ele = selector.slice(1, 阅读全文
posted @ 2019-03-13 14:18 我们如此闪耀 阅读(710) 评论(0) 推荐(0) 编辑
摘要: Jinja2用法总结 一:渲染模版 要渲染一个模板,通过render_template方法即可。 @app.route('/about/') def about(): # return render_template('about.html',user='username') return rend 阅读全文
posted @ 2019-03-13 14:13 我们如此闪耀 阅读(4375) 评论(0) 推荐(0) 编辑
摘要: http://www.aspxfans.com:8080/news/index.asp?boardID=5&ID=24618&page=1#name 从上面的URL可以看出,一个完整的URL包括以下几部分: 1.协议部分(protoca)l:该URL的协议部分为“http:”,这代表网页使用的是HT 阅读全文
posted @ 2019-03-13 14:12 我们如此闪耀 阅读(368) 评论(0) 推荐(0) 编辑