07 2019 档案

摘要:1.引入swiper.js和swiper.css 2.添加代码 <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide"> <img src="../res_im/banner_bg.p 阅读全文
posted @ 2019-07-30 09:37 北梦木兮、 阅读(2038) 评论(1) 推荐(0)
摘要:ul{ height:1rem; overflow-y:scroll;}ul::-webkit-scrollbar {/*滚动条整体样式*/ width: .682667rem; /*高宽分别对应横竖滚动条的尺寸*/ height: 1px;}ul::-webkit-scrollbar-thumb 阅读全文
posted @ 2019-07-23 17:58 北梦木兮、 阅读(1424) 评论(1) 推荐(0)
摘要:for(let i in obj) { console.log(i); //对象中key的值 console.log(obj[i]); //对象中key对应的value的值 } 阅读全文
posted @ 2019-07-05 13:38 北梦木兮、 阅读(2905) 评论(0) 推荐(0)
摘要:select.on('change',function () {//监听select的改变 select.val();//获取选中的value值 select.text();//获取选中的内容 } 阅读全文
posted @ 2019-07-05 13:35 北梦木兮、 阅读(13707) 评论(0) 推荐(0)