摘要: <script> // 创建Vue实例 Vue.createApp({ methods: { // 定义handleClick方法 handleClick() { alert('按钮被点击了!'); }, copyOrderId2(orderId) { var input = document.cr 阅读全文
posted @ 2024-07-11 16:15 赵瑛 阅读(0) 评论(0) 推荐(0) 编辑
摘要: const app = { data() { return { info: [], // 存储题目详情数组 currentPage: 1, // 当前页码 pageSize: 3, // 每页显示的题目数量 sjid: sjid }; }, methods: { fetchData(page = 1 阅读全文
posted @ 2024-07-11 11:14 赵瑛 阅读(1) 评论(0) 推荐(0) 编辑
摘要: const app = { data() { return { info: [], // 存储题目详情数组 currentPage: 1, // 当前页码 pageSize: 3, // 每页显示的题目数量 sjid: sjid, // 注意:这里假设sjid已经定义 isLoading: fals 阅读全文
posted @ 2024-07-11 11:13 赵瑛 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1、先将字体复制到目录:\vendor\mpdf\mpdf\ttfonts2、再修改文件\vendor\mpdf\mpdf\src\Config\FontVariables.php,对照已经添加的simsun,simkai,simhei,fangzhenweibei,fangzhenheiti等字体 阅读全文
posted @ 2024-05-17 08:35 赵瑛 阅读(103) 评论(0) 推荐(0) 编辑
摘要: <script src="js/jquery.min.js"></script> <script src="js/FileSaver.min.js"></script> <script src="js/jquery.wordexport.js"></script> let word_html = ' 阅读全文
posted @ 2024-04-11 10:36 赵瑛 阅读(2) 评论(0) 推荐(0) 编辑
摘要: .clearfix:before,.clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; } .clearfix { *zoom: 1; } 阅读全文
posted @ 2023-03-27 11:33 赵瑛 阅读(10) 评论(0) 推荐(0) 编辑
摘要: { "query": { "bool": { "must": [{ "match_phrase": { "type_id": 123 } }], "should": [{ "match_phrase": { "title": "常德" } }, { "match_phrase": { "conten 阅读全文
posted @ 2023-03-06 16:55 赵瑛 阅读(136) 评论(0) 推荐(0) 编辑
摘要: http://127.0.0.1:9200/aaaaaa/_search{ "from": 0, "size": 0, "aggs": { "my":{ "terms":{ "field": "id" } } } } 阅读全文
posted @ 2023-02-24 17:21 赵瑛 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 比如我要查询Elasticsearch库中字段为:id的有没有重复数据,可以用下面的方法,先查询出来,再执行删除。 $from = 0; $size = 0; $url = 'http://127.0.0.1/aaaaaa/_search'; $data['from'] = $from; $data 阅读全文
posted @ 2023-02-23 11:36 赵瑛 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 其中的条件类似于mysql的where cate_id=$cate_id and (title=$keyword or content=$keyword) $keyword = '常德学院'; $cate_id = 148; $url = 'http://127.0.0.1/aaaaaaa/_sea 阅读全文
posted @ 2023-02-22 16:42 赵瑛 阅读(263) 评论(0) 推荐(0) 编辑

版权所有 © 2022 沅来是澧

如果有程序开发、网站建设等需求的请联系我,QQ:47419233