摘要: DOM操作 1、 找到标签直接查找 document.getElementById 根据ID获取一个标签 document.getElementsByName 根据name属性获取标签集合 document.getElementsByClassName 根据class属性获取标签集合 documen 阅读全文
posted @ 2017-07-29 20:14 莫柔落切 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 后台管理页面: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>后台管理页面</title> 6 7 <style type="text/css"> 8 /*顶部菜单*/ 9 .pag-h 阅读全文
posted @ 2017-07-25 19:02 莫柔落切 阅读(338) 评论(0) 推荐(0) 编辑
摘要: rabbitmq_server_topic topic模式 1 #!/usr/bin/env python 2 #{data} {time} 3 #_*_coding:utf-8_*_ 4 5 import pika,sys,time 6 connection = pika.BlockingConn 阅读全文
posted @ 2017-07-20 20:15 莫柔落切 阅读(207) 评论(0) 推荐(0) 编辑
摘要: direct_client:广播接收 1 #!/usr/bin/env python 2 3 #_*_coding:utf-8_*_ 4 5 import pika,time,sys 6 7 connection = pika.BlockingConnection(pika.ConnectionPa 阅读全文
posted @ 2017-07-20 20:12 莫柔落切 阅读(236) 评论(0) 推荐(0) 编辑
摘要: RabbitMQ队列: 发送端: 1 #!usr/bin/env python 2 #-*-coding:utf-8-*- 3 # Author calmyan 4 #python 5 #2017/6/26 16:08 6 #__author__='Administrator' 7 import p 阅读全文
posted @ 2017-07-20 20:02 莫柔落切 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 4 <head> 5 <meta charset="UTF-8"> 6 <title>仿京东</title> 7 <style> 8 /*外框*/ 9 10 .div_mingr { 11 height: 30px; 12 阅读全文
posted @ 2017-07-20 17:59 莫柔落切 阅读(458) 评论(1) 推荐(0) 编辑
摘要: HTML5 :规则, 浏览器的通用规则 1 1、规则, 浏览器的通用规则 2 2、开发者: 3 学习html 规则 4 开发后台程序 5 - 写html文件 (当作模板) 6 - 数据库获取数据,替换到指定的HTML文件中的位置 7 3、本地测试 8 - 找到文件,用浏览器直接打开 9 - pych 阅读全文
posted @ 2017-07-18 23:04 莫柔落切 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 1 #!/usr/bin/env python 2 #_*_coding:utf-8_*_ 3 #Python 4 #17-7-14 下午6:22 5 #__author__='Administrator' 6 7 import os,sys 8 9 BASE_DIR = os.path.dirna 阅读全文
posted @ 2017-07-17 17:17 莫柔落切 阅读(640) 评论(4) 推荐(0) 编辑
摘要: 堡垒机的表结构图: 阅读全文
posted @ 2017-07-12 22:34 莫柔落切 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 主题: 需求: 用户角色,讲师\学员, 用户登陆后根据角色不同,能做的事情不同,分别如下讲师视图 管理班级,可创建班级,根据学员qq号把学员加入班级 可创建指定班级的上课纪录,注意一节上课纪录对应多条学员的上课纪录, 即每节课都有整班学员上, 为了纪录每位学员的学习成绩,需在创建每节上课纪录是,同时 阅读全文
posted @ 2017-07-09 23:58 莫柔落切 阅读(507) 评论(0) 推荐(0) 编辑