From d166d5943c319df992d3e3d997acedacdecdaacc Mon Sep 17 00:00:00 2001 From: misworga831 Date: Mon, 23 Sep 2024 22:34:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=B2=E9=80=89=E6=8B=A9=E7=9A=84?= =?UTF-8?q?=E5=88=86=E9=94=80=E5=95=86=E5=93=81=EF=BC=8C=E4=B8=80=E7=9B=B4?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=8D=81=E4=B8=AA=E5=95=86=E5=93=81=EF=BC=8C?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E5=B9=B6=E6=B2=A1=E6=9C=89=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/distribution/list.vue | 82 +++++++++++++++++++------------- 1 file changed, 50 insertions(+), 32 deletions(-) diff --git a/pages/mine/distribution/list.vue b/pages/mine/distribution/list.vue index 989daf3..54ce64e 100644 --- a/pages/mine/distribution/list.vue +++ b/pages/mine/distribution/list.vue @@ -66,42 +66,45 @@ - + + -
- - - - - - - {{ item.goodsName }} +
+ + - - - 佣金: - ¥{{ item.commission | unitPrice }} - - - - - - - ¥{{ item.price | unitPrice }} + + + + {{ item.goodsName }} + + + + 佣金: + ¥{{ item.commission | unitPrice }} + + + + + + + ¥{{ item.price | unitPrice }} + + + + 立即选取 + 分销商品 - - 立即选取 - 分销商品 - - -
- +
+
+
+ @@ -295,15 +298,30 @@ export default { }); this.goodsList.push(...res.data.result.records); } - if (this.goodsList.length == 0) { + if (this.goodsList.length === 0) { this.empty = true; } }); }, + + /** + * 底部加载数据 + */ + renderDate() { + + this.params.pageNumber += 1; + this.init(); + }, + }, };