yukangzhe 3 anni fa
parent
commit
b46dfc6688
1 ha cambiato i file con 9 aggiunte e 3 eliminazioni
  1. 9 3
      pages/Components/rating/rating.js

+ 9 - 3
pages/Components/rating/rating.js

@@ -4,15 +4,21 @@ Component({
    * 组件的属性列表
    */
   properties: {
-
+    title:{
+      type: String,
+      value:'评分'
+    },
+    score: {
+      type: Number,
+      value: 0
+    }
   },
 
   /**
    * 组件的初始数据
    */
   data: {
-    title:'课堂互动',
-    score: 4
+    
   },
 
   /**