摘要: 效果图: 需求: 1 开始时间、结束时间可配置2 时差固定8小时3 根据当前时间初始化位置4 每隔5s刷新位置5 超过结束时间停止刷新 HTML: <div class="time-axis"> <div class="startTime">{{start_time}}</div> <div cla 阅读全文
posted @ 2023-05-16 16:29 丶小馨 阅读(218) 评论(0) 推荐(0) 编辑
摘要: <el-table ref="table" :data="tableData" :header-cell-style="{background: '#F0F2F7', color: '#606266'}" @cell-mouse-enter="mouseEnter" @cell-mouse-leav 阅读全文
posted @ 2022-12-08 14:23 丶小馨 阅读(1112) 评论(0) 推荐(0) 编辑
摘要: 示例:输入分页页数,每页显示条数 <el-input type="number" class="resNums" v-model="item.resNums" :min="1" :max="500" step="10" placeholder="结果显示条数" onKeypress="return( 阅读全文
posted @ 2022-12-07 15:35 丶小馨 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 需求:上下两个盒子之间添加可拖拽按钮,实现高度变化 html: <textarea :id="'mycode'+(index*1+1)" :ref="'mycode'+(index*1+1)" v-model="item.sqlContent" class="CodeMirror-hints" :c 阅读全文
posted @ 2022-08-15 16:24 丶小馨 阅读(1574) 评论(2) 推荐(0) 编辑
摘要: let data = [ {hierarchy: '香蕉', count: 1}, {hierarchy: '苹果', count: 2}, {hierarchy: '葡萄', count: 3}, {hierarchy: '梨', count: 4}, ] let sum = data .filt 阅读全文
posted @ 2022-07-14 15:49 丶小馨 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 本文为原创文章,转载需注明出处~~ 效果图: 项目需求:如果一级菜单过多,需要出现滚动点击按钮。 准备工作:考虑到使用swiper插件,但swiper-slider必须是swiper-wrapper的第一子节点,el-menu没办法套用,放弃!决定自己写: html: 关键css: <-- 按钮样式 阅读全文
posted @ 2022-07-05 11:19 丶小馨 阅读(9786) 评论(0) 推荐(0) 编辑
摘要: 对二级菜单进行搜索查询: watch: { librarySearch(val) { if(val == '') { this.libraryFiles = this.libraryFilesAll }else { this.filterNode(val, this.libraryFilesAll) 阅读全文
posted @ 2022-06-28 15:35 丶小馨 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 只需在样式中添加: mix-blend-mode: darken; 注意:IE和Edge浏览器不支持mix-blend-mode属性 阅读全文
posted @ 2022-06-16 15:50 丶小馨 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: 效果图: 安装及引用同上一篇文章,请移步:https://www.cnblogs.com/Lu-Lu/p/16265815.html HTML: <el-dialog class="diffDialog" title="版本对比" :visible.sync="sqlDialogVisible" w 阅读全文
posted @ 2022-05-13 10:57 丶小馨 阅读(506) 评论(0) 推荐(1) 编辑
摘要: 工作中再一次需要开发sql编辑器,优化上篇文章内容 https://www.cnblogs.com/Lu-Lu/p/14388888.html 本次功能是tab页打开多个sql编辑器,效果图: 安装: cnpm i codemirror HTML: <textarea :id="'mycode'+( 阅读全文
posted @ 2022-05-13 10:48 丶小馨 阅读(5089) 评论(0) 推荐(0) 编辑