摘要: var uploadedDataURL = "/asset/get/s/data-1528971808162-BkOXf61WX.json"; /**地图迁徙颜色自定义*/var color = ['#6bcc75', '#65c78b', '#5fc2a0', '#5abead', '#52b9c 阅读全文
posted @ 2022-01-25 10:11 Uncle_MrLee 阅读(1826) 评论(0) 推荐(0)
摘要: let angle = 0; //角度,用来做简单的动画效果的 let value = 12;option = { backgroundColor:'#000', title: { text: value + "%", x: "center", y: "center", textStyle: { f 阅读全文
posted @ 2022-01-25 10:10 Uncle_MrLee 阅读(521) 评论(0) 推荐(0)
摘要: 思路:主要是通过鼠标移入判断当前容器和其父级容器宽度大小比较决定是否添加title vue中创建vue文件tabelFoldLine.vue; <script> export default { props: { labelName: { type: String, default: '', }, 阅读全文
posted @ 2021-12-01 14:42 Uncle_MrLee 阅读(138) 评论(0) 推荐(0)
摘要: 可封装为全局方法在项目中所需要地方直接调用(mixins) 方法: 参数: 1.allBox:最外层第div class; 2.leftBox:最左层第div class; 3.resizeBox:中间div class; 4.rightBox:最右层第div class; leftMin /rig 阅读全文
posted @ 2021-12-01 14:09 Uncle_MrLee 阅读(518) 评论(0) 推荐(0)
摘要: /* slice() */ slice(start, end): 数组,字符串都存在此方法; 截取字符串或者数组的某个部分,返回截取的部分; 参数信息 *不会改变原字符串或者数组 eg: var str = 'hollow word'; var strr = str.slice(1, 3); con 阅读全文
posted @ 2021-11-04 13:39 Uncle_MrLee 阅读(93) 评论(0) 推荐(0)
摘要: 结果图: 1.首先去掉官方头部 a> css去除:.el-calendar__header { display: none;}; b>js去除: this.$el.querySelector('div.el-calendar__header').remove(); 2.通过js Date对象实现日期 阅读全文
posted @ 2021-11-03 17:34 Uncle_MrLee 阅读(564) 评论(0) 推荐(0)