更改寺庙列表导航和定位
This commit is contained in:
@@ -215,7 +215,7 @@ export default {
|
||||
// 获取更多感恩功德1
|
||||
loadMoreFn(){
|
||||
this.page += 1;
|
||||
this.getPayRecords({id: this.listType}, this.page)
|
||||
this.getPayRecords({id: this.listType}, this.page, 10)
|
||||
},
|
||||
onToFillMeritName(){
|
||||
this.$router.push({
|
||||
@@ -241,7 +241,7 @@ export default {
|
||||
this.currentLightSize = this.currentLight.children[0].id
|
||||
await this.getPayRecords({ id: 1}, 1);
|
||||
this.$nextTick(() => {
|
||||
this.paddingBottom = this.$refs.fixedBottom.getOffsetHeight()
|
||||
this.paddingBottom = this.$refs.fixedBottom.getOffsetHeight() - 50
|
||||
})
|
||||
this.wechatReady({
|
||||
...this.data.shareConfig,
|
||||
@@ -249,10 +249,10 @@ export default {
|
||||
})
|
||||
},
|
||||
// 获取感恩功德
|
||||
async getPayRecords(lType, page){
|
||||
async getPayRecords(lType, page, size = 3){
|
||||
this.listType = lType.id;
|
||||
this.page = page;
|
||||
const res = await getOrderCompare(this.query.temple_id, this.page, this.listType, '', this.query.goods_type );
|
||||
const res = await getOrderCompare(this.query.temple_id, this.page, this.listType, '', this.query.goods_type, size );
|
||||
if(this.page === 1){
|
||||
this.payList = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user