posts - 320,  comments - 29,  views - 115万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
10 2020 档案
vue 动态加载css本地背景图片
摘要:在css中,正常这么引入是可以显示的 background: url(../assets/images/banner.png) no-repeat center; 代码中看的效果如下: 但是在js中引入则需要加上 require(),不然无法显示 转载:https://blog.csdn.net/s 阅读全文
posted @ 2020-10-15 17:30 刘世涛6192 阅读(3009) 评论(0) 推荐(0) 编辑
js屏蔽手机的物理返回键
摘要:$(document).ready(function() { if (window.history && window.history.pushState) { $(window).on('popstate', function () { window.history.pushState('forw 阅读全文
posted @ 2020-10-15 10:00 刘世涛6192 阅读(954) 评论(0) 推荐(0) 编辑
vue插件开发
摘要:插件通常用来为 Vue 添加全局功能 使用插件 通过 Vue 的全局方法 Vue.use() 使用, 当然,在使用这个方法之前,你的 Vue 实例 必须已经初始化完成 import myPlugin from './plugIn/myPlugin' // 该方法,会调用 myPlugin 的 ins 阅读全文
posted @ 2020-10-13 16:21 刘世涛6192 阅读(341) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示