摘要: 这是需求 这是通过css写法实现的 @media screen and (min-width: 1900px){//>=1900的设备 .boxWidth{ width:25%; } } @media screen and (min-width: 1440px) and (max-width: 18 阅读全文
posted @ 2023-05-06 11:30 宸泽岚 阅读(60) 评论(0) 推荐(0) 编辑
摘要: let str= '123<br/>12344' str.replace(/<br\/>/,' ')'123 12344' 阅读全文
posted @ 2022-08-26 15:21 宸泽岚 阅读(29) 评论(0) 推荐(0) 编辑
摘要: “ push() pop() shift() unshift() splice() sort() reverse()” 阅读全文
posted @ 2022-03-15 16:43 宸泽岚 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 在一般情况下:创建项目之后,默认的小图标是favicon.ico,我们想要自定义小图标只需要用新的图片替换掉favicon.ico即可,但是我直接替换掉favicon.ico并不生效:是因为项目使用了@vue/cli-plugin-pwa插件,这个插件会更改网页标签图标的路径,所以导致我们的项目中多 阅读全文
posted @ 2021-12-24 14:17 宸泽岚 阅读(2826) 评论(0) 推荐(0) 编辑
摘要: option = { title: { text: '一天用电量分布', subtext: '纯属虚构' }, tooltip: { trigger: 'axis', axisPointer: { type: 'cross' } }, toolbox: { show: true, feature: 阅读全文
posted @ 2021-08-25 13:41 宸泽岚 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 关于layui 也是最近接手到这么一个项目开始研究的 <form class="layui-form yadmin-search-area input"> <div class="layui-form-item"> <div class="layui-inline" style="display: 阅读全文
posted @ 2021-08-03 11:28 宸泽岚 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 关于layui,最大的好处是兼容吧(个人认为) 开始正题 layui官网地址 https://www.layui.com/doc/modules/table.html layui 的表格是根据layui的内部方法去引用table 模块去触发的 <!DOCTYPE html> <html> <head 阅读全文
posted @ 2021-08-02 18:02 宸泽岚 阅读(44) 评论(0) 推荐(0) 编辑
摘要: ajaxOptions:{ headers: {"Authorization": sessionStorage.getItem('token')}}, 阅读全文
posted @ 2021-05-25 17:50 宸泽岚 阅读(1535) 评论(0) 推荐(1) 编辑
摘要: //获取当前时间 var date = new Date(); var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); if (month < 10) { month = "0 阅读全文
posted @ 2021-05-18 13:58 宸泽岚 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 打开File-->Settings,默认是Default。 阅读全文
posted @ 2021-04-14 11:32 宸泽岚 阅读(129) 评论(0) 推荐(0) 编辑