上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 感谢大佬给的参考代码 https://www.aliyundrive.com/s/XeLSBs6DM2d 提取结果 代码是python import json from docx import Document from fontTools.ttLib import TTFont # 这里写读取字库 阅读全文
posted @ 2022-07-11 14:26 前端搬运工bug 阅读(215) 评论(0) 推荐(0)
摘要: html{ filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscal 阅读全文
posted @ 2022-07-11 14:13 前端搬运工bug 阅读(130) 评论(0) 推荐(0)
摘要: if 优化写法 //普通写法 if (x 'abc' || x 'def' || x 'ghi' || x 'jkl') { //logic } //简写方法 if (['abc', 'def', 'ghi', 'jkl'].includes(x)) { //logic } //普通写法 if (x 阅读全文
posted @ 2022-07-11 09:58 前端搬运工bug 阅读(28) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-06-20 17:53 前端搬运工bug 阅读(262) 评论(0) 推荐(0)
摘要: <!-- 订单列表 --> <template> <div class="pariculasr"> <fh :Text="{...propsText}"></fh> <van-row type="flex"> <van-col span="24"> <van-search v-model="valu 阅读全文
posted @ 2022-06-20 16:56 前端搬运工bug 阅读(616) 评论(0) 推荐(0)
摘要: 获取ID /** * * @param {*} id 获取ID * @returns */ function $(id){ return typeof id 'string'?document.getElementById(id):null; } // 使用方法 console.log($('tex 阅读全文
posted @ 2022-06-20 16:54 前端搬运工bug 阅读(53) 评论(0) 推荐(0)
摘要: houseObj.listen = function(key,fn){ // if(!this.listen[key]){ // this.listen[key] = []; // }else{ // this.listen.push(fn); // } (this.listen[key] || ( 阅读全文
posted @ 2022-06-20 16:46 前端搬运工bug 阅读(26) 评论(0) 推荐(0)
摘要: // 优化前 app.get = function(){} app.post = function(){} app.put = function(){} // 优化后 var menthod = ['put','get','post']; menthod.forEach(function(key){ 阅读全文
posted @ 2022-06-20 16:45 前端搬运工bug 阅读(22) 评论(0) 推荐(0)
摘要: const el = document.getElementById('test'); el.style.cssText = `border-left:1px;padding:5px` 阅读全文
posted @ 2022-06-20 16:42 前端搬运工bug 阅读(23) 评论(0) 推荐(0)
摘要: mydiv{ max-height:910px; overflow:auto; } mydiv::-webkit-scrollbar{ width:8px; height:8px; background-color: #61B6EB; } mydiv::-webkit-scrollbar-track 阅读全文
posted @ 2022-06-20 16:39 前端搬运工bug 阅读(119) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页