600毫秒
This commit is contained in:
@@ -181,7 +181,7 @@ export default {
|
|||||||
uni.clearStorageSync('lastSelectedParty');
|
uni.clearStorageSync('lastSelectedParty');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.redirectTo({url: "./partyAuthSuccess"})
|
uni.redirectTo({url: "./partyAuthSuccess"})
|
||||||
}, 500)
|
}, 600)
|
||||||
}
|
}
|
||||||
this.$hideLoading()
|
this.$hideLoading()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -61,6 +61,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<AiEmpty :description="`暂无数据`" class="emptyWrap" v-else/>
|
<AiEmpty :description="`暂无数据`" class="emptyWrap" v-else/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="btn">
|
||||||
|
<div class="subBtn" v-show="info.eventStatus == 0" @click="$linkTo(`./PhotoForm?id=${info.id}`)">修改微心愿</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -134,7 +138,7 @@ export default {
|
|||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
.photo-detail {
|
.photo-detail {
|
||||||
padding: 32px 0 50px;
|
padding: 32px 0 130px;
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
||||||
@@ -224,4 +228,24 @@ export default {
|
|||||||
.bottomBtn {
|
.bottomBtn {
|
||||||
margin: 16px 32px 16px 0;
|
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>
|
</style>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
<h2>图片上传</h2>
|
<h2>图片上传</h2>
|
||||||
<span>(最多9张)</span>
|
<span>(最多9张)</span>
|
||||||
</div>
|
</div>
|
||||||
<AiUploader v-model="form.files" :limit="9"></AiUploader>
|
<AiUploader v-model="form.files" :limit="9" multiple></AiUploader>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -129,13 +129,16 @@ export default {
|
|||||||
...mapState(['user'])
|
...mapState(['user'])
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoad() {
|
onLoad(o) {
|
||||||
this.getDict()
|
this.getDict()
|
||||||
this.form.phone = this.user.phone
|
this.form.phone = this.user.phone
|
||||||
this.form.name = this.user.realName || ''
|
this.form.name = this.user.realName || ''
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: '微心愿'
|
title: '微心愿'
|
||||||
})
|
})
|
||||||
|
if(o.id) {
|
||||||
|
this.getDetail(o.id)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
@@ -186,6 +189,15 @@ export default {
|
|||||||
areaSelect(v) {
|
areaSelect(v) {
|
||||||
console.log(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() {
|
submit() {
|
||||||
if (!this.form.groupId) {
|
if (!this.form.groupId) {
|
||||||
return this.$toast('请选择事件类型')
|
return this.$toast('请选择事件类型')
|
||||||
|
|||||||
Reference in New Issue
Block a user