会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
木叶村
八门遁甲。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
11
下一页
2021年11月10日
echarts 渐变色
摘要: import * as echarts from "echarts"; // echarts 5.0 itemStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ { offset: 0, color: '#83bff6'
阅读全文
posted @ 2021-11-10 11:35 玛卡巴鉲
阅读(90)
评论(0)
推荐(0)
2021年11月9日
隐藏滚动条css
摘要: overflow: -moz-scrollbars-none; // IE -ms-overflow-style: none; // 火狐 &::-webkit-scrollbar { width: 0 !important; }
阅读全文
posted @ 2021-11-09 15:39 玛卡巴鉲
阅读(25)
评论(0)
推荐(0)
2021年10月15日
echarts 柱状图--圆角
摘要: series: [ { type: "bar", barWidth: "40%", stack: "total", itemStyle: { barBorderRadius: [0, 0, 8, 8], // 重点 }, data: [], }, ] 官方文档:borderRadius不起作用,经过
阅读全文
posted @ 2021-10-15 17:13 玛卡巴鉲
阅读(943)
评论(0)
推荐(0)
echarts 气泡图--option
摘要: const colorList = [[ '#ff7f50', '#87cefa', '#da70d6', '#32cd32', '#6495ed', '#ff69b4', '#ba55d3', '#cd5c5c', '#ffa500', '#40e0d0', '#1e90ff', '#ff6347
阅读全文
posted @ 2021-10-15 13:57 玛卡巴鉲
阅读(742)
评论(0)
推荐(0)
2021年10月14日
Vue 圆柱体组件
摘要: 直接上代码,复制粘贴就能用!! cylinder.vue <template> <div class="lui-column-bg"> <div class="lui-inner" :class="colorCLass" :style="{ height: height + '%' }"></div
阅读全文
posted @ 2021-10-14 17:02 玛卡巴鉲
阅读(290)
评论(0)
推荐(0)
echarts 四象限气泡图--option
摘要: 这里只有option配置: option: { legend: { right: "10%", top: "3%", data: ["金葵花以上", "手机APP"], }, grid: { left: "8%", top: "15%", }, xAxis: { splitLine: { lineS
阅读全文
posted @ 2021-10-14 16:59 玛卡巴鉲
阅读(1136)
评论(0)
推荐(0)
echarts 水球图--Vue
摘要: 我这里只有干货,直接拿来用。 1.下载 "echarts": "^4.9.0", "echarts-liquidfill": "^2.0.6", 这个版本对应可以用 npm i echarts echarts-liquidfill 2.引入 echart.vue import * as echart
阅读全文
posted @ 2021-10-14 16:51 玛卡巴鉲
阅读(1683)
评论(0)
推荐(0)
2021年10月9日
有了这25个正则表达式,代码效率提高80%
摘要: https://juejin.cn/post/7016871226899431431 1.必须包含数字字母:/(?=.*[0-9])(?=.*[a-zA-Z]).{8,30}/。 记录插眼。
阅读全文
posted @ 2021-10-09 13:58 玛卡巴鉲
阅读(44)
评论(0)
推荐(0)
2021年9月22日
堆排序以及TopK大顶堆小顶堆求解方式(js版)
摘要: 我理解的堆排序 堆排序是一种选择排序,时间复杂度o(nlogn),空间复杂度o(1)。数据结构底层是数组,通过索引之间的关系可看二叉树,父结点总是大于或者小于孩子结点。这就是堆的结构。刚初始完的堆是占据整个数组的。开始排序后,数组分为两个部分!前面是堆,后面是已排序完的有序子数组。排序时,堆顶元素和
阅读全文
posted @ 2021-09-22 17:01 玛卡巴鉲
阅读(523)
评论(0)
推荐(0)
2021年8月31日
svg-icon
摘要: Vue例子: 1.组件代码 components/svgIcon/index.vue <template> <svg :width="size" :height="size" :style="{fill: iconColor}"> <use :xlink:href="iconName"></use>
阅读全文
posted @ 2021-08-31 13:29 玛卡巴鉲
阅读(167)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
11
下一页
公告