会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ao_min
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
下一页
2020年8月6日
echarts环形图如何添加层圆圈/环形线
摘要: Circlelinechart(){ let myChart = echarts.init(document.getElementById("Circlechart")); let option = { color: ['#23649e', '#2e7bad', '#1dc499', '#4da7c
阅读全文
posted @ 2020-08-06 11:02 Ao_min
阅读(3204)
评论(0)
推荐(0)
2020年7月30日
将一个json对象属性值赋值到另一个json中
摘要: for(var item in json1){ json2[item]=json1[item]; } 例: 结果: 转自于:https://blog.csdn.net/qq_40580023/article/details/84548342
阅读全文
posted @ 2020-07-30 12:00 Ao_min
阅读(2390)
评论(0)
推荐(0)
2020年7月29日
Json格式循环遍历,Json数组循环遍历
摘要: Json格式数据如何遍历,这里我们可以用for..in实现 例如最简单的json格式 var json1 = { 'name' : '听风是风' , 'age' : 25 , 'handsome' : 'yes' }; for( var key in json1 ){ console.log( ke
阅读全文
posted @ 2020-07-29 17:48 Ao_min
阅读(2992)
评论(0)
推荐(0)
input单选框美化——自定义样式
摘要: 方法一: 给input添加 -webkit-appearance: none; 隐藏默认样式。然后添加自己的样式就好了。 例如: .radioBox input{ -webkit-appearance: none; width: 20px; height: 20px; padding: 0; bac
阅读全文
posted @ 2020-07-29 11:41 Ao_min
阅读(726)
评论(0)
推荐(0)
2020年7月28日
layui 日期插件onchange事件失效的方法
摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 laydate.render({ elem:'#text1',//制定元素 type:'date', //range:true,//开启左右面板 min:'2017-09-1',// max:'20
阅读全文
posted @ 2020-07-28 13:46 Ao_min
阅读(1224)
评论(0)
推荐(0)
2020年7月26日
清除浮动
摘要: /*清除浮动*/ .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { *zoom: 1; }
阅读全文
posted @ 2020-07-26 19:56 Ao_min
阅读(104)
评论(0)
推荐(0)
2020年7月25日
layui时间控件选择时间范围的实现方法
摘要: 解决layui时间控件清空之后无法正常使用的问题,以及时间范围的选择 共有两种解决方式: 方式一(layui 1.x): html代码: 1 2 3 4 5 6 7 8 9 10 11 12 <div class="layui-inline"> <div class="layui-input-inl
阅读全文
posted @ 2020-07-25 18:32 Ao_min
阅读(1483)
评论(0)
推荐(0)
2020年7月23日
用户离开输入框时验证手机号是否正确
摘要: 为了防止用户胡乱输入信息 <div> <input style="width: 170px" type="text" id="inchargephone" onblur="isnum(inchargephone)" placeholder="请输入责任人电话" > </div> <script ty
阅读全文
posted @ 2020-07-23 15:25 Ao_min
阅读(306)
评论(0)
推荐(0)
2020年7月21日
form表单中用户名和密码对齐的简单实现
摘要: 在web前端页面设计中,登录表单是非常常见的。 如果用户名和密码对齐还困扰着大家,就让我来讲讲吧! 用户名三个字,密码俩个字,默认是不对齐的。很多人是在密码中间加上 ,对某个特别的浏览器或许好了,但是不能兼容所有浏览器,所以这种做法是不明智的。正确的做法如下: 在“密码”中间加上一个全角的空
阅读全文
posted @ 2020-07-21 14:53 Ao_min
阅读(1221)
评论(0)
推荐(0)
2020年7月17日
调整layui的弹出框msg的字体大小以及其他样式
摘要: //文本里面可以加html标签 let sure = layer.msg('<span style="font-size:20px">确定喜欢她吗?</span>', { time: 0 //0表示不自动关闭 ,time自动关闭所需毫秒 ,单位是毫秒(1秒=1000毫秒) , btn: ['<spa
阅读全文
posted @ 2020-07-17 15:26 Ao_min
阅读(5999)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
下一页
公告