From 3a8691c0d9a9e4c671c44bb861f0afdb50deeaf2 Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Tue, 26 Sep 2023 17:09:32 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/app.js | 4 +-
pages/gather/gather.vue | 86 ++++++++------------------
pages/moreProject/moreProject.vue | 8 +--
pages/nongKe/cloud_entrepot/index.vue | 18 ++++--
pages/nongKe/cloud_entrepot/indexa.vue | 16 +++--
pages/nongKe/food/index.vue | 5 +-
pages/nongKe/specialty/index.vue | 5 +-
pages/nongKe/supply_chain/supplier.vue | 44 ++++++++-----
pages/nongKe/tourism/index.vue | 5 +-
pages/product/basicSet.vue | 10 +--
10 files changed, 104 insertions(+), 97 deletions(-)
diff --git a/config/app.js b/config/app.js
index 346d3c5..2182f5b 100644
--- a/config/app.js
+++ b/config/app.js
@@ -9,8 +9,8 @@ let httpApiThree
let httpApiFour
// 在打包之前请检查当前环境是否正确
-// const env = 'dev'; // 开发
-const env = 'prod'; // 生产
+const env = 'dev'; // 开发
+// const env = 'prod'; // 生产
// const env = 'prew'; // 预上线
switch (env) {
diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue
index 022a6dc..d5bd71f 100644
--- a/pages/gather/gather.vue
+++ b/pages/gather/gather.vue
@@ -30,7 +30,7 @@
-
+
@@ -73,7 +73,7 @@
-
+
+
+
+
+
+
+
+
@@ -39,8 +47,10 @@
-
+
+
供销综合云市场
diff --git a/pages/nongKe/cloud_entrepot/indexa.vue b/pages/nongKe/cloud_entrepot/indexa.vue
index 62acea1..9f32189 100644
--- a/pages/nongKe/cloud_entrepot/indexa.vue
+++ b/pages/nongKe/cloud_entrepot/indexa.vue
@@ -22,10 +22,15 @@
-
+ height="50.82rpx" @click='goBack'> -->
+
+
+
@@ -110,8 +115,11 @@
-
+
+
+
供销综合云市场
diff --git a/pages/nongKe/food/index.vue b/pages/nongKe/food/index.vue
index 27e954a..d84703e 100644
--- a/pages/nongKe/food/index.vue
+++ b/pages/nongKe/food/index.vue
@@ -9,7 +9,10 @@
-
+
+
diff --git a/pages/nongKe/specialty/index.vue b/pages/nongKe/specialty/index.vue
index 71ad4dc..b2986af 100644
--- a/pages/nongKe/specialty/index.vue
+++ b/pages/nongKe/specialty/index.vue
@@ -9,7 +9,10 @@
-
+
+
diff --git a/pages/nongKe/supply_chain/supplier.vue b/pages/nongKe/supply_chain/supplier.vue
index 9bb3a07..91e9abd 100644
--- a/pages/nongKe/supply_chain/supplier.vue
+++ b/pages/nongKe/supply_chain/supplier.vue
@@ -8,8 +8,9 @@
-
+
+
供销综合云市场
@@ -141,7 +142,7 @@
-
+
@@ -414,6 +415,7 @@
menuList: [],
street: "",
showPicker: false,
+ status: "loadmore",
// 下拉菜单
downMenu: [{
title: '默认',
@@ -920,19 +922,33 @@
},
//上划加载更多
onReachBottom() {
- if (this.count === this.storeList.length) {
- if (this.count === 0) {
+ this.sotreParam.page += 1
+
+ let rqData = {
+ keyword: this.sotreParam.keyword,
+ page: this.sotreParam.page,
+ limit: 10,
+ order: this.sotreParam.order,
+ category_id: this.sotreParam.category_id,
+ type_id: this.sotreParam.type_id,
+ street_id: this.sotreParam.street_id,
+ credit_buy: this.credit_buy
+ }
+ if (this.latitude) {
+ rqData.location = this.latitude + ',' + this.longitude
+ }
+ // console.log(rqData)
+ storeMerchantList(rqData).then(res => {
+ if (res.data.list == 0) {
+ this.status = "nomore"
return
}
- uni.showToast({
- title: '已加载全部',
- icon: 'none',
- duration: 1000
- });
- } else {
- this.sotreParam.page += 1
- this.storeMerchantList()
- }
+ this.count = res.data.count
+ this.storeList.push(...res.data.list)
+
+ })
+
+
}
}
diff --git a/pages/nongKe/tourism/index.vue b/pages/nongKe/tourism/index.vue
index d40a5ea..bd9df7a 100644
--- a/pages/nongKe/tourism/index.vue
+++ b/pages/nongKe/tourism/index.vue
@@ -9,7 +9,10 @@
-
+
+
diff --git a/pages/product/basicSet.vue b/pages/product/basicSet.vue
index b1f9367..85a5bc9 100644
--- a/pages/product/basicSet.vue
+++ b/pages/product/basicSet.vue
@@ -135,12 +135,12 @@
-
+
-
-
+
+