增加 rate 组件
This commit is contained in:
parent
ca4bc6808a
commit
5b325d7420
@ -14,37 +14,37 @@ body{padding:20px;}
|
||||
<body>
|
||||
|
||||
<div class="layui-container">
|
||||
<div class="layui-row">
|
||||
<!-- 基础评分用法 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>基础用法</h3>
|
||||
<hr>
|
||||
<div id="test1"></div>
|
||||
</div>
|
||||
<div class="layui-row">
|
||||
<!-- 基础评分用法 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>基础用法</h3>
|
||||
<hr>
|
||||
<div id="test1"></div>
|
||||
</div>
|
||||
|
||||
<!-- 半星评分用法 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>选中半星</h3>
|
||||
<hr>
|
||||
<div id="test2"></div>
|
||||
</div>
|
||||
<!-- 半星评分用法 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>选中半星</h3>
|
||||
<hr>
|
||||
<div id="test2"></div>
|
||||
</div>
|
||||
|
||||
<!-- 显示提示文字 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>显示提示文字</h3>
|
||||
<hr>
|
||||
<div id="test3"></div>
|
||||
<span></span>
|
||||
</div>
|
||||
<!-- 显示提示文字 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>显示提示文字</h3>
|
||||
<hr>
|
||||
<div id="test3"></div>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<!-- 只读 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>只读</h3>
|
||||
<hr>
|
||||
<div id="test4"></div>
|
||||
</div>
|
||||
<!-- 只读 -->
|
||||
<div class="layui-rate-div layui-col-xm4 layui-col-xm-offset4 ">
|
||||
<h3>只读</h3>
|
||||
<hr>
|
||||
<div id="test4"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -1046,9 +1046,6 @@ body .layui-table-tips .layui-layer-content{background: none; padding: 0; box-sh
|
||||
.layui-rate li i{margin-right: 5px; transition: all .3s; -webkit-transition: all .3s;}
|
||||
.layui-rate li i:hover{cursor: pointer; transform: scale(1.12); -webkit-transform: scale(1.12);}
|
||||
|
||||
|
||||
|
||||
|
||||
/** 代码修饰器 **/
|
||||
.layui-code{position: relative; margin: 10px 0; padding: 15px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user