html
blueSkyBoy2850
这个作者很懒,什么都没留下…
展开
-
antdPro在table表格使用Dropdown下拉菜单,并拿到列表数据
antdpro使用table的Dropdown下拉菜单操作行数据原创 2022-11-24 14:02:34 · 1977 阅读 · 0 评论 -
vue项目中使用rem插件布局
1.安装rem布局插件amfe-flexible、postcss-px2rem-excludenpm i amfe-flexible postcss-px2rem-exclude --save2.在main.js文件中引入import 'amfe-flexible'3.新建postcss.config.js按照我们的设计图尺寸配置postcss.config.js内容这是按设计图是750尺寸配置的module.exports = { plugins: { aut原创 2021-05-17 14:03:23 · 409 阅读 · 0 评论 -
网页判断是移动端还是PC端
网页判断是移动端还是PC端网页判断是移动端还是PC端有时需要在网页判断是移动端还是pc端,然后做相应的操作//判断是pc还是移动端 function isMobileOrPc() { let flag = navigator.userAgent.match( /(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowse原创 2021-05-14 15:42:13 · 299 阅读 · 0 评论