![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
前端知识点
封凌寒武
这个作者很懒,什么都没留下…
展开
-
daterangepicker时间日期插件
链接 https://www.daterangepicker.cn/ 1.引入css,js <style> <link rel="stylesheet" href="{% static 'plugin/daterangepicker/daterangepicker.css' %}"> </style> <script src="{% static '...原创 2020-04-07 18:14:52 · 167 阅读 · 0 评论 -
ajax 传复杂数据,上传和处理,以及另一种传输方式
普通传数据 前端: $.ajax({ ... data:{name:11,age:122,xx:[11,22,33]} }) $.post(url,data,callback) Django后台: request.POST request.POST.get('name') request.POST.get('age') request.P...原创 2020-03-29 11:22:05 · 239 阅读 · 0 评论 -
vue
当使用VSCode编写 .vue 文件时无代码片段提示时,装上 Vetur 和 Vue 2 Snippets 两个插件即可,其他的插件推荐都在这里原创 2019-12-04 18:28:19 · 68 阅读 · 0 评论 -
ajax,形式
html <form id="addform"> {% csrf_token %} {% for field in form %} <div class="form-group"> <label for="{{ field...原创 2020-03-19 20:25:51 · 92 阅读 · 0 评论 -
bootstrap 模态对话框
<a class="btn btn-success btn-xs" data-toggle="modal" data-target="#addModal" data-whatever="新建文件夹"> <i class="fa fa-plus-circle" aria-hidden="true"></i> 新建文件...原创 2020-03-26 18:58:07 · 166 阅读 · 0 评论 -
bootstrap+fontawesome实现文件上传
css .function .upload { overflow: hidden; } .function .upload input { opacity: 0; position: absolute; top: 0; bottom: 0...原创 2020-03-28 16:57:31 · 173 阅读 · 0 评论