摘要: 公共的 common.scss (包含主题色 覆盖部分element组件主题色) $theme: #D50000; $litterTheme: #ec6059; .text-theme { color: $theme; } .bg-theme { background-color: $theme; 阅读全文
posted @ 2022-07-13 11:33 微微一笑绝绝子 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 效果图如下: 代码如下: (颜色可自行调节) ::-webkit-scrollbar { width: 10px; height: 10px; background-color: #f5f5f5; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { -w 阅读全文
posted @ 2022-07-13 10:41 微微一笑绝绝子 阅读(153) 评论(0) 推荐(0) 编辑
摘要: I've been reading books of old我遍读旧籍 The legends and the myths那些古老传奇和无边神秘 Achilles and his gold如阿喀琉斯和他的战利品 Hercules and his gifts如赫拉克勒斯和他的天赋神力 Spiderma 阅读全文
posted @ 2022-06-27 18:18 微微一笑绝绝子 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 1. 三维数组转对象数组 输出: 代码如下: let dataArr = [ [ [109.654541015625, 29.34387539941801], [110.467529296875, 59.34387539941801], [109.654541015625, 30.050076521 阅读全文
posted @ 2022-06-21 16:30 微微一笑绝绝子 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 你需要传入的数据类型如下: // 取面对象 中心点 var calculateCenter = function (lnglatarr) { var total = lnglatarr.length; var X = 0, Y = 0, Z = 0; lnglatarr.forEach(functi 阅读全文
posted @ 2022-06-21 16:05 微微一笑绝绝子 阅读(990) 评论(0) 推荐(0) 编辑
摘要: 直接上代码: //多图表自适应 window.addEventListener("resize", function () { myChart.resize(); }); 作者:微微一笑绝绝子出处:https://www.cnblogs.com/wwyxjjz/p/16350879.html本博客文 阅读全文
posted @ 2022-06-07 10:25 微微一笑绝绝子 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.安装 npm install echarts --save package.json中有此项,代表安装成功(注意自己的版本) 2.引入全部组件 在main.js中引入: // 引入echarts import echarts from 'echarts' Vue.prototype.$echar 阅读全文
posted @ 2022-06-07 10:18 微微一笑绝绝子 阅读(3493) 评论(0) 推荐(0) 编辑
摘要: 报错如下: 查了很久,最终发现是这里的问题 解决如下: 上代码: itemStyle: { // color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [ // { // offset: 0, // color: "#348fe6", // }, 阅读全文
posted @ 2022-06-07 09:55 微微一笑绝绝子 阅读(1316) 评论(0) 推荐(0) 编辑
摘要: 地址: https://lbs.amap.com/tools/picker 作者:微微一笑绝绝子出处:https://www.cnblogs.com/wwyxjjz/p/16291314.html本博客文章均为作者原创,转载请注明作者和原文链接。 阅读全文
posted @ 2022-05-20 10:03 微微一笑绝绝子 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: 想要的效果如下 : 高德地图 && 信息窗体 步骤一: 申请高德key 高德开放平台 | 高德地图API (amap.com) (可参考博客: [996]如何申请高德地图用户Key_周小董的博客-CSDN博客_高德开发者平台申请key) 步骤二: npm安装 npm install vue-amap 阅读全文
posted @ 2022-05-20 09:58 微微一笑绝绝子 阅读(654) 评论(0) 推荐(0) 编辑