diff --git a/examples/rate.html b/examples/rate.html
index 0ac38a9..ee36787 100644
--- a/examples/rate.html
+++ b/examples/rate.html
@@ -55,17 +55,22 @@ layui.use(['rate'], function(){
var rate = layui.rate;
//渲染
- var ins1 = rate.render({
+ /*
+ rate.set({
elem: '#test1'
,length: 7
- ,value: 4
- });
- ins1.setvalue(2);
-
+ ,value: 4.7
+ ,theme: '#c00'
+ ,half: true
+ ,text: true
+ ,reader: true
+ })
+ */
+
rate.render({
elem: '#test1'
- ,length: 7
- ,value: 4.2
+ ,length: 5
+ ,value: 2.2
})
rate.render({
@@ -73,21 +78,23 @@ layui.use(['rate'], function(){
,length: 6
,value: 2
,half: true
+ ,theme: '#5FB878'
})
rate.render({
elem: '#test3'
,length: 5
- ,value: 2.5
+ ,value: 2.8
,text: true
,half: true
+ ,theme: '#FF5722'
})
rate.render({
elem: '#test4'
,length: 8
- ,value: 4.7
+ ,value: 4.8
,reader: true
+ ,theme: '#01AAED'
})
-
});