上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: <div class="add-input2" @mousedown.stop.prevent="dragImg" ref='dragImgDom'> //样式一定要定位且有宽高//内容 </div> //拖拽 dragImg(e) { this.$refs.dragImgDom.style.cur 阅读全文
posted @ 2019-11-14 17:42 _houjie 阅读(678) 评论(0) 推荐(0)
摘要: <img :src="ImgUrl" alt="" width="100%" @mousewheel="zoomimg($event)" id="ScrollImg"> // 缩放图片 zoomimg(event) { var delta = 0; if (!event) event = windo 阅读全文
posted @ 2019-11-12 11:34 _houjie 阅读(3358) 评论(0) 推荐(0)
摘要: 打开cmd命令 先卸载项目中的 node_modules rimraf node_modules 卸载项目中的element-ui npm uninstall element-ui -S 重新安装element-ui npm install element-ui -S 安装依赖 npm instal 阅读全文
posted @ 2019-10-29 15:06 _houjie 阅读(213) 评论(0) 推荐(0)
摘要: //在入口文件加入下面样式 body .el-table th.gutter { display: table-cell !important; } body .el-table colgroup.gutter { display: table-cell !important; } 阅读全文
posted @ 2019-10-16 16:35 _houjie 阅读(5219) 评论(0) 推荐(1)
摘要: 遇到了一个小改进点。就是echarts 图的tooltip 的内容 ,希望按照每条线当前的值进行降序显示。 查询 echarts 官方文档,https://www.echartsjs.com/option.html#tooltip 修改tooltip 的formatter 属性即可。 下面贴一下该部 阅读全文
posted @ 2019-08-28 16:31 _houjie 阅读(503) 评论(0) 推荐(0)
摘要: 原文链接:https://www.cnblogs.com/xiaoguan-bky/p/11195945.html (若侵请联系) 代码: 效果图: 阅读全文
posted @ 2019-08-20 11:45 _houjie 阅读(931) 评论(0) 推荐(0)
摘要: echarts 数据过多显示影响视觉美观,例如下面这样以至于会更多: 然后我在 api 上发现了解决这个问题的方法 加上上述代码后就是我们想要的效果啦! 阅读全文
posted @ 2019-08-19 10:14 _houjie 阅读(8455) 评论(0) 推荐(2)
摘要: 需求:要求 echarts 在鼠标 hover 时可以看到数据后面显示百分号(数据已是后台处理过的)。 效果图: 代码: PS:会有一些数据没有值,以 undefined % 显示,我这边给做了 if 处理。如果对您有帮助的话麻烦推荐一下啦! 阅读全文
posted @ 2019-08-02 15:08 _houjie 阅读(3310) 评论(0) 推荐(0)
摘要: 请看效果图: 阅读全文
posted @ 2019-07-31 17:28 _houjie 阅读(1241) 评论(0) 推荐(0)
摘要: 你是否遇到了 vue 表格中循环 列 来渲染页面 并且 要 导出 excal 的问题,效果图如下: 如果是这样的效果,详情请看代码: html: data: methods中 : 最后页面上的效果图就是上图所示,导出的excal表格如下: 哦对了,我的数据之前改了点东西,然后你们如果需要的话就自己根 阅读全文
posted @ 2019-07-29 11:28 _houjie 阅读(411) 评论(1) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页