如题;
html:
{{item.title}}
- {{goods.goodsName}}
规格分类: {{goods.skuSpec.split("-").join(" ")}}
- {{goods.goodsPrice | currency('¥')}}
- {{goods.originalPrice | currency('¥')}}
- x{{goods.goodsNum}}
共 {{item.count}} 件商品 合计:{{item.totalMoney | currency('¥')}} (含运费 {{item.postage_price | currency('¥')}})
删除订单
付款
取消订单
退款
确认收货
提醒发货
评价
js:
loadBottom(){
this.$refs.loadMore.onBottomLoaded();
this.currentPage += 1;
let params = {
pageSize: this.pageSize,
currentPage: this.currentPage,
};
if(this.realStatus){
params['realStatus'] = this.realStatus
}
this.$http.get('/order/findOrderPage', {params}).then(res => {
console.log(res)
this.$refs.loading.show()
if( res.data.code === "2000") {
this.list = this.list.concat(res.data.rows);
if(!res.data.pager.totalPages){
this.noPages = true
}else{
this.noPages = res.data.pager.currentPage === res.data.pager.totalPages;
}
this.$refs.loading.hide()
}
}).catch( err=> {
console.log(err)
});
},