//按钮 .wx-swiper-dots.wx-swiper-dots-horizontal{ margin-bottom: 5rpx; float: left; text-align: center; } .wx-swiper-dot::before{ content: ''; flex-grow ...
分类:
微信 时间:
2020-05-15 11:53:31
阅读次数:
168
https://stackoverflow.com/questions/58547506/no module named index after install pyflann "pip install pyflann" ...
分类:
其他好文 时间:
2020-05-15 09:13:26
阅读次数:
66
var mySwiper = new Swiper('.swiper-container', { direction: 'horizontal', loop: true, // 循环模式选项 autoplay: { disableOnInteraction: false, //开启这个就可以自动滑动 ...
分类:
其他好文 时间:
2020-05-15 00:05:46
阅读次数:
79
color: #666666; font-size: 16px; line-height: 22px; margin-top: 15px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-cl ...
分类:
Web程序 时间:
2020-05-14 19:41:59
阅读次数:
144
第一步:前端样式以及html代码(图片自行添加) css代码: #container{ width: 1200px; height: 400px; margin:0 auto; overflow: hidden;/*超出的图片垂直方向隐藏,水平方向也隐藏*/ position: relative;/ ...
分类:
Web程序 时间:
2020-05-14 15:06:05
阅读次数:
65
如果你用home.php作为wordpress首页模板的时候,经常会发现head中会出现rel='next',代码如下,实际上并没有第二页,点击访问还是首页,这样就造成了重复内容,对搜索引擎很不友好,如何把这个标签去掉呢?随ytkah一起来看看 <link rel='next' href='http ...
分类:
Web程序 时间:
2020-05-14 11:02:38
阅读次数:
116
BFC概念:浮动元素和绝对定位元素,非块级盒子的块级容器 ,以及overflow值不为“visiable”的块级盒子,都会为他们的内容创建新的BFC(块级格式上下文) 补充概念: 浮动元素:float脱离文档流,相对于父元素显示;后面的块级元素和内联元素相对浮动元素,边框和背景忽略浮动元素;【块级元 ...
分类:
其他好文 时间:
2020-05-13 15:21:02
阅读次数:
74
<template> <div class="scenic"> <!-- ############添加对话框########## --> <el-dialog title="发布景点" :visible.sync="dialogFormVisible" width="60%" center> <el ...
分类:
编程语言 时间:
2020-05-13 10:08:47
阅读次数:
69
scroll事件是绑定在body上,如果页面的滚动不是body的滚动,而是他的子集设置了overflow:sroll的i情况,在绑定事件时可以开启捕获,这样就可以监听到子集的滚动事件 mounted() { window.addEventListener("scroll", function (e) ...
分类:
其他好文 时间:
2020-05-12 20:02:47
阅读次数:
190
1..伪类、伪元素 伪元素主要是用来创建一些不存在原有dom结构树种的元素,例如:用::before和::after在一些存在的元素前后添加文字样式等,这些被添加的内容会以具体的UI显示出来,被用户所看到的,这些内容不会改变文档的内容,不会出现在DOM中,不可复制,仅仅是在CSS渲染层加入。CSS3 ...
分类:
Web程序 时间:
2020-05-11 22:03:03
阅读次数:
84