diff --git a/examples/rate.html b/examples/rate.html
index 3716032c..772d1b8d 100644
--- a/examples/rate.html
+++ b/examples/rate.html
@@ -67,6 +67,11 @@ body{padding:20px;}
+
+
+
+
+
@@ -76,9 +81,21 @@ body{padding:20px;}
layui.use(['rate'], function(){
var rate = layui.rate;
- rate.primary(".layui-rate-primary","li"){
-
- }
+
+ //设置全局
+ rate.set({
+ score: 3.5
+ });
+
+
+ var ins = rate.render({
+ elem: '#test1'
+ })
+
+
+ rate.primary(".layui-rate-primary","li");
+ rate.half(".layui-rate-half","li");
+ rate.text(".layui-rate-text","li");
});