2019年4月1日
摘要: 学习代码 1.Vue绑定属性 2.双向数据,事件以及ref获取dom节点 <input ref='xxxx' stype=input /> (this.$refs.xxxx.value),取值,其中this.$refs.xxxx 为dom节点,可以进行js操作 3.绑定html属性 例如 data( 阅读全文
posted @ 2019-04-01 01:54 尧山大佛 阅读(170) 评论(0) 推荐(0) 编辑
  2018年11月26日
摘要: a="<div id='div1'><a id='a1'>1</a><a id='a2'></a></div>" b=xmltodict.parse(a) b=OrderedDict([('div', OrderedDict([('@id', 'div1'), ('a', [OrderedDict( 阅读全文
posted @ 2018-11-26 23:28 尧山大佛 阅读(245) 评论(0) 推荐(0) 编辑
  2018年8月29日
摘要: 前台代码,js处理,注意的一点就是js中数组push(类似append)必须是字符串或者数字,直接"xxxx"转成字符串。 阅读全文
posted @ 2018-08-29 01:39 尧山大佛 阅读(4817) 评论(1) 推荐(0) 编辑
  2018年8月3日
摘要: 重点 1.ajax-get 获取的数据如下所示 {'status': 'success', 'message': '获取成功', 'list': [{'model': 'app01.article', 'pk': 1, 'fields': {'title': '渺小的人类111111111', 'c 阅读全文
posted @ 2018-08-03 06:28 尧山大佛 阅读(222) 评论(0) 推荐(0) 编辑
  2018年8月2日
摘要: 一.重点 1.Ajax 提交 2.后台接口处理Post请求 见下面源码 3.html里面需要隐藏id,用来更新数据使用。 4.获取数据到模态对话框 二.源码 python 的视图 python的url HTML 阅读全文
posted @ 2018-08-02 02:42 尧山大佛 阅读(599) 评论(0) 推荐(0) 编辑
  2018年8月1日
摘要: Title hostname: port: IP地址 端口 操作 ... 阅读全文
posted @ 2018-08-01 00:36 尧山大佛 阅读(898) 评论(0) 推荐(0) 编辑
  2018年7月31日
摘要: 点击展开,再点闭合 阅读全文
posted @ 2018-07-31 00:49 尧山大佛 阅读(386) 评论(0) 推荐(0) 编辑
  2018年7月30日
摘要: 12312312 Title 选项 ip地址 端口 ... 阅读全文
posted @ 2018-07-30 23:21 尧山大佛 阅读(393) 评论(0) 推荐(0) 编辑
摘要: Title 服务进程: IP地址: 端口号: 进程 ... 阅读全文
posted @ 2018-07-30 01:16 尧山大佛 阅读(244) 评论(0) 推荐(0) 编辑
  2018年7月28日
摘要: 1.html 的 input 2.css的图标背景和发float 3.js取值 4.js计时器,文字滚动实现 阅读全文
posted @ 2018-07-28 01:01 尧山大佛 阅读(564) 评论(0) 推荐(0) 编辑