上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 直接上代码,复制粘贴就能用!! cylinder.vue <template> <div class="lui-column-bg"> <div class="lui-inner" :class="colorCLass" :style="{ height: height + '%' }"></div 阅读全文
posted @ 2021-10-14 17:02 玛卡巴鉲 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 这里只有option配置: option: { legend: { right: "10%", top: "3%", data: ["金葵花以上", "手机APP"], }, grid: { left: "8%", top: "15%", }, xAxis: { splitLine: { lineS 阅读全文
posted @ 2021-10-14 16:59 玛卡巴鉲 阅读(998) 评论(0) 推荐(0) 编辑
摘要: 我这里只有干货,直接拿来用。 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 玛卡巴鉲 阅读(1585) 评论(0) 推荐(0) 编辑
摘要: https://juejin.cn/post/7016871226899431431 1.必须包含数字字母:/(?=.*[0-9])(?=.*[a-zA-Z]).{8,30}/。 记录插眼。 阅读全文
posted @ 2021-10-09 13:58 玛卡巴鉲 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 我理解的堆排序 堆排序是一种选择排序,时间复杂度o(nlogn),空间复杂度o(1)。数据结构底层是数组,通过索引之间的关系可看二叉树,父结点总是大于或者小于孩子结点。这就是堆的结构。刚初始完的堆是占据整个数组的。开始排序后,数组分为两个部分!前面是堆,后面是已排序完的有序子数组。排序时,堆顶元素和 阅读全文
posted @ 2021-09-22 17:01 玛卡巴鉲 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 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 玛卡巴鉲 阅读(143) 评论(0) 推荐(0) 编辑
摘要: <!-- 上传--> <input v-show="false" ref="fileRef" type="file" @change="fileChange"> <el-button @click="uploadFile"></el-button> methods: { uploadFile() { 阅读全文
posted @ 2021-08-24 10:01 玛卡巴鉲 阅读(3476) 评论(0) 推荐(0) 编辑
摘要: https://fengyuanchen.github.io/cropper/ 阅读全文
posted @ 2021-07-14 09:16 玛卡巴鉲 阅读(377) 评论(0) 推荐(0) 编辑
摘要: <style scoped> .tools { display: inline-block; height: 45px; width: 45px; vertical-align: middle; } .center-center { height: 100%; display: flex; alig 阅读全文
posted @ 2021-07-02 16:46 玛卡巴鉲 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1. d3 force <template> <div :id="id"> <svg width="100vw" height="100vh" /> </div> </template> <script> /** * 力导向图 */ import * as d3 from 'd3' let gs = 阅读全文
posted @ 2021-06-30 13:13 玛卡巴鉲 阅读(318) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页