From 3ecd8a4b9086e12e1710ca950692aefe10cd831d Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Thu, 17 Nov 2022 10:27:25 +0800
Subject: [PATCH] =?UTF-8?q?600=E6=AF=AB=E7=A7=92?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pingchang/AppPartyAuth/partyAuthApply.vue | 2 +-
.../pingchang/AppPhotoReport/PhotoDetail.vue | 26 ++++++++++++++++++-
.../pingchang/AppPhotoReport/PhotoForm.vue | 16 ++++++++++--
3 files changed, 40 insertions(+), 4 deletions(-)
diff --git a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue
index 8a2154f..bf33313 100644
--- a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue
+++ b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue
@@ -181,7 +181,7 @@ export default {
uni.clearStorageSync('lastSelectedParty');
setTimeout(() => {
uni.redirectTo({url: "./partyAuthSuccess"})
- }, 500)
+ }, 600)
}
this.$hideLoading()
})
diff --git a/src/project/pingchang/AppPhotoReport/PhotoDetail.vue b/src/project/pingchang/AppPhotoReport/PhotoDetail.vue
index 1db72e2..0fe76bb 100644
--- a/src/project/pingchang/AppPhotoReport/PhotoDetail.vue
+++ b/src/project/pingchang/AppPhotoReport/PhotoDetail.vue
@@ -61,6 +61,10 @@
+
+
@@ -134,7 +138,7 @@ export default {
margin-right: 8px;
}
.photo-detail {
- padding: 32px 0 50px;
+ padding: 32px 0 130px;
margin-bottom: 60px;
background: #fff;
@@ -224,4 +228,24 @@ export default {
.bottomBtn {
margin: 16px 32px 16px 0;
}
+
+.btn {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ height: 120px;
+ width: 100%;
+ padding: 16px 32px;
+ box-sizing: border-box;
+ background: #F3F6F9;
+ .subBtn {
+ height: 88px;
+ width: 100%;
+ background: #2D7DFF;
+ color: #fff;
+ line-height: 88px;
+ text-align: center;
+ border-radius: 16px;
+ }
+}
diff --git a/src/project/pingchang/AppPhotoReport/PhotoForm.vue b/src/project/pingchang/AppPhotoReport/PhotoForm.vue
index f9af6f7..4d8da2d 100644
--- a/src/project/pingchang/AppPhotoReport/PhotoForm.vue
+++ b/src/project/pingchang/AppPhotoReport/PhotoForm.vue
@@ -65,7 +65,7 @@
图片上传
(最多9张)
-
+
@@ -129,13 +129,16 @@ export default {
...mapState(['user'])
},
- onLoad() {
+ onLoad(o) {
this.getDict()
this.form.phone = this.user.phone
this.form.name = this.user.realName || ''
uni.setNavigationBarTitle({
title: '微心愿'
})
+ if(o.id) {
+ this.getDetail(o.id)
+ }
},
methods: {
@@ -186,6 +189,15 @@ export default {
areaSelect(v) {
console.log(v);
},
+ getDetail(id) {
+ this. $instance.post(`/app/appclapeventinfopingchang/queryDetailById?id=${id}`).then(res => {
+ if(res?.data) {
+ console.log(res);
+ this.form = res.data
+ this.form.files = res.data.files
+ }
+ })
+ },
submit() {
if (!this.form.groupId) {
return this.$toast('请选择事件类型')