完成搜索页面
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user