From f98388113f2e497cf490d4aefebc5048883ccb02 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 28 Nov 2022 16:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=85=91=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pidu/AppPointsChange/AppPointsChange.vue | 66 +++++++++++-------- .../pingchang/AppCommunityManagement/Edit.vue | 6 +- .../AppCommunityManagement/HandleDetail.vue | 2 +- .../AppCommunityManagement/ManageDetail.vue | 2 +- 4 files changed, 42 insertions(+), 34 deletions(-) diff --git a/src/project/pidu/AppPointsChange/AppPointsChange.vue b/src/project/pidu/AppPointsChange/AppPointsChange.vue index 442de186..20510461 100644 --- a/src/project/pidu/AppPointsChange/AppPointsChange.vue +++ b/src/project/pidu/AppPointsChange/AppPointsChange.vue @@ -13,35 +13,24 @@
-
最新上架
-
价格
-
可兑换的 - +
最新上架
+
价格
+
可兑换的 +
{{item}}
-
+
- +
-

天薇抽纸天然无香纸巾天薇抽纸天然无香纸巾天薇抽纸天然无香纸巾可湿水天薇抽纸天然无香纸巾可湿水

-

10积分

- +

{{item.merchandiseName}}

+

{{item.merchandiseIntegral}}积分

-
-
-
- -
-
-

天薇抽纸天然无香纸巾天薇抽纸天然无香纸巾天薇抽纸天然无香纸巾可湿水天薇抽纸天然无香纸巾可湿水

-

10积分

- -
- +
@@ -58,29 +47,36 @@ export default { return { current: 1, list: [], - typeList: ['全部', '100分以下', '500分以下', '1000分以下', '5000分以下', '10000分以下'], - typeIndex: 0 + typeList: ['全部', '100分以下', '500分以下', '1000分以下', '5000分以下'], + typeIndex: 0, + search: { + status: '', + newStatus: '', + priceStatus: '1' + } + } }, computed: { ...mapState(['user']), }, onLoad() { - // this.getList() - // uni.$on('reload', () => { - // this.getListInit() - // }) + this.getList() + uni.$on('reload', () => { + this.getListInit() + }) }, onShow() { document.title = '积分兑换' }, methods: { getList() { - this.$http.post('/app/apppartyintegralinfo/list', null, { + this.$http.post('/app/appintegralmerchandise/listByGirdMember', null, { params: { + ...this.search, size: 20, current: this.current, - partyName: this.partyName + queryIntegralType: this.typeIndex }, }) .then((res) => { @@ -102,7 +98,19 @@ export default { }, toMyOrder() { uni.navigateTo({url:`./myOrder`}) - } + }, + clickStatus() { + this.search.status = this.search.status == 2 ? '' : 2 + this.getListInit() + }, + clickNew() { + this.search.newStatus = this.search.newStatus == 1 ? '' : 1 + this.getListInit() + }, + clickPrice() { + this.search.priceStatus = this.search.priceStatus == 1 ? '' : 1 + this.getListInit() + }, }, onReachBottom() { this.current = this.current + 1 diff --git a/src/project/pingchang/AppCommunityManagement/Edit.vue b/src/project/pingchang/AppCommunityManagement/Edit.vue index 7f00269b..d6bf1917 100644 --- a/src/project/pingchang/AppCommunityManagement/Edit.vue +++ b/src/project/pingchang/AppCommunityManagement/Edit.vue @@ -9,7 +9,7 @@ *身份证号
- +
@@ -49,7 +49,7 @@
{{ form.startAreaName }} - 请选择 + 请选择
@@ -103,7 +103,7 @@
{{ form.arriveAreaName }} - 请选择 + 请选择
diff --git a/src/project/pingchang/AppCommunityManagement/HandleDetail.vue b/src/project/pingchang/AppCommunityManagement/HandleDetail.vue index 41d8586f..9107da51 100644 --- a/src/project/pingchang/AppCommunityManagement/HandleDetail.vue +++ b/src/project/pingchang/AppCommunityManagement/HandleDetail.vue @@ -18,7 +18,7 @@
身份证号
- + {{info.idNumberText}}
diff --git a/src/project/pingchang/AppCommunityManagement/ManageDetail.vue b/src/project/pingchang/AppCommunityManagement/ManageDetail.vue index 5a5c55e2..7ba42111 100644 --- a/src/project/pingchang/AppCommunityManagement/ManageDetail.vue +++ b/src/project/pingchang/AppCommunityManagement/ManageDetail.vue @@ -158,7 +158,7 @@ *身份证号
- +