1. 程式人生 > >【Layui】是否跳出單選框

【Layui】是否跳出單選框

author:咔咔

wechat:fangkangfk

 

複製程式碼刪除php程式碼即可使用

<div class="layui-form-item">
            <label class="layui-form-label">是否跳出</label>
            <div class="layui-input-block">
                <input type="radio" name="b_targetType" {if condition="$bannerInfo['b_targetType'] eq 2"} checked {/if} value="2" title="是">
                <input type="radio" name="b_targetType" value="1" {if condition="$bannerInfo['b_targetType'] eq 1"} checked {/if} title="否" >
            </div>
        </div>