完成搜索页面

This commit is contained in:
2021-11-27 11:05:29 +08:00
parent 84380ef55a
commit 6f4b7a7b02
19 changed files with 1174 additions and 599 deletions
+5 -2
View File
@@ -90,7 +90,7 @@ export default {
},
async getMeritBox(){
const current = this.nav.find(item => item.id === this.type_id);
const res = await getMeritBox(this.query.temple_id, current.id, current.page, current.size);
const res = await getMeritBox(this.query.temple_id || '1', current.id, current.page, current.size);
this.info = res.merit_box_info;
// this.list = res.merit_box_order.list;
current.list = res.merit_box_order.list
@@ -112,8 +112,9 @@ export default {
query: {
...this.$route.query,
title: '功德箱/供奉',
subTitle: '',
subTitle: '随喜',
amount: obj.money,
quantity: 1,
from: 'meritBox', // 标识为功德箱
}
})
@@ -181,6 +182,7 @@ export default {
background: white;
padding: .4rem 0;
border-top: .01rem solid #ddd;
padding-bottom: calc(env(safe-area-inset-bottom) + 0rem);
.merit-button{
display: inline-block;
background: $primary-color;
@@ -190,6 +192,7 @@ export default {
padding: 0 .53rem;
border: .01rem solid $primary-color;
border-radius: $btn-border-radius;
}
}
}