<form class="bj-form bj-form-label-w110" style="max-width: 660px;margin: auto" action="ajax/ajaxDone2.json" data-toggle="validate" data-alertmsg="false" data-theme="bootstrap"> <div class="bj-form-item"> <label class="bj-form-item-label is-required">出生地:</label> <input type="text" name="custom.birthplace" value="" data-rule="required;"> </div> <div class="bj-form-item"> <label class="bj-form-item-label is-required">出生地:</label> <div class="bj-form-item-content textarea"> <textarea class="form-control" name="custom.note" data-toggle="autoheight" data-rule="required"></textarea> </div> </div> </form>
bj-form
行内表单bj-form-inline
左对齐:bj-form-label-left
上对齐:bj-form-label-top
支持80px~230px所有可被5整除的:bj-form-label-w[70~230]
80px:bj-form-label-w80
85px:bj-form-label-w85
90px:bj-form-label-w90
230px:bj-form-label-w230
bj-form-item-label
is-required
bj-form-item-content
textarea