会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
前端の知识收录
博客园
首页
新随笔
联系
订阅
管理
2022年7月9日
base64下载文件,修改文件名
摘要: downLoad(){ let download=file_name;//下载名称 let b6=getBase64Type(this.file_type)+this.base64; //格式 file_type文件格式 let blob = dataURLToBlob(b6); let reade
阅读全文
posted @ 2022-07-09 17:42 是闷闷啊
阅读(671)
评论(0)
推荐(0)
2022年6月13日
父组件向子组件iframe传值
摘要: //父组件 <iframe id="mainIframe" ref="mainIframe" name="mainIframe" :src="url" highlight-current="true"frameborder="0" width="100%" height="100%"></ifram
阅读全文
posted @ 2022-06-13 10:13 是闷闷啊
阅读(217)
评论(0)
推荐(0)
2020年7月31日
设置echarts两个y轴的0点一致
摘要: 需要设置y轴的最大最小值 和 强制设置坐标轴分割间隔 在y轴加入三个属性: Max 最大值 Min 最小值 interval 强制设置坐标轴分割间隔 //获取最大最小值的函数 cal_Max(a) { //debugger a=$.grep(a,function(n,i){return i>0;})
阅读全文
posted @ 2020-07-31 10:36 是闷闷啊
阅读(2144)
评论(0)
推荐(0)
2020年5月8日
echarts中饼图或环形图的高亮效果(点击高亮/默认某一条高亮)
摘要: let chooseIndex = 0;//默认选中高亮模块索引 现在是默认第一条 that.myChart = echarts.init(document.getElementById(that.indexAll.id));that.myChart.clear();that.myChart.set
阅读全文
posted @ 2020-05-08 16:32 是闷闷啊
阅读(5502)
评论(0)
推荐(0)
2019年12月17日
jquery提供了ajax全局事件,可以用来监听页面中所有的ajax请求
摘要: .ajaxComplete() 当页面中有ajax请求完成时就会触发 .ajaxError()当页面中有ajax请求出错时触发 .ajaxSend() 当页面中有ajax请求发送时 就会触发 .ajaxSuccess() 当页面中有ajax请求成功响应时触发 .ajaxStart() 当页面中第一个
阅读全文
posted @ 2019-12-17 14:16 是闷闷啊
阅读(1014)
评论(0)
推荐(0)
封装一个ajax
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-e
阅读全文
posted @ 2019-12-17 14:15 是闷闷啊
阅读(111)
评论(0)
推荐(0)
网络请求返回HTTP状态码(404,400,500)
摘要: HTTP状态码(HTTP Status Code)一些常见的状态码为:200 - 服务器成功返回网页 404 - 请求的网页不存在 503 - 服务不可用所有状态解释:1xx(临时响应)表示临时响应并需要请求者继续执行操作的状态代码。代码 说明100 (继续) 请求者应当继续提出请求。 服务器返回此
阅读全文
posted @ 2019-12-17 14:12 是闷闷啊
阅读(192)
评论(0)
推荐(0)
echarts中渐变色处理
摘要: series: [{ itemStyle: { normal: { 右 上 左 下 color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: "red" // 0% 处的颜色 }, { offset: 0.6
阅读全文
posted @ 2019-12-17 13:53 是闷闷啊
阅读(341)
评论(0)
推荐(0)
echarts 将折线图的点设置成长方形 并隐藏折线
摘要: 把点变成长方形 隐藏折线图的线的配置
阅读全文
posted @ 2019-12-17 13:49 是闷闷啊
阅读(2984)
评论(0)
推荐(0)
滚动条反向滚动
摘要: let ele = document.getElementsByClassName('charts_box_column'); setTimeout(function () { ele[0].scrollLeft = ele[0].scrollWidth; },1)
阅读全文
posted @ 2019-12-17 13:48 是闷闷啊
阅读(347)
评论(0)
推荐(0)
下一页
公告