随笔分类 -  element-ui

摘要:没处理的时候是不是看着很丑只需要在需要处理的 el-table-column 标签中添加 className 然后设置样式为 vertical-align: top; 完整代码 : 然后增加对应的样式 <style> .el-table .my-store-management-cell { ver 阅读全文
posted @ 2025-02-19 17:55 龙卷风吹毁停车场 阅读(260) 评论(0) 推荐(0)
摘要:<el-table class="margin-top-16" :data="selectedTableData" :header-cell-class-name="headerCellClassName" style="width: 100%" height="400"> <el-table-co 阅读全文
posted @ 2025-01-07 12:00 龙卷风吹毁停车场 阅读(294) 评论(0) 推荐(0)
摘要:需求是我只想要一个日期选择框,如下 但是element的日期选择框架都是这样,带有一个框,为了得到我想要的效果,我们把他设置为默认打开,在将其input框隐藏起来。 建议将其单独封装为组件使用,避免影响其它日期选择框 <script setup lang="ts"> import { ref, on 阅读全文
posted @ 2024-12-31 14:55 龙卷风吹毁停车场 阅读(673) 评论(0) 推荐(1)
摘要:使用 .el-tooltip__trigger:focus { outline: none; // 去掉默认的边框 } 阅读全文
posted @ 2024-12-05 15:38 龙卷风吹毁停车场 阅读(291) 评论(0) 推荐(0)
摘要:<el-checkbox-group class="flex flex-col" v-model="checkedMessage"> <el-checkbox @click="checkOnlyOnBox" class="margin-bottom-12 border-bottom" v-for=" 阅读全文
posted @ 2024-10-12 15:47 龙卷风吹毁停车场 阅读(601) 评论(0) 推荐(0)
摘要:实现效果 实现: <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick"> <el-tab-pane label="审批中" name="inProcess"> <InProcess /> </el-tab-p 阅读全文
posted @ 2024-09-19 16:32 龙卷风吹毁停车场 阅读(257) 评论(0) 推荐(0)
摘要:后面有时间再来慢慢搞吧,暂且先这样, 有需要的可以把代码考过去继续弄 <template> <div id="app"> <div class="f-transfer flex"> <!-- left --> <div class="f-left"> <div class="f-top flex f 阅读全文
posted @ 2024-09-14 10:50 龙卷风吹毁停车场 阅读(59) 评论(0) 推荐(0)
摘要:<template> <el-upload :action="uploadUrl" :on-success="handleSuccess" multiple> <el-button size="small" type="primary">点击上传</el-button> </el-upload> < 阅读全文
posted @ 2024-03-22 13:17 龙卷风吹毁停车场 阅读(1301) 评论(0) 推荐(0)
摘要:.is-active::before{ conten: '\e792'; font-size: 12px; color:#000000; font-family: element-icons; //必须添加 position: absolute; right: 0; } 阅读全文
posted @ 2024-03-14 11:23 龙卷风吹毁停车场 阅读(84) 评论(0) 推荐(0)
摘要:在 el-table 上添加 :cell-class-name="cellClassName" cellClassName({row, column, rowIndex, columnIndex}){ if(columnIndex 5){ return 'custom-style' } }, 设置第 阅读全文
posted @ 2023-08-03 10:55 龙卷风吹毁停车场 阅读(770) 评论(0) 推荐(0)
摘要:<el-table-column> <template slot="header"> <div class="Staked row-center"> <img src="../image/caret-down.png" alt=""> <span>Date & Time Staked</span> 阅读全文
posted @ 2023-03-30 11:12 龙卷风吹毁停车场 阅读(85) 评论(0) 推荐(0)
摘要:在 el-table 上添加 :header-cell-class-name="HeaderCellClassName" HeaderCellClassName({ row, column, rowIndex, columnIndex }) { if (columnIndex 0) { return 阅读全文
posted @ 2023-03-17 10:47 龙卷风吹毁停车场 阅读(827) 评论(0) 推荐(0)
摘要:废话少说:直接上代码,不懂的自行查看官方文档 <el-table :data="tableData" height="100%" border :header-cell-style="{background:'#F8F8FA',color:'#606266',fontSize:'13px',font 阅读全文
posted @ 2021-04-27 09:49 龙卷风吹毁停车场 阅读(424) 评论(0) 推荐(0)
摘要:问题描述:当我使用 element table 表格中的 render-header 来设置 标题 Label 区域渲染时,在el-table-column 标签上添加了v-if 结果 render-header 就失效了,直接上图: 解决的办法,在 el-table-column 中添加key值 阅读全文
posted @ 2021-04-26 18:42 龙卷风吹毁停车场 阅读(1698) 评论(0) 推荐(0)
摘要:three部分内容 <el-tree show-checkbox :load="loadNode" check-strictly lazy :props="defaultProps"> </el-tree> defaultProps: { children: 'zones', label: 'nam 阅读全文
posted @ 2021-01-27 17:06 龙卷风吹毁停车场 阅读(355) 评论(0) 推荐(0)
摘要:<template> <div> <el-table :data="tableData" style="width: 100%"> <el-table-column type="selection" width="55" :selectable="selectable"></el-table-col 阅读全文
posted @ 2020-08-21 10:30 龙卷风吹毁停车场 阅读(1960) 评论(0) 推荐(0)
摘要:先看效果图吧 html部分写法 <el-table-column label="操作" width="120" align="center"> <template slot-scope="scope"> <el-dropdown placement="bottom" trigger="click"> 阅读全文
posted @ 2020-07-03 17:56 龙卷风吹毁停车场 阅读(5872) 评论(0) 推荐(0)
摘要:亲测有效 body .el-table th.gutter{ display: table-cell!important; } 阅读全文
posted @ 2020-05-28 09:47 龙卷风吹毁停车场 阅读(1344) 评论(0) 推荐(0)
摘要:首先我们先来看html的部分 <el-upload :data="Token" //上传时附带的额外参数 :action="tool.Request.file + '/api/post/file'" //上传服务器的地址 list-type="picture-card" :limit='9' //最 阅读全文
posted @ 2020-05-19 16:15 龙卷风吹毁停车场 阅读(4339) 评论(0) 推荐(0)
摘要:注:要想导出execl,首先要先按照模块化工具,我这点就懒得写了,点击链接看这篇文章:https://www.cnblogs.com/tlfe/p/12858991.html 描述:突然接到一个需求,就是在输入框填写数据库查询语句,然后去数据库拿到想要的数据,在这个情况下:每次查询出来的字段和字段名 阅读全文
posted @ 2020-05-18 18:08 龙卷风吹毁停车场 阅读(3543) 评论(0) 推荐(0)