04 2022 档案

摘要:wx.switchTab({ url:'/pages/logs/logs' }) 阅读全文
posted @ 2022-04-29 17:18 前端路远且长 阅读(70) 评论(0) 推荐(0) 编辑
摘要:.text-one-hd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }//单行 .text-hide { display: -webkit-box; -webkit-box-orient: vertical; 阅读全文
posted @ 2022-04-29 14:51 前端路远且长 阅读(439) 评论(0) 推荐(0) 编辑
摘要:text-decoration 这个 CSS 属性是用于设置文本的修饰线外观的(下划线、上划线、贯穿线/删除线 或 闪烁)它是 text-decoration-line, text-decoration-color, text-decoration-style, 和新出现的 text-decorat 阅读全文
posted @ 2022-04-29 12:51 前端路远且长 阅读(995) 评论(0) 推荐(0) 编辑
摘要:CSS linear-gradient() 函数用于创建一个表示两种或多种颜色线性渐变的图片。其结果属于<gradient>数据类型,是一种特别的<image>数据类型。 https://developer.mozilla.org/zh-CN/docs/Web/CSS/gradient/linear 阅读全文
posted @ 2022-04-29 12:43 前端路远且长 阅读(53) 评论(0) 推荐(0) 编辑
摘要:堆是什么 *堆是一种特殊的完全二叉树(每层都完全填慢,只有右边没填慢) *所有的节点都大于等于(最大堆)或小于等于(最小堆)它的子节点 js中的堆 *js中通常用数组表示堆(index指的是元素在数组中的位置) *左侧子节点的位置是2*index+1 *右侧子节点的位置是2*index+2 *父节点 阅读全文
posted @ 2022-04-28 20:30 前端路远且长 阅读(52) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_45031555/article/details/107558685 阅读全文
posted @ 2022-04-27 13:21 前端路远且长 阅读(28) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_38719039/article/details/79361682 阅读全文
posted @ 2022-04-26 12:48 前端路远且长 阅读(435) 评论(0) 推荐(0) 编辑
摘要:在进入/离开的过渡中,会有 6 个 class 切换。 v-enter:定义进入过渡的开始状态。在元素被插入之前生效,在元素被插入之后的下一帧移除。 v-enter-active:定义进入过渡生效时的状态。在整个进入过渡的阶段中应用,在元素被插入之前生效,在过渡/动画完成之后移除。这个类可以被用来定 阅读全文
posted @ 2022-04-25 16:29 前端路远且长 阅读(46) 评论(0) 推荐(0) 编辑
摘要:const dfs=(r,c,flow)=>{ flow[r][c]=true let list = [[r-1,c],[r+1,c],[r,c-1],[r,c+1]].forEach(([nr,nc])=>{ if( //保证在矩阵中 nr>=0&&nr<m&& nc>=0&&nc<n&& //防 阅读全文
posted @ 2022-04-22 23:04 前端路远且长 阅读(422) 评论(0) 推荐(0) 编辑
摘要:/** * 作者:雨山没睡饱 链接:https://juejin.cn/post/6919752747671617550 来源:稀土掘金 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 */ const getStandarInterval = (t) => { if (t < 阅读全文
posted @ 2022-04-22 13:56 前端路远且长 阅读(155) 评论(0) 推荐(0) 编辑
摘要:el-table__row>td { border: none;} .el-table::before { height: 0px;} https://blog.csdn.net/csdn_zhuang/article/details/103561686 阅读全文
posted @ 2022-04-21 14:58 前端路远且长 阅读(1058) 评论(0) 推荐(0) 编辑
摘要:图是什么 *图是网络结构的抽象模型,是一组由边连接的节点 *图可以表示任何二元关系,比如道路,航班...... *js中没有图,但是可以用Object和Array构建图 *图的表示法:邻接矩阵,邻接表,关联矩阵.... 只要相邻,就在行上和相应的列为1,表示相邻 a能连接到b所以a里有b 图的常用操 阅读全文
posted @ 2022-04-19 20:58 前端路远且长 阅读(85) 评论(0) 推荐(0) 编辑
摘要:树是什么 *一种分层数据的抽象模型 *前端工作中常见的树包括:DOM树、级联选择、树形控件.... *js中没有树,但是可以用Object和Array构建树 *树的常用操作:深度/广度优先遍历、先中后序遍历 什么是深度/广度优先遍历 *深度优先遍历:进可能深的搜索树的分支 *广度优先遍历:先访问离根 阅读全文
posted @ 2022-04-13 20:47 前端路远且长 阅读(18) 评论(0) 推荐(0) 编辑
摘要:菜鸟视频 https://www.runoob.com/try/try.php?filename=tryhtml_video_html5 video属性 https://www.runoob.com/tags/tag-video.html 阅读全文
posted @ 2022-04-13 09:36 前端路远且长 阅读(67) 评论(0) 推荐(0) 编辑
摘要:字典是什么 *与集合类似,字典也是一种存储唯一值的数据结构,但他是以键值对的形式来存储 *es6中有字典,名为Map(映射) *字典的常用操作:键值对的增删改查 技术要点 *与集合类似,字典也是一种存储唯一值的数据结构,但他是以键值对的形式来存储 *es6中有字典,名为Map(映射) *字典的常用操 阅读全文
posted @ 2022-04-11 20:32 前端路远且长 阅读(46) 评论(0) 推荐(0) 编辑
摘要:集合是什么 + 一直无序且唯一的数据结构 + ES6中有集合,名为Set + 集合的常用操作:去重、判断莫元素是否在集合中、求交集... //去重 const arr=[1,1,2,2] const arr2=[...new Set(arr)] //判断元素是否在集合中 const set=new 阅读全文
posted @ 2022-04-08 20:10 前端路远且长 阅读(35) 评论(0) 推荐(0) 编辑
摘要:应用场景:需要先进后出 比如:十进制转二进制、判断字符串的括号是否有效、函数调用堆栈 判断字符串的括号是否有效 ((()) -va (((()())) -inva *越靠后的左括号,对应的右括号越靠前 *左括号入栈,右括号出栈,最后栈空了就合法 函数调用堆栈 *最后调用的函数,最先执行完。 *js解 阅读全文
posted @ 2022-04-08 16:52 前端路远且长 阅读(26) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/dojo-lzz/p/4591446.html#3213861 阅读全文
posted @ 2022-04-08 16:43 前端路远且长 阅读(15) 评论(0) 推荐(0) 编辑
摘要:<el-upload class="upload" :action="actions" :headers="headers" :on-preview="handlePreview" :on-remove="handleRemove" :before-remove="beforeRemove" :on 阅读全文
posted @ 2022-04-08 16:02 前端路远且长 阅读(34) 评论(0) 推荐(0) 编辑
摘要:图例项的 icon。 ECharts 提供的标记类型包括 'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none' https://echarts.apache.org/zh/option.html#le 阅读全文
posted @ 2022-04-07 11:09 前端路远且长 阅读(341) 评论(0) 推荐(0) 编辑
摘要:指针指向,js中的obj的存储方式就是这种类似的指向地址。 const a = {val: 'a'} const b = {val: 'b'} const c = {val: 'c'} const d = {val: 'd'} //Obj模拟链表 a.next=b b.next=c c.next=d 阅读全文
posted @ 2022-04-06 20:25 前端路远且长 阅读(51) 评论(0) 推荐(0) 编辑
摘要:this.line.setOption(option,true)第二个参数填truehttps://echarts.apache.org/zh/api.html#echartsInstance.setOption 阅读全文
posted @ 2022-04-06 10:12 前端路远且长 阅读(128) 评论(0) 推荐(0) 编辑
摘要:const text = "abc"; const chars = text.split(''); console.log(chars); //['a', 'b', 'c'] https://blog.csdn.net/lgno2/article/details/118837249 阅读全文
posted @ 2022-04-02 10:23 前端路远且长 阅读(1350) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示