element-ui el-pagination下拉选框错位、自定义样式

1.解决:
el-pagination 标签中加 popper-class=‘select_bottom’

css代码:

.select_bottom {
		z-index: 2008; position: absolute; left: 147px !important; top: 355px !important; margin: 0px;
		border: 1px solid #55aaff;
		.el-select-dropdown {
			
		}
		.el-select-dropdown {
			background-color: #ffffff;
		}
		.el-select-dropdown__item.selected {
			color: red;
		}

		.el-select-dropdown__item.hover,
		.el-select-dropdown__item:hover {
			background: red;
			color: #fff;
		}
	}

2.效果
element-ui el-pagination下拉选框错位、自定义样式_第1张图片

你可能感兴趣的:(element-ui2,elementui,vue.js,javascript)