上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 133 下一页
摘要: 通过改变current,自动切换 <template> <view class="page"> <swiper class="swiper" :vertical="true" :current="current" @tap="switchNext"> <swiper-item> <view clas 阅读全文
posted @ 2023-05-11 23:20 盘思动 阅读(1254) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <style> .con{ width:100%; height:400px; overflow: hidden; background-color: blanchedalmond; } .dong{ width:100px; height 阅读全文
posted @ 2023-05-11 16:26 盘思动 阅读(100) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Marquee标签</title> <style> .main{text-align:center;} .marq{padding-top:30px;padding-bottom: 阅读全文
posted @ 2023-05-11 09:55 盘思动 阅读(106) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1202393/202305/1202393-20230509172208924-153774928.png) 阅读全文
posted @ 2023-05-09 17:22 盘思动 阅读(45) 评论(0) 推荐(0)
摘要: 在微信小程序中使用rpx可以解决屏幕宽度的兼容问题 但是设置高度的时候还是会有问题 为了解决宽度的兼容问题,在微信小程序中可以使用了rpx像素单位来进行设置,不管屏幕的宽度大小是多少, 都认为宽度有750rpx 这样即使屏幕大小不一样 使用了rpx单位来设置的样式比例也是一样的。 这样屏幕宽度和rp 阅读全文
posted @ 2023-05-09 16:48 盘思动 阅读(1899) 评论(0) 推荐(0)
摘要: 名词解释,rem是使用的重点 1.rem的定义理解: 通过设置 根元素<html>的font-size的大小,来控制整个html文档内的字体大小、元素宽高、内外边距等, 2.rem(font size of the root element)是指相对于根元素的字体大小的单位。 em(font siz 阅读全文
posted @ 2023-05-09 15:57 盘思动 阅读(108) 评论(0) 推荐(0)
摘要: 1.参照官方文档,可以用@click.native=“click”解决 2.$emit组件之间事件传递解决 https://www.jb51.net/article/246610.htm 阅读全文
posted @ 2023-05-08 15:12 盘思动 阅读(479) 评论(0) 推荐(0)
摘要: background-image: linear-gradient(-55deg, #07265d, #0d3d92),linear-gradient(#2d323b, #2d323b); background-image:linear-gradient(45deg,red,blue); backg 阅读全文
posted @ 2023-05-08 10:29 盘思动 阅读(240) 评论(0) 推荐(0)
摘要: 超过5M也可以压缩,没有失真,免费,网页版的; 弥补了cdn不超过5M的缺点 https://zh.recompressor.com/ 阅读全文
posted @ 2023-05-07 22:10 盘思动 阅读(44) 评论(0) 推荐(0)
摘要: CSS中 > 和 >>> 都是用来选择子元素的选择器,不过两者有一定的区别。 CSS中 > 只能选择直接子元素,而不能选择孙子元素及以下的后代元素。 例如,.parent > .child 可以选择 .parent 的直接子元素中的类为 .child 的元素,但是不能选择孙子元素中的 .child 阅读全文
posted @ 2023-05-04 17:17 盘思动 阅读(2305) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 133 下一页