diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/callprogram-main.iml b/.idea/callprogram-main.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/callprogram-main.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..03d9549
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/fonts.xml b/.idea/libraries/fonts.xml
new file mode 100644
index 0000000..650aee5
--- /dev/null
+++ b/.idea/libraries/fonts.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..639900d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..ecedd74
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..ce5f347
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/cardM/cardM.js b/pages/cardM/cardM.js
index 9128c6a..e888ff8 100644
--- a/pages/cardM/cardM.js
+++ b/pages/cardM/cardM.js
@@ -8,7 +8,7 @@ Page({
operationName: '',
student_ID: "000000001",
name: "张三",
- scoreOptions: [0.5, 1, 1.5, 2, 2.5, 3], // 分数选项
+ scoreOptions: [2, 2.5, 3, 3.5, 4, 4.5], // 分数选项
selectedScore: null, // 选中的分数
showScorePicker: false // 控制分数选择器的显示
},
@@ -73,7 +73,7 @@ Page({
// 确认分数按钮的回调
confirmScore: function () {
if (this.data.selectedScore !== null) {
- file.updatescore(this.data.selectedScore+1.5); // 更新分数
+ file.updatescore(this.data.selectedScore); // 更新分数
this.setData({
showScorePicker: false // 隐藏分数选择器
});
diff --git a/project.config.json b/project.config.json
index 2e96168..a0fc06d 100644
--- a/project.config.json
+++ b/project.config.json
@@ -1,7 +1,12 @@
{
"description": "项目配置文件",
"packOptions": {
- "ignore": [],
+ "ignore": [
+ {
+ "value": "/minitest",
+ "type": "folder"
+ }
+ ],
"include": []
},
"setting": {
@@ -49,5 +54,6 @@
"tabSize": 4
},
"cloudfunctionTemplateRoot": "cloudfunctionTemplate/",
- "cloudfunctionRoot": "cloud/"
+ "cloudfunctionRoot": "cloud/",
+ "testRoot": "minitest/"
}
\ No newline at end of file