600毫秒
This commit is contained in:
@@ -181,7 +181,7 @@ export default {
|
||||
uni.clearStorageSync('lastSelectedParty');
|
||||
setTimeout(() => {
|
||||
uni.redirectTo({url: "./partyAuthSuccess"})
|
||||
}, 500)
|
||||
}, 600)
|
||||
}
|
||||
this.$hideLoading()
|
||||
})
|
||||
|
||||
@@ -61,6 +61,10 @@
|
||||
</div>
|
||||
<AiEmpty :description="`暂无数据`" class="emptyWrap" v-else/>
|
||||
</div>
|
||||
<div class="btn">
|
||||
<div class="subBtn" v-show="info.eventStatus == 0" @click="$linkTo(`./PhotoForm?id=${info.id}`)">修改微心愿</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
<h2>图片上传</h2>
|
||||
<span>(最多9张)</span>
|
||||
</div>
|
||||
<AiUploader v-model="form.files" :limit="9"></AiUploader>
|
||||
<AiUploader v-model="form.files" :limit="9" multiple></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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('请选择事件类型')
|
||||
|
||||
Reference in New Issue
Block a user