上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
摘要: 表单中input[type=“radio”]的样式在不同的浏览器中表现也不一样,如果直接对单选按钮设置样式的话,没有多少样式能够对单选按钮起作用。为了用户体验或者需要更改单选按钮的样式可使用此方法:一般使用单选按钮会搭配<label>元素使用并将关联起来,可以为<label>元素添加生成伪元素,并基 阅读全文
posted @ 2019-10-17 16:42 怪咖咖 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 1. Element:一套为开发者,设计师和产品经理准备的基于Vue 2.0的桌面端组件库 地址:https://element.eleme.cn/#/zh-CN 2.iview:主要服务于PC界面的中后台产品 地址:https://www.iviewui.com/ 3.Vue Material:设 阅读全文
posted @ 2019-10-17 13:41 怪咖咖 阅读(988) 评论(0) 推荐(0) 编辑
摘要: <!-- 增加一个father的包裹 --> <div class="swiper-father"> <div class="swiper-container swiper-container1"> <div class="swiper-wrapper"> <div class="swiper-slide">slide1</div> <div class="swiper-slide">slide2 阅读全文
posted @ 2019-10-14 14:39 怪咖咖 阅读(4514) 评论(0) 推荐(0) 编辑
摘要: window.onload = function () { var pos = $('#div1').offset();// offset() 获得div1当前的位置,左上角坐标(x,y) $(window).scroll(function () { //滚动条滚动事件 if ($(this).sc 阅读全文
posted @ 2019-08-22 10:40 怪咖咖 阅读(753) 评论(0) 推荐(0) 编辑
摘要: 先使其 type 为 text,此时支持 placeholder,当触摸或者聚焦的时候,使用 JS 切换使其触发 datepicker 功能。以上方法在ios系统会出现重复点击2次才能出时间选择器,改进方法如下: 阅读全文
posted @ 2019-08-08 09:49 怪咖咖 阅读(1084) 评论(0) 推荐(0) 编辑
摘要: display: -webkit-box; overflow-x: scroll; -webkit-overflow-scrolling: touch; 阅读全文
posted @ 2019-08-07 14:47 怪咖咖 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 费用计算 ... 阅读全文
posted @ 2019-08-05 12:06 怪咖咖 阅读(502) 评论(0) 推荐(0) 编辑
摘要: transform: scale(1,3); -ms-transform: scale(1,3); -webkit-transform: scale(1,3); -moz-transform: scale(1,3); -o-transform: scale(1,3); 阅读全文
posted @ 2019-08-02 10:46 怪咖咖 阅读(2302) 评论(0) 推荐(0) 编辑
摘要: getLunbo: function() { var that = this; that.lunbo = []; // api.showProgress({ // title: '加载中' ... 阅读全文
posted @ 2019-07-27 09:30 怪咖咖 阅读(7960) 评论(0) 推荐(0) 编辑
摘要: document.addEventListener("visibilitychange", function () { if (!document.hidden) { //处于当前页面 location.reload() } }); 阅读全文
posted @ 2019-07-20 17:20 怪咖咖 阅读(2449) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页