上一页 1 2 3 4 5 6 7 ··· 20 下一页
  2022年6月27日
摘要: delHtmlTag (str) { return str.replace(/<[^>]+>/g, '')},toSubTit(tit){ let newTit = this.delHtmlTag(tit) return newTit.substring(0,20)+'...'}, 阅读全文
posted @ 2022-06-27 10:07 仔仔爱学习 阅读(96) 评论(0) 推荐(0)
  2022年6月21日
摘要: // 滚动穿透 true为背景滚动禁用StopBodyScroll (isFixed) { try { const bodyEl = document.body; if (isFixed) { this.top = window.scrollY bodyEl.style.position = 'fi 阅读全文
posted @ 2022-06-21 12:01 仔仔爱学习 阅读(158) 评论(0) 推荐(0)
  2022年6月17日
摘要: let fs = require('fs');let path = require("path");//工具模块,处理文件路径的小工具/** 主要版本 */let major = process.version.match(/v([0-9]*).([0-9]*)/)[1]/** 特性版本 */let 阅读全文
posted @ 2022-06-17 10:23 仔仔爱学习 阅读(753) 评论(0) 推荐(0)
  2022年6月9日
摘要: class Url{ /** * * @param path * @param filter * @returns {string} */ static getPath(path, filter){ path = path + '?' for(let k in filter){ if(filter[ 阅读全文
posted @ 2022-06-09 16:24 仔仔爱学习 阅读(1568) 评论(0) 推荐(0)
  2022年5月31日
摘要: 1、<meta name="viewport" content="width=device-width, viewport-fit=cover">2、body body { padding-bottom: constant(safe-area-inset-bottom); padding-botto 阅读全文
posted @ 2022-05-31 14:40 仔仔爱学习 阅读(70) 评论(0) 推荐(0)
  2022年5月17日
摘要: alias 还有一种特殊的语法:key 的末尾带一个 $ 字符,表示精确匹配。 ~字符开头,Webpack 会将以~符号作为前缀的路径视作依赖模块而去解析 (等待完善) 阅读全文
posted @ 2022-05-17 08:58 仔仔爱学习 阅读(430) 评论(0) 推荐(0)
  2022年5月6日
摘要: <!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content= 阅读全文
posted @ 2022-05-06 14:15 仔仔爱学习 阅读(330) 评论(0) 推荐(0)
  2022年5月5日
摘要: 子元素:flex:0 0 auto; 转自:https://www.cnblogs.com/magicg/p/15976857.html 阅读全文
posted @ 2022-05-05 14:20 仔仔爱学习 阅读(491) 评论(0) 推荐(0)
  2022年4月29日
摘要: <RadioGroup v-model="unlock_type"> <Radio :label="0">免费</Radio> <Radio :label="1" @click.native.prevent="toPayRead">付费观看</Radio></RadioGroup> toPayRea 阅读全文
posted @ 2022-04-29 10:05 仔仔爱学习 阅读(276) 评论(0) 推荐(0)
  2022年4月27日
摘要: 1、方法一:innerHTML render(h,data) { return h("div", { domProps: { innerHTML:title } }) } 2、方法二domProps-innerHTML render(h,data) { renturn ( <div domProps 阅读全文
posted @ 2022-04-27 15:02 仔仔爱学习 阅读(1325) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 20 下一页