2020年5月8日
摘要: 一,折线图 1.前端 <script src="{% static "plugin/highcharts/highcharts.js" %}"></script> 引用 <div class="panel panel-default"> <div class="panel-heading"> <i 阅读全文
posted @ 2020-05-08 10:37 仙人小麦 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 1.引用 <div> <div class="input-group" style="width: 300px;"> <span class="input-group-addon">日期范围</span> <input id="rangePicker" type="text" class="form 阅读全文
posted @ 2020-05-08 10:26 仙人小麦 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 1.引用 <script src="{% static "plugin/select2/js/i18n/zh-CN.js" %}"></script> <script src="{% static "plugin/select2/js/select2.min.js" %}"></script> 2. 阅读全文
posted @ 2020-05-08 10:19 仙人小麦 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 1.引入 <link rel="stylesheet" href="{% static "plugin/bootstrap-select/css/bootstrap-select.css" %}"> <script src="{% static "plugin/bootstrap-select/js 阅读全文
posted @ 2020-05-08 10:13 仙人小麦 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1.引入 <link rel="stylesheet" href="{% static "plugin/bootstrap-datepicker/css/bootstrap-datepicker.min.css" %}"> <script src="{% static "plugin/bootstr 阅读全文
posted @ 2020-05-08 10:02 仙人小麦 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 1.前端html展示 <div id="content"> {{ field }} 这里必须是input type="text" 标签 </div> 2.JS 1.导入 <link rel="stylesheet" href="{% static "plugin/editor.md-master/c 阅读全文
posted @ 2020-05-08 09:53 仙人小麦 阅读(1691) 评论(0) 推荐(0) 编辑
摘要: 参考 腾讯官方文档 from qcloud_cos import CosConfig from qcloud_cos import CosS3Client from sts.sts import Sts from untitled import settings from qcloud_cos.co 阅读全文
posted @ 2020-05-08 09:45 仙人小麦 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 参考:1.腾讯官方文档 2 .https://pythonav.com/wiki/detail/10/81/ 1.安装SDK pip install qcloudsms_py 2.基于SDK发送短信 # @Time : 2020/3/31 0031 下午 7:18 # @Author : Admin 阅读全文
posted @ 2020-05-08 09:38 仙人小麦 阅读(362) 评论(0) 推荐(0) 编辑
  2020年5月4日
摘要: {% for item in data %} <li {% if item.class %} class="{{ item.class }}" {% endif %}> <a href="{{ item.url }}" > {{ item.name }} </a> </li> {% endfor % 阅读全文
posted @ 2020-05-04 12:15 仙人小麦 阅读(109) 评论(0) 推荐(0) 编辑
摘要: from django.forms.widgets import RadioSelect class ColorRadioSelect(RadioSelect): # input_type = 'radio' # template_name = 'django/forms/widgets/radio 阅读全文
posted @ 2020-05-04 12:11 仙人小麦 阅读(189) 评论(0) 推荐(0) 编辑