layui的form表单一行显示多个文本框
html结构
<div class="layui-form-item"> <div class="layui-inline"> <label class="layui-form-label">展示模板:</label> <div class="layui-input-inline"> <select id="ShowTemplate" name="ShowTemplate" lay-filter="ShowTemplate" lay-verify="required"> <option value="">请选择</option> <option value="1">模板1</option> <option value="2">模板2</option> </select> </div> </div> <div class="layui-inline"> <label class="layui-form-label">打印模板:</label> <div class="layui-input-inline"> <select id="PrintTemplate" name="PrintTemplate" lay-filter="PrintTemplate" lay-verify="required"> <option value="">请选择</option> <option value="1">模板1</option> <option value="2">模板2</option> </select> </div> </div> </div>
相当于用<div class="layui-inline">包括两个表单项。
相关推荐
爱好HtmlCssJs 2019-10-28
Qc 2020-07-19
swiftwwj 2020-07-05
wcqwcq 2020-07-04
TONIYH 2020-06-11
yhginny 2020-04-20
nicepainkiller 2020-05-12
苦咖啡flask 2020-05-09
xinjing0 2020-05-08
Lius 2020-05-05
ajaxtony 2020-05-04
bcbeer 2020-04-23
sicceer 2020-04-20
cmsmdn 2020-02-18
longshengguoji 2020-02-13
ajaxtony 2020-02-03
ELEMENTS爱乐小超 2020-01-17
waterv 2020-01-01