...
|
...
|
@@ -28,7 +28,7 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="order-option">
|
|
|
<div class="order-option" v-show="order.canCancel == 'Y'">
|
|
|
<div class="goods-total"></div>
|
|
|
<div class="options" v-show="order.canCancel == 'Y'">
|
|
|
<button v-if="order.canCancel == 'Y'" class="normal">取消申请</button>
|
...
|
...
|
@@ -51,6 +51,7 @@ |
|
|
return {
|
|
|
page: 0,
|
|
|
limit: 10,
|
|
|
pageTotal: 1,
|
|
|
orderList: [],
|
|
|
busy: false,
|
|
|
};
|
...
|
...
|
@@ -65,6 +66,9 @@ |
|
|
let _that = this;
|
|
|
|
|
|
this.busy = true;
|
|
|
if (this.page >= this.pageTotal) {
|
|
|
return;
|
|
|
}
|
|
|
$.ajax({
|
|
|
url: '/home/refund/get-orders',
|
|
|
data: {
|
...
|
...
|
@@ -72,13 +76,10 @@ |
|
|
limit: this.limit
|
|
|
}
|
|
|
}).then(result => {
|
|
|
if (result.isend) {
|
|
|
_that.busy = true;
|
|
|
} else {
|
|
|
_that.busy = false;
|
|
|
}
|
|
|
_that.busy = false;
|
|
|
if (result.data.list.length > 0) {
|
|
|
this.$set('orderList', result.data.list);
|
|
|
this.$set('orderList', _that.orderList.concat(result.data.list));
|
|
|
_that.pageTotal = result.data.totalPage;
|
|
|
}
|
|
|
}).fail(() => {
|
|
|
tip('网络错误');
|
...
|
...
|
@@ -112,13 +113,4 @@ |
|
|
|
|
|
@import "../../scss/home/_order.css";
|
|
|
|
|
|
.order-wrapper {
|
|
|
height: 100%;
|
|
|
|
|
|
ul {
|
|
|
height: 100%;
|
|
|
overflow-y: auto;
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
}
|
|
|
}
|
|
|
</style> |
|
|
\ No newline at end of file |
...
|
...
|
|