随笔分类 - Element UI
el-pagination的悬浮和选中字体和背景颜色修改
摘要:.table-footer{ .el-pagination.is-background .el-pager li:not(.disabled).active { background-color: #67c23a; color: #FFF !important; } .el-pager li:hov
el-date-picker选中时改变边框颜色
摘要:想要更换边框颜色 <div class="table-top-left"> <el-date-picker class="top-date" style="width:280px" align="center" @change="dateChange" size="small" :clearable
el-date-picker在type为daterange时限定,日期的结束时间必须大于起始时间
摘要:给disabled-date属性绑定一个方法 <el-date-picker size="small" :disabled-date="WriteStart" v-model="selectConfig.writeStartDate" type="date" placeholder="选择开始日期"
el-input限制只能输入数字
摘要:输入框中限制通常有三种处理方法: 第一种:设置type属性(不推荐) 设置type属性为number,text等等,此方法输入框的后面会有不必要样式出现 <el-input type="number"></el-input> 第二种:在属性中添加onkeyup或者oninput进行正则判断 onke