-
-
百年征和波澜壮阔,百年初心历争议弥坚。7月1日上午,庆祝中国共产党成立100周年…
-
-

-
-
99+
+
+
+
+
百年征和波澜壮阔,百年初心历争议弥坚。7月1日上午,庆祝中国共产党成立100周年…
+
+

+
+
99+
+
+
+
+
-
-

-
+
+
@@ -63,16 +67,24 @@ export default {
data() {
return {
status: null,
+ current: 1,
+ list: [],
}
},
computed: {
...mapState(['user'])
},
methods: {
- getList() {
- this.$instance.post(``).then(res=> {
+ getList(moduleId) {
+ this.$instance.post(`/app/appcontentinfo/list-web`,null,{
+ params: {
+ moduleId: moduleId,
+ current: this.current,
+ // areaId: this.user.areaId
+ }
+ }).then(res=> {
if(res?.data) {
- console.log(res);
+ this.list = res.data.records.length > 3 ? res.data.records.slice(2) : res.data.records
}
})
},
@@ -103,14 +115,19 @@ export default {
this.status = 1
}
})
+ },
+ getModule() {
+ this.$instance.post(`/app/appintegraluserapply/queryModuleByName`).then(res=> {
+ if(res?.data) {
+ this.getList(res.data)
+ }
+ })
}
+
},
onShow() {
- uni.setNavigationBarTitle({
- title: '功德银行'
- });
- // this.getList()
this.getStatus()
+ this.getModule()
},
}
diff --git a/src/project/fengdu/AppNewFarmerBank/integralAdd.vue b/src/project/fengdu/AppNewFarmerBank/integralAdd.vue
index 924335c..93abfbf 100644
--- a/src/project/fengdu/AppNewFarmerBank/integralAdd.vue
+++ b/src/project/fengdu/AppNewFarmerBank/integralAdd.vue
@@ -84,6 +84,10 @@ export default {
return this.$u.toast('请选择事件类型')
}
+ if (!this.form.content) {
+ return this.$u.toast('请输入详细描述')
+ }
+
if ((this.form.images.length + this.form.videos.length) > 9) {
return this.$u.toast('图片和视频不得超过9个')
} else {
diff --git a/src/project/fengdu/AppNewFarmerBank/signIn.vue b/src/project/fengdu/AppNewFarmerBank/signIn.vue
index 8e0d6c9..5dbac65 100644
--- a/src/project/fengdu/AppNewFarmerBank/signIn.vue
+++ b/src/project/fengdu/AppNewFarmerBank/signIn.vue
@@ -5,7 +5,7 @@
时间
{{ data.createTime.slice(0,16) }}
From 1fbc5e2448af9ab4a11981b12b1c33cc019f9773 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Tue, 4 Apr 2023 18:00:23 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E7=B2=BE=E9=80=89=E5=8A=A8=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../AppNewFarmerBank/AppNewFarmerBank.vue | 74 ++++++++++---------
1 file changed, 38 insertions(+), 36 deletions(-)
diff --git a/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue b/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue
index c554af9..800eaac 100644
--- a/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue
+++ b/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue
@@ -38,8 +38,8 @@