随笔分类 -  html /css / bootstrap/javascript

摘要:In Django, you can retrieve data from a request using either request.POST or request.body, depending on the content type of the request and how the da 阅读全文
posted @ 2024-09-05 17:46 花生与酒 阅读(53) 评论(1) 推荐(0)
摘要:https://www.treejs.cn/v3/main.php#_zTreeInfo 官方文档,demo和api https://www.cnblogs.com/fonour/p/zTree.html https://www.cnblogs.com/longlyseul/p/12111143.h 阅读全文
posted @ 2023-07-06 14:41 花生与酒 阅读(343) 评论(0) 推荐(0)
摘要:Dict中增加key:value 如 var data={a:1} ,添加 { b:2 } 方法一 ,直接赋值 data.b=2 方法二 data["c"] = 3 List中增加dict function addServerUrlToJson() { var json_tem = [{"name" 阅读全文
posted @ 2023-07-06 10:17 花生与酒 阅读(406) 评论(0) 推荐(0)
摘要:bootstrap5位置总结 1.text 位置控制 .text-left Align your text content to the left position using this class. .text-right Right align the text content position 阅读全文
posted @ 2021-11-25 15:57 花生与酒 阅读(345) 评论(0) 推荐(0)
摘要:1分でわかるBootstrapとBootstrapVueをVue.jsで使用する方法 10分で基礎がわかるVue.js-入門 https://www.wrappixel.com/bootstrap-vue/ How can we use Bootstrap with Vue CLI Project 阅读全文
posted @ 2020-10-14 11:25 花生与酒 阅读(169) 评论(0) 推荐(0)
摘要:做 ajax无刷模式开发时候, ajax调用url,取得返回的json数据, 要用json数据的一部分值,去更新dom 根据需要, 会更新tag.html()、tag.value()、tag.text() 他们有什么区别呢? 定义和用法 text() 方法方法设置或返回被选元素的文本内容 代码如下 阅读全文
posted @ 2020-10-14 10:18 花生与酒 阅读(359) 评论(0) 推荐(0)
摘要:https://exceptionshub.com/python-code-to-remove-html-tags-from-a-string-duplicate.html https://stackoverflow.com/questions/9662346/python-code-to-remo 阅读全文
posted @ 2020-09-11 14:27 花生与酒 阅读(951) 评论(0) 推荐(0)
摘要:一、CSS样式编辑 /* 一般而言,CSS的声明语句非常简单。 */ 选择器 { 属性: 值; /* 更多属性...*/ } /* 你可以通过类名来指定它 */ .some-class { } /* 给出所有类名 */ .some-class.class2 { } /* 标签名 */ div { } 阅读全文
posted @ 2020-07-07 17:02 花生与酒 阅读(178) 评论(0) 推荐(0)
摘要:一、关于table的换行和滚动 <table class="table table-bordered table-sm"> <thead> <tr> <th>操作</th> </tr> </thead> <tbody id="tbody"> {% for student in object_list 阅读全文
posted @ 2020-03-15 16:00 花生与酒 阅读(868) 评论(0) 推荐(0)