<!--样式-->
代码语言:javascript复制.layui-form-item .layui-input-inline {
width: 250px;
}
<!--示例-->
代码语言:javascript复制<div class="layui-inline">
<label class="layui-form-label">出租单号:</label>
<div class="layui-input-inline" >
<input type="text" name="search_rentid" id="search_rentid" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-inline">
<button type="button" class="layui-btn layui-btn-normal layui-icon layui-icon-search" id="doSearch">查询</button>
</div>