会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_Lawrence
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
20
下一页
2021年10月28日
获取图片坐标,后端使用Graphics2D画图
摘要: 获取图片坐标: img标签中加入 @click='tapMap($event)' tapMap(e) { let x = e.layerX; let y = e.layerY; }, 和Graphics2D坐标不一致需要减去偏移量。 Graphics2D读取图片并画图: public void cr
阅读全文
posted @ 2021-10-28 17:17 _Lawrence
阅读(400)
评论(0)
推荐(0)
2021年9月29日
echarts点击触发事件并获取参数
摘要: echarts.on('click',function(params){ alert(params.name) })
阅读全文
posted @ 2021-09-29 09:31 _Lawrence
阅读(763)
评论(0)
推荐(0)
2021年9月23日
springboot读取resources下的文件
摘要: 第一种方法: resources: static-locations: file:c:/files/,classpath:/document/,classpath:/static/ mvc: static-path-pattern: /** 第二种方法: pom.xml配置文件路径 <resourc
阅读全文
posted @ 2021-09-23 10:59 _Lawrence
阅读(4290)
评论(0)
推荐(0)
elment select手动输入数据实现
摘要: 在el-select标签里添加: filterable @change.native="selectBlur" @blur.native="selectBlur" selectBlur(e){ this.$set(this.addForm,"fname",e.target.value) }
阅读全文
posted @ 2021-09-23 09:32 _Lawrence
阅读(197)
评论(0)
推荐(0)
2021年9月18日
eachrts折线线条颜色自定义和折线变曲线
摘要: 折线线条颜色改变,在service里添加: itemStyle : { normal : { lineStyle:{ color:'#F56C6C' } } } 折线变曲线、在service里添加: smooth:true,
阅读全文
posted @ 2021-09-18 09:51 _Lawrence
阅读(152)
评论(0)
推荐(0)
2021年9月17日
echarts背景网格隐藏
摘要: splitLine:{ show:false }, 在xAxis和yAxis标签里添加上述代码即可
阅读全文
posted @ 2021-09-17 15:50 _Lawrence
阅读(443)
评论(0)
推荐(0)
eacharts图颜色随机变化和定制颜色
摘要: itemStyle: { normal: { // 随机显示 color:function(d){return "#"+Math.floor(Math.random()*(256*256*256-1)).toString(16);} // 定制显示(按顺序) // color: function(p
阅读全文
posted @ 2021-09-17 15:19 _Lawrence
阅读(200)
评论(0)
推荐(0)
2021年7月14日
vue scss安装通用版本
摘要: 安装: npm uninstall sass-loader npm uninstall node-sass -D npm install sass-loader@7.3.1 --save-dev npm install node-sass@4.14.1 --save-dev build/webpac
阅读全文
posted @ 2021-07-14 15:45 _Lawrence
阅读(501)
评论(0)
推荐(0)
2021年7月8日
echarts折线图和曲线图切换
摘要: 在series标签下添加:smooth: true true为曲线 flase为折线
阅读全文
posted @ 2021-07-08 09:17 _Lawrence
阅读(533)
评论(0)
推荐(0)
2021年7月6日
通过接口播放视频
摘要: 接口 @PostMapping("/getVideo") public readVideo<byte[]> getVideo(@RequestBody Map<String,Object> map, HttpServletResponse response) throws Exception { t
阅读全文
posted @ 2021-07-06 10:58 _Lawrence
阅读(239)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
20
下一页
公告