diff --git a/src/api/claim/index.js b/src/api/claim/index.js
new file mode 100644
index 0000000..fb1364e
--- /dev/null
+++ b/src/api/claim/index.js
@@ -0,0 +1,20 @@
+import fetch from '../fetch.js'
+
+export default {
+ save(params) {
+ return fetch('/claim/add', params,'post','json')
+ },
+ update(params) {
+ return fetch('/claim/update', params,'post','json')
+ },
+
+ list(params) {
+ return fetch('/claim/list', params,'post','json')
+ },
+
+ setImg(params) {
+ return fetch('/claim/uploadImg',params,'post','json')
+ },
+
+
+}
diff --git a/src/api/flower/index.js b/src/api/flower/index.js
index f217ebf..aeda942 100644
--- a/src/api/flower/index.js
+++ b/src/api/flower/index.js
@@ -25,7 +25,7 @@ export default {
},
inviteList(params){
- return fetch('/personal/inviteCode/inviteRecords',params,'post','json')
+ return fetch('/personal/inviteCode/records',params,'post','json')
}
}
diff --git a/src/api/index.js b/src/api/index.js
index 9a98c3b..1a4b84e 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -13,6 +13,7 @@ import contractPay from '@/api/contract/pay.js'
import notice from '@/api/notice/index.js'
import flower from '@/api/flower/index.js'
import badge from '@/api/badge/index.js'
+import claim from '@/api/claim/index.js'
export default {
user,
sys,
@@ -29,4 +30,5 @@ export default {
notice,
flower,
badge,
+ claim
}
diff --git a/src/views/flower/claim/components/edit.vue b/src/views/flower/claim/components/edit.vue
new file mode 100644
index 0000000..9411c68
--- /dev/null
+++ b/src/views/flower/claim/components/edit.vue
@@ -0,0 +1,147 @@
+
+
+
{{
+ type === 'add' ? '新增' : '编辑'
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 图片大小为 400* 400
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/flower/claim/index.vue b/src/views/flower/claim/index.vue
new file mode 100644
index 0000000..b7814fc
--- /dev/null
+++ b/src/views/flower/claim/index.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{
+ record.isHot === 0 ? '设置热门' : '取消热门'
+ }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/flower/invite/index.vue b/src/views/flower/invite/index.vue
deleted file mode 100644
index ab659e2..0000000
--- a/src/views/flower/invite/index.vue
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file