el-date-picker长度设置
时间: 2023-10-06 07:06:18 浏览: 144
el-date-picker的长度可以通过修改CSS样式来设置。根据引用中的代码片段,可以在全局CSS文件中添加以下代码来改变el-date-picker的宽度:
.el-date-picker {
width: 600px;
}
.el-date-picker .el-picker-panel__content {
width: 600px;
}
这样设置后,el-date-picker的宽度将会变为600像素。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [表单中el-select、el-date-picker和el-input的长度不一致解决办法](https://blog.csdn.net/lovoo/article/details/129299742)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [el-date-picker 日期选择器-样式大小设置](https://blog.csdn.net/l1830473688/article/details/108103091)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [el-admin后台管理系统-其他](https://download.csdn.net/download/weixin_38644688/19580171)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文