上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: // iframe自适应高度 $(window).bind("load resize", function() { topOffset = 50; width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen. 阅读全文
posted @ 2022-07-18 14:49 前端搬运工bug 阅读(45) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="t 阅读全文
posted @ 2022-07-18 14:46 前端搬运工bug 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 前端优化性能的方法 压缩字体文件 使用 fontmin-webpack 插件对字体文件进行压缩 减少 HTTP 请求 使用字体图标 iconfont 代替图片图标 使用 webp 格式的图片 减少重绘重排 使用事件委托 使用 Web Workers html + css 1. HTML和CCS3新增 阅读全文
posted @ 2022-07-14 17:39 前端搬运工bug 阅读(14365) 评论(0) 推荐(0) 编辑
摘要: 代码如下: const request = require('request'); // 访问第三个接口 function getapi(data) { return new Promise((resolve, reject) => { request({ //解决node.js https模块在v 阅读全文
posted @ 2022-07-14 15:24 前端搬运工bug 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 软件名字:fontCreate 破解版中文版 软件下载:https://www.aliyundrive.com/s/Ntw3iXkCE5q 主要就是用这个软件可以把后端用这个字体生成pdf是缺少其他字体这样可以那系统的字体和生僻字库俩个和在一起 方法简单: 1.打开两个字体 点击文件-打开,选择你要 阅读全文
posted @ 2022-07-11 14:49 前端搬运工bug 阅读(815) 评论(0) 推荐(0) 编辑
摘要: 感谢大佬给的参考代码 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 阅读(190) 评论(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 阅读(125) 评论(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 阅读(23) 评论(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 阅读(254) 评论(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 阅读(586) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页