摘要: 1. 100vh 在 Android 的webview 中失效 项目中遇到该问题,客服页面,本应该置底的输入框,在新版本的 webview 安卓机 出现页面很短小,也不是置底的问题(老版本SDK中没有此问题,不知道是什么原因引起的) 解决方案: document.querySelector("htm 阅读全文
posted @ 2022-01-24 18:30 CatherLee 阅读(126) 评论(0) 推荐(0) 编辑
摘要: input[type='checkbox'] { margin-right: 5px; cursor: pointer; font-size: 14px; width: 16px; height: 14px; position: relative; } input[type='checkbox']: 阅读全文
posted @ 2022-01-19 18:19 CatherLee 阅读(560) 评论(0) 推荐(0) 编辑
摘要: http://dplayer.js.org/ https://www.ctolib.com/article/compares/1178 https://github.com/DIYgod/DPlayer 阅读全文
posted @ 2021-04-16 19:24 CatherLee 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 1、stylus : https://www.cnblogs.com/catherLee/p/14652446.html 2、vue3-lazy:支持ts的vue3插件,图片懒加载。https://www.npmjs.com/package/vue3-lazy 3、全局API -> Vue.defi 阅读全文
posted @ 2021-04-16 19:23 CatherLee 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 遇到的问题 如下图,项目内访问403,当时浏览器打开图片地址是可以访问的。 解决方案 <meta name="referrer" content="no-referrer" /><!--页面头部添加--> 原因: http请求体的header中有一个referrer字段,用来表示发起http请求的源 阅读全文
posted @ 2021-04-16 11:32 CatherLee 阅读(879) 评论(0) 推荐(0) 编辑
摘要: 一、reactive reactive 用于为对象添加响应式状态。接收一个js对象作为参数,返回一个具有响应式状态的副本。 获取数据值的时候直接获取,不需要加.value参数只能传入对象类型 等价于Vue2中的Vue.observable() ,来赋予对象(Object) 响应式的特性 import 阅读全文
posted @ 2021-04-15 17:38 CatherLee 阅读(3622) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-15 16:42 CatherLee 阅读(135) 评论(0) 推荐(0) 编辑
摘要: ◎ 通过 SSH 克隆仓库 我们克隆 GitHub 上的仓库时,一般是通过默认的 HTTPS 的方式,而非上面这种 SSH 的方式。 对于克隆仓库的话,我们使用起来是感受不到这两种方式的差别的。但是,当我们要将本地的改动提交到 GitHub 的时候,使用 SSH 就会比使用 HTTPS 方便很多—— 阅读全文
posted @ 2021-04-14 15:06 CatherLee 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 在vue项目中使用如sass、less、stylus时需要进行公共变量、方法的集中维护 vue-cli3.0构建的服务使用如下方法可直接在每个css中引入公共变量、方法此处只说明了style 的引入,其他less sass引入在vue-cli3.0文档中有说明 stylus详见:https://gi 阅读全文
posted @ 2021-04-13 11:39 CatherLee 阅读(257) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/60449946 阅读全文
posted @ 2021-04-12 14:40 CatherLee 阅读(25) 评论(0) 推荐(0) 编辑