参考外码案例/UI2/takeout/index.w
调整按钮和input 的前后顺序
<div class="input-group" component="$UI/system/components/bootstrap/inputGroup/inputGroup" xid="inputGroup1"> <div class="input-group-btn" xid="div7"> <a component="$UI/system/components/justep/button/button" class="btn btn-link" xid="button1" onClick="locationClick" icon="linear linear-book"> <i xid="i15" class="linear linear-book"/> <span xid="span20"></span> </a> </div> <input type="text" class="form-control" component="$UI/system/components/justep/input/input" xid="input4" bind-ref='$model.userData.ref("fAddress")'/> </div>
评一波