上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 54 下一页
摘要: 方法一:使用requests模块 阅读全文
posted @ 2019-09-29 17:37 aaronthon 阅读(6870) 评论(0) 推荐(0) 编辑
摘要: JavaScript分为 ECMAScript,DOM,BOM。 BOM(Browser Object Model)是指浏览器对象模型,它使 JavaScript 有能力与浏览器进行“对话”。 DOM (Document Object Model)是指文档对象模型,通过它,可以访问HTML文档的所有 阅读全文
posted @ 2019-09-29 17:28 aaronthon 阅读(182) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title>Hello Qunee for HTML5</title> <meta charset="utf-8"> </head> <body> <div style="height: 500px;" id="canvas"></div> <script src="./qunee/qunee-min.js"></sc 阅读全文
posted @ 2019-09-20 20:10 aaronthon 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 如果不生效,重新加载js。 阅读全文
posted @ 2019-09-20 17:35 aaronthon 阅读(500) 评论(0) 推荐(0) 编辑
摘要: concat(str1, str2, ...) 返回结果为连接一起的字符串。 concat_ws(separator, str1, str2, ...) 同concat,但是可以指定连接符,separator就是连接符参数。 group_concat(str1, str2, ...) 配合group 阅读全文
posted @ 2019-09-18 10:00 aaronthon 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 导入文件路径错误,需要修改。比如JS文件路径。 阅读全文
posted @ 2019-09-06 17:08 aaronthon 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 由于有些公司设计的js文件涉及到收费问题,提供的这些js文件不能部署到线上,只能通过127.0.0.1:8080/home类似方式访问js才能生效,换作10.140.111.11:8080/home这类真实服务器IP去访问,导致JS文件会在几秒或十几秒内失效。 解决方式:每次请求这个JS文件时,加载 阅读全文
posted @ 2019-08-30 19:55 aaronthon 阅读(575) 评论(0) 推荐(0) 编辑
摘要: // bootstrap下拉菜单 Action Action Another action Something else here Separated link // 点击拉下框选项,替换展示内容$(".a-1").click(function () { var val = $(this).html();... 阅读全文
posted @ 2019-08-21 21:06 aaronthon 阅读(815) 评论(0) 推荐(0) 编辑
摘要: var a = [1,2,3,4,5] for(var j in a){ $("#" + j).click(function () { // 前提是先动态生成id是j的标签 var id_cm = $(this).attr("id"); // 注意参数要获取当前点击标签的id,不要传j,因为当点击标签时j始终是5(就是最后一个值),可以自己去验证。 iota(id_cm); }) } functi 阅读全文
posted @ 2019-08-21 10:52 aaronthon 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: Celery是一个异步任务的调度工具。 详细介绍以后补充,直接上代码和使用方法。如下: celery_homedir文件夹,包含整个celery全部配置的文件。 celery_subdir文件夹是二级目录,包含全部异步任务。 celery_subtasks1.py包含单个子任务全部代码。 celer 阅读全文
posted @ 2019-08-19 22:01 aaronthon 阅读(274) 评论(2) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 54 下一页