From 57cfbe00d78e173d4feb9598cf57cebb367b9e55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com>
Date: Fri, 5 Dec 2025 10:56:31 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B9=96=E7=95=94=E5=A5=BD?=
=?UTF-8?q?=E5=BA=97=E7=B1=BB=E7=9B=AE=E8=AF=A6=E6=83=85=E4=B8=AD=E6=90=9C?=
=?UTF-8?q?=E7=B4=A2=E4=B8=8D=E8=B5=B7=E4=BD=9C=E7=94=A8=E7=9A=84=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/localLife/classify/index.vue | 34 ++++++++++++++-------------
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/packages/localLife/classify/index.vue b/packages/localLife/classify/index.vue
index 131f57da..5f9c68b5 100644
--- a/packages/localLife/classify/index.vue
+++ b/packages/localLife/classify/index.vue
@@ -7,19 +7,17 @@
-
+
+
{{ address }}
-
-
+
+
+
@@ -54,8 +52,7 @@
-
+
点评
@@ -67,8 +64,7 @@
-
+
暂无数据
@@ -82,8 +78,7 @@
-->
-
+
快捷支付记录
@@ -122,7 +117,7 @@ export default {
merchatList: [],
changeId: "",
-
+ searchText: ''
};
},
onLoad(options) {
@@ -146,7 +141,7 @@ export default {
methods: {
// 跳转快捷支付记录
- toPayInfo(){
+ toPayInfo() {
NavgateTo("/packages/localLife/payInfo/index")
},
back() {
@@ -165,7 +160,7 @@ export default {
const params = {
isShop: 1,
}
- await request(apiArr.getMerChantCateList, "POST",params).then((res) => {
+ await request(apiArr.getMerChantCateList, "POST", params).then((res) => {
res.rows = res.rows.filter((item) => item.is_visible == 1)
console.log(res);
// 将数据分成每10个一组
@@ -176,6 +171,12 @@ export default {
}
});
},
+ //搜索商家
+ handleSearch() {
+ this.page_num = 1;
+ this.merchatList = [];
+ this.getMechantList();
+ },
//查询商家列表
async getMechantList() {
let that = this;
@@ -183,6 +184,7 @@ export default {
merchant_cate_id: this.changeId,
page_num: that.page_num,
page_size: that.page_size,
+ merchant_name: that.searchText
}
await request(apiArr.getMerchantList, "POST", params).then((res) => {
let latitude = uni.getStorageSync("location").lat;