笔记:HPlus模板 单选框

这个文章单纯记录HPlus-V4.1.0 单选框的问题

1、将页面内原本的这个css注释掉

<!--<link href="__PUBLIC__/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">-->

 2、引入这个css

<link href="__PUBLIC__/css/plugins/iCheck/custom.css" rel="stylesheet">

3、写单选框按钮代码

<div class="form-group">
    <label class="col-sm-2 control-label">是否正确答案:</label>
	<div class="col-sm-10">
		<div class="radio i-checks">
			<label><input type="radio" value="1" name="state" <if condition= "$optionsres.state != '1'">checked</if>> <i></i> 错误答案</label>

			<label><input type&

猜你喜欢

转载自blog.csdn.net/qq_21041889/article/details/108261205
今日推荐