上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 参考链接:https://blog.csdn.net/weixin_42146585/article/details/121180829 首先得首先,先下载水波球插件依赖 npm install echarts-liquidfill 然后引用 import 'echarts-liquidfill' 阅读全文
posted @ 2023-05-19 19:13 如意酱 阅读(2500) 评论(0) 推荐(0)
摘要: 计算后的渐变方向如图所示 <div class="echarts" id="echat" ref="echat"></div> legendData:['小于1h', '1~6h', '6~24h', '24h以上'] total:733 getData() { const cos = Math.c 阅读全文
posted @ 2023-05-18 16:40 如意酱 阅读(1751) 评论(1) 推荐(0)
摘要: <div class="aside-echarts lastPosition-wrap"> <div class="echarts" id="lastPositionEchat" ref="lastPositionEchat" :style="'height:' + height + 'px'" > 阅读全文
posted @ 2023-05-17 11:20 如意酱 阅读(593) 评论(0) 推荐(0)
摘要: 解决方案: 1.版本问题,main.js文件中, 5.0以下版本写:import echarts from 'echarts ' 5.0以上版本写: import * as echarts from ‘echarts 都要写:Vue.prototype.$echarts = echarts 2.删掉 阅读全文
posted @ 2023-03-31 09:06 如意酱 阅读(329) 评论(0) 推荐(0)
摘要: 事情是这样的,我做了个tab切换不同table的功能,但是发现tab切换的时候,table的内容没有真的被销毁,内容变乱了。 后来发现只要加了key就可以顺利销毁了! 阅读全文
posted @ 2023-02-17 15:16 如意酱 阅读(1032) 评论(0) 推荐(0)
摘要: 想改啥样式就改成对应的编码 .el-cascader { .el-input__icon:before { content: '\e790'; } } .el-select { .el-select__caret:before { content: '\e790'; } } /e78f 向上的箭头 阅读全文
posted @ 2022-11-29 15:50 如意酱 阅读(1772) 评论(0) 推荐(0)
摘要: 效果:左右窗口移动到隐藏后,旁边的小窗口会随着移动贴边。 知识点:兄弟组件通信 1.新建Bus.js文件 Bus.js内容: import Vue from 'vue'; export default new Vue(); 2.引入文件 import Bus from "@/common/js/Bu 阅读全文
posted @ 2022-11-24 15:03 如意酱 阅读(68) 评论(0) 推荐(0)
摘要: 这张图很好,超级直观: 一点点个人理解: 防抖:比如设定一个2秒,你高频持续一顿操作后,只有2秒后你没有继续操作了,才执行要求,但凡2秒内你有操作,那么都从最后操作的2秒后再开始执行要求。 (立即执行版的就是高频操作之初立即执行一次要求,后续同上) 用于搜索引擎搜索、鼠标键盘操作、浏览器窗口调整大小 阅读全文
posted @ 2022-11-08 10:57 如意酱 阅读(43) 评论(0) 推荐(0)
摘要: table表格直接在表头进行前端搜索 <el-table :data="tableData.filter(data => !search||data.pointName.toLowerCase().includes(search.toLowerCase()))" > <el-table-column 阅读全文
posted @ 2022-11-03 11:41 如意酱 阅读(761) 评论(0) 推荐(0)
摘要: vue2版的 <!-- * @Description: 星空 * @Autor: 赵婧 * @Date: 2022-09-07 17:27:44 * @LastEditors: 赵婧 * @LastEditTime: 2022-10-21 10:17:58 --> <template> <div c 阅读全文
posted @ 2022-10-21 16:14 如意酱 阅读(434) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页