07 2019 档案

摘要:var win_h = $(window).height();//关键代码 window.addEventListener('resize', function () { if($(window).height() < win_h){ $('.share-btn-box').hide(); }else{ $('.share-btn-box').sh... 阅读全文
posted @ 2019-07-25 22:05 expworld 阅读(250) 评论(0) 推荐(1) 编辑
摘要:/* iphoneX、iphoneXs */ @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3){ .bottom{bottom: 34px;} .lastp{pad... 阅读全文
posted @ 2019-07-24 13:53 expworld 阅读(604) 评论(0) 推荐(0) 编辑
摘要:由于 Vuex 的状态存储本来就是响应式的,从 store 实例中读取状态最简单的方法,就是在计算属性中返回某个状态。 在 B 页面引入以下代码: 此时,当 A 页面通过某种方式更改了 this.$store.state.someValue 的值,B 页面中 myValue 的值便会自动得到更新。 阅读全文
posted @ 2019-07-23 18:00 expworld 阅读(5711) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/abcde158308/article/details/81013156 阅读全文
posted @ 2019-07-21 01:20 expworld 阅读(437) 评论(0) 推荐(0) 编辑
摘要:在vue移动端使用lib-flexible和px2remLoader适配屏幕 阅读全文
posted @ 2019-07-17 10:45 expworld 阅读(180) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示