上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 35 下一页
摘要: new Swiper(".swiper", { initialSlide: 1, centeredSlidesBounds: true, slidesPerView: status == "pc" ? 1.354 : 1.253, //视图层显示的sild个数 centeredSlides: tru 阅读全文
posted @ 2022-07-03 17:14 SimoonJia 阅读(652) 评论(0) 推荐(0)
摘要: //前进后退按钮去除点击时样式(背景会变蓝一下) .ProductToNumber .arrowCard { -webkit-tap-highlight-color: rgba(0, 0, 0, 0) /* 去除点击样式 */}设置在前进后退按钮里 //自带按钮颜色样式 --swiper-theme 阅读全文
posted @ 2022-07-03 16:57 SimoonJia 阅读(343) 评论(0) 推荐(0)
摘要: function displayWindowSize() { // 获取窗口的宽度和高度,不包括滚动条 var w = document.documentElement.clientWidth; var h = document.documentElement.clientHeight; // 在d 阅读全文
posted @ 2022-07-01 16:02 SimoonJia 阅读(93) 评论(0) 推荐(0)
摘要: var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i 阅读全文
posted @ 2022-07-01 15:48 SimoonJia 阅读(73) 评论(0) 推荐(0)
摘要: -webkit-tap-highlight-color: rgba(0, 0, 0, 0) 阅读全文
posted @ 2022-07-01 10:32 SimoonJia 阅读(79) 评论(0) 推荐(0)
摘要: 把stretch设为百分比值。 记得加单引号。否则报错 阅读全文
posted @ 2022-06-30 19:19 SimoonJia 阅读(21) 评论(0) 推荐(0)
摘要: justify-content 属性 内容对齐(justify-content)属性应用在弹性容器上,把弹性项沿着弹性容器的主轴线(main axis)对齐。 justify-content 语法如下 justify-content: flex-start | flex-end | center | 阅读全文
posted @ 2022-06-29 13:16 SimoonJia 阅读(394) 评论(0) 推荐(0)
摘要: `white-space: break-spaces;` 是CSS的一个属性,用于指定如何处理元素内的空白字符。 当设置为`break-spaces`时,浏览器会在元素内的空白字符(空格、制表符、换行符等)处进行换行处理,而不会合并多个空白字符。这样可以确保文本内容在不断行的情况下仍然保持适当的间距 阅读全文
posted @ 2022-06-29 09:14 SimoonJia 阅读(489) 评论(0) 推荐(0)
摘要: box-sizing属性可以为三个值之一:content-box(default),border-box,padding-box。 content-box,border和padding不计算入width之内 padding-box,padding计算入width内 border-box,border 阅读全文
posted @ 2022-06-28 18:19 SimoonJia 阅读(55) 评论(0) 推荐(0)
摘要: 时间选择器 <Form.Item label="生日"> {getFieldDecorator('birthday', { rules: [{ type: 'object', required: true, message: 'Please select time!' }], })(<DatePic 阅读全文
posted @ 2022-06-27 13:56 SimoonJia 阅读(294) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 35 下一页