diff --git a/src/components/RecordPopup.vue b/src/components/RecordPopup.vue
index cb9a109..58c99fb 100644
--- a/src/components/RecordPopup.vue
+++ b/src/components/RecordPopup.vue
@@ -33,11 +33,11 @@
-
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 8087a0e..f3072ca 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -13,9 +13,17 @@
+
+
+
+
-
+
{{ item.name }}
{{ item.location }}
@@ -44,7 +52,6 @@
-
diff --git a/src/pages/record/index.vue b/src/pages/record/index.vue
index 22ee0d6..11c0ed8 100644
--- a/src/pages/record/index.vue
+++ b/src/pages/record/index.vue
@@ -1 +1 @@
-
{{ patchStore.currentPatch.crop.name }}
{{ patchStore.currentPatch.crop.variety }}
点击添加作物
{{ item.type }}
{{ item.stage }}
{{ item.date }}
{{ item.content }}
\ No newline at end of file
+
{{ patchStore.currentPatch.crop.name }}
{{ patchStore.currentPatch.crop.variety }}
点击添加作物
{{ item.type }}
{{ item.stage }}
{{ item.date }}
{{ item.content }}
\ No newline at end of file
diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue
index 71e8d26..6fbd899 100644
--- a/src/pages/user/index.vue
+++ b/src/pages/user/index.vue
@@ -1,6 +1,12 @@
-
-
+
+
+
+
+ 正在开发中
+
+
+
diff --git a/src/stores/patch.ts b/src/stores/patch.ts
index e3623ce..bdc36d0 100644
--- a/src/stores/patch.ts
+++ b/src/stores/patch.ts
@@ -6,6 +6,7 @@ export const usePatchStore = defineStore('patch', {
state: () => ({
baseUrl: 'https://cxx0822.s.3q.hair',
showPatchFab: true,
+ patchSearch: '',
patchList: [] as IPatch[],
patchApiType: 'ADD' as 'ADD' | 'UPDATE' | 'DELETE',
patchForm: {
@@ -51,6 +52,9 @@ export const usePatchStore = defineStore('patch', {
url: `${this.baseUrl}/patch-api/patches`,
method: 'GET',
header: { 'Content-Type': 'application/json' },
+ data: {
+ keyword: this.patchSearch
+ },
success: (res) => {
if (res.statusCode >= 200 && res.statusCode < 300) {
resolve(res.data as IPatch[])