添加佛前供灯

This commit is contained in:
2022-03-09 10:56:14 +08:00
parent 442fea23f5
commit c0b25db38d
32 changed files with 1095 additions and 49 deletions
+3 -2
View File
@@ -46,7 +46,7 @@
<script>
import { getMeritBox, } from '@/api';
import { swiper, swiperSlide } from 'vue-awesome-swiper';
import { mapState } from 'vuex';
export default {
components: {
@@ -86,6 +86,7 @@ export default {
}
},
computed: {
...mapState(['temple_merit_id']),
swiper(){
return this.$refs.swiper.swiper;
}
@@ -114,7 +115,7 @@ export default {
async getMeritBox(){
const current = this.nav.find(item => item.id === this.type_id);
const res = await getMeritBox(this.query.temple_id || '1', current.id, current.page, current.size);
const res = await getMeritBox(this.temple_merit_id || this.query.temple_id || '1', current.id, current.page, current.size);
this.info = res.merit_box_info;
this.total = res.merit_box_order.total;
current.list = res.merit_box_order.list