上一页 1 2 3 4 5 6 7 8 9 ··· 39 下一页
摘要: calc不生效的原因是写法不规范,运算符两侧需要添加空格 在less中不能使用不生效(less的运算方式和calc发送了冲突),比如calc(100% - 215px )会被编译为calc(-150% ); calc函数正确的写法: min-width:calc(~"100% - 215px"); 阅读全文
posted @ 2022-08-24 10:33 雪莉06 阅读(409) 评论(0) 推荐(0)
摘要: 原版 <van-search v-model="value" show-action label="地址" placeholder="请输入搜索关键词" @search="onSearch"> <template #action> <div @click="onSearch">搜索</div> </ 阅读全文
posted @ 2022-08-23 10:56 雪莉06 阅读(504) 评论(0) 推荐(0)
摘要: 在 window.addEventListener('scroll', this.handleScroll,true)加了个true 就会成功。 阅读全文
posted @ 2022-08-17 15:45 雪莉06 阅读(755) 评论(0) 推荐(0)
摘要: 1 在本地建一个文件夹 2 按住shift键同时右键,选择进入在此处打开powershell 窗口,就可以进入这个文件的终端 3 在终端里面执行 npm install vue-devtools 完成后,进入该文件下的node_modules 文件,找到 vue-devtools 文件,进入其中,将 阅读全文
posted @ 2022-08-17 15:17 雪莉06 阅读(1375) 评论(1) 推荐(1)
摘要: 移动端布局一般使用: 方法一:媒体查询 + rem + 弹性盒子布局 方法二:vw + rem + 弹性盒子布局 这里说一下vw原理: vw它是根据可视区的宽度来计算的 如果是10vw,就是当前移动设备(浏览器)宽度的十分之一大小 vw:视窗宽度的百分比(1vw 代表视窗的宽度为 1%) html 阅读全文
posted @ 2022-08-11 17:49 雪莉06 阅读(197) 评论(0) 推荐(0)
摘要: 代码: <template> <div> <i class="fa fa-building-o" style="visibility:hidden;"></i> <div class="visBox"> <div id="mynetwork"></div> <div v-if="this.isTit 阅读全文
posted @ 2022-08-02 17:10 雪莉06 阅读(430) 评论(0) 推荐(0)
摘要: jquery获取元素宽高 1 width() 获取元素的宽,不包括元素的内外边距,边框 2 height() 获取元素的高,不包括元素的内外边距,边框 e.g. $(window).height() 获取窗口的高度 3 innerWidth() 获取元素宽,包括元素的内边距 高同样 4 outerW 阅读全文
posted @ 2022-08-02 11:55 雪莉06 阅读(279) 评论(0) 推荐(0)
摘要: https://visjs.org/#download_install 更详细的教程从上面网址上面获取 近日因工作需要研究了这个js. 做了个简单的demo,记录一下 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <me 阅读全文
posted @ 2022-07-12 15:21 雪莉06 阅读(674) 评论(1) 推荐(1)
摘要: if($CrossID=='') $orwheres[] = ' arc.typeid IN ('.GetSonIds($typeid).')'; else $orwheres[] = ' arc.typeid IN ('.GetSonIds($typeid).','.$CrossID.')'; 改 阅读全文
posted @ 2022-07-07 22:17 雪莉06 阅读(57) 评论(0) 推荐(0)
摘要: 找到文件 includeck、editor、config.js,添加下面代码config.font_names='宋体/宋体;微软雅黑/微软雅黑;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;'+ config.font_names; 阅读全文
posted @ 2022-07-07 22:13 雪莉06 阅读(40) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 39 下一页