会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
宸泽岚
博客园
首页
新随笔
联系
订阅
管理
2023年5月6日
css随着浏览器窗口width度变化展示数据
摘要: 这是需求 这是通过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:29 宸泽岚
阅读(89)
评论(0)
推荐(0)
2022年8月26日
<br/>替换成空格
摘要: let str= '123<br/>12344' str.replace(/<br\/>/,' ')'123 12344'
阅读全文
posted @ 2022-08-26 15:21 宸泽岚
阅读(47)
评论(0)
推荐(0)
2022年3月15日
vue数组能触发视图更新的方法
摘要: “ push() pop() shift() unshift() splice() sort() reverse()”
阅读全文
posted @ 2022-03-15 16:43 宸泽岚
阅读(99)
评论(0)
推荐(0)
2021年12月24日
vue项目中直接用自己的图片替换掉favicon.ico,图标为什么不生效?
摘要: 在一般情况下:创建项目之后,默认的小图标是favicon.ico,我们想要自定义小图标只需要用新的图片替换掉favicon.ico即可,但是我直接替换掉favicon.ico并不生效:是因为项目使用了@vue/cli-plugin-pwa插件,这个插件会更改网页标签图标的路径,所以导致我们的项目中多
阅读全文
posted @ 2021-12-24 14:17 宸泽岚
阅读(3616)
评论(0)
推荐(0)
2021年8月25日
echars 折线图之一条线显示不同颜色,及拐点显示不同颜色
摘要: option = { title: { text: '一天用电量分布', subtext: '纯属虚构' }, tooltip: { trigger: 'axis', axisPointer: { type: 'cross' } }, toolbox: { show: true, feature:
阅读全文
posted @ 2021-08-25 13:41 宸泽岚
阅读(1164)
评论(0)
推荐(0)
2021年8月3日
layui 接触之表单(二)
摘要: 关于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 宸泽岚
阅读(154)
评论(0)
推荐(0)
2021年8月2日
layui接触(一)
摘要: 关于layui,最大的好处是兼容吧(个人认为) 开始正题 layui官网地址 https://www.layui.com/doc/modules/table.html layui 的表格是根据layui的内部方法去引用table 模块去触发的 <!DOCTYPE html> <html> <head
阅读全文
posted @ 2021-08-02 18:02 宸泽岚
阅读(63)
评论(0)
推荐(0)
2021年5月25日
bootstrap-table 请求加header
摘要: ajaxOptions:{ headers: {"Authorization": sessionStorage.getItem('token')}},
阅读全文
posted @ 2021-05-25 17:50 宸泽岚
阅读(1741)
评论(0)
推荐(1)
2021年5月18日
获取当前时间
摘要: //获取当前时间 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 宸泽岚
阅读(30)
评论(0)
推荐(0)
2021年4月14日
解决webstorm快捷键不能用
摘要: 打开File-->Settings,默认是Default。
阅读全文
posted @ 2021-04-14 11:32 宸泽岚
阅读(145)
评论(0)
推荐(0)
下一页
公告