yukangzhe 4 年之前
父節點
當前提交
b46dfc6688
共有 1 個文件被更改,包括 9 次插入3 次删除
  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
+    
   },
 
   /**