From 93d2bb04c7f508a0da57b9f457f05960c611ecdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=82=93=E6=B4=81?= <209192278@qq.com>
Date: Mon, 27 Nov 2023 23:47:51 +0800
Subject: [PATCH] =?UTF-8?q?=E9=82=93=E6=B4=81=EF=BC=9A=E6=90=9C=E7=B4=A2?=
=?UTF-8?q?=E6=A1=86=E5=90=B8=E9=A1=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/InputAndSwiper/InputAndSwiper.vue | 25 +++++++-------
pages/index/NavBarPages/czxx/czxx.vue | 16 ++++-----
pages/index/NavBarPages/xmzs/xmzs.vue | 4 +--
pages/index/NavBarPages/zdxx/zdxx.vue | 16 ++++-----
pages/index/NavBarPages/zrxx/zrxx.vue | 6 ++--
pages/published/published.vue | 2 +-
pages/shopAddress/shopAddress.vue | 35 +++++++-------------
pages/shopTransfer/shopTransfer.vue | 34 ++++++-------------
uni.scss | 1 +
9 files changed, 59 insertions(+), 80 deletions(-)
diff --git a/components/InputAndSwiper/InputAndSwiper.vue b/components/InputAndSwiper/InputAndSwiper.vue
index d1fc174..4f125a1 100644
--- a/components/InputAndSwiper/InputAndSwiper.vue
+++ b/components/InputAndSwiper/InputAndSwiper.vue
@@ -2,8 +2,9 @@
-
+
@@ -46,7 +47,7 @@
return {
position: uni.getStorageSync('city') + uni.getStorageSync('district').slice(0, 2),
currentNum: '',
- keyword:''
+ keyword: ''
};
},
options: {
@@ -54,9 +55,9 @@
},
watch: {
refresh(newVal, oldVal) {
- console.log('newVal',newVal);
- if(newVal){
- this.keyword=''
+ console.log('newVal', newVal);
+ if (newVal) {
+ this.keyword = ''
}
}
},
@@ -66,15 +67,15 @@
}
},
created() {
-
+
},
methods: {
- changeInput(e){
- this.$emit('getQueryInfo',e)
+ changeInput(e) {
+ this.$emit('getQueryInfo', e)
},
- handleClear(e){
-
- console.log('handleClear',e);
+ handleClear(e) {
+
+ console.log('handleClear', e);
},
open() {
if (!uni.getStorageSync('city') && !uni.getStorageSync('district')) {
diff --git a/pages/index/NavBarPages/czxx/czxx.vue b/pages/index/NavBarPages/czxx/czxx.vue
index e3ae920..0499617 100644
--- a/pages/index/NavBarPages/czxx/czxx.vue
+++ b/pages/index/NavBarPages/czxx/czxx.vue
@@ -5,7 +5,7 @@
-
@@ -16,7 +16,7 @@
-
+
@@ -64,7 +64,7 @@
},
onReachBottom() {
if (this.shopListLength !== 0) {
- this.keyword=''
+ this.keyword = ''
this.pageNum++
this.getShopList()
console.log("触底加载");
@@ -76,16 +76,16 @@
this.getShopList()
},
methods: {
- getInput(val){
- console.log('搜索值',val);
- if(this.pageNum!==1){
- this.pageNum=1
+ getInput(val) {
+ console.log('搜索值', val);
+ if (this.pageNum !== 1) {
+ this.pageNum = 1
}
const q = this.$u.queryParams({
type: 3,
pageSize: this.pageSize,
pageNum: this.pageNum,
- kw:val
+ kw: val
})
this.$api.getShopList(q).then(res => {
this.shopListLength = res.data.data.length
diff --git a/pages/index/NavBarPages/xmzs/xmzs.vue b/pages/index/NavBarPages/xmzs/xmzs.vue
index 6fc133f..8524488 100644
--- a/pages/index/NavBarPages/xmzs/xmzs.vue
+++ b/pages/index/NavBarPages/xmzs/xmzs.vue
@@ -5,7 +5,7 @@
-
@@ -16,7 +16,7 @@
-
+
diff --git a/pages/index/NavBarPages/zdxx/zdxx.vue b/pages/index/NavBarPages/zdxx/zdxx.vue
index c59dae8..0a18742 100644
--- a/pages/index/NavBarPages/zdxx/zdxx.vue
+++ b/pages/index/NavBarPages/zdxx/zdxx.vue
@@ -5,7 +5,7 @@
-
@@ -16,7 +16,7 @@
-
+
@@ -62,7 +62,7 @@
},
onReachBottom() {
if (!this.refresh && this.searchListLength !== 0) {
- this.keyword=''
+ this.keyword = ''
this.pageNum++
this.getShopList()
console.log("触底加载");
@@ -74,16 +74,16 @@
this.getShopList()
},
methods: {
- getInput(val){
- console.log('搜索值',val);
- if(this.pageNum!==1){
- this.pageNum=1
+ getInput(val) {
+ console.log('搜索值', val);
+ if (this.pageNum !== 1) {
+ this.pageNum = 1
}
const q = this.$u.queryParams({
type: 2,
pageSize: this.pageSize,
pageNum: this.pageNum,
- kw:val
+ kw: val
})
this.$api.getShopList(q).then(res => {
this.searchListLength = res.data.data.length
diff --git a/pages/index/NavBarPages/zrxx/zrxx.vue b/pages/index/NavBarPages/zrxx/zrxx.vue
index fe9c68d..ce114ee 100644
--- a/pages/index/NavBarPages/zrxx/zrxx.vue
+++ b/pages/index/NavBarPages/zrxx/zrxx.vue
@@ -5,7 +5,7 @@
-
@@ -16,7 +16,7 @@
-
+
@@ -63,7 +63,7 @@
},
onReachBottom() {
if (!this.refresh && this.shopListLength !== 0) {
- this.keyword=''
+ this.keyword = ''
this.pageNum++
this.getShopList()
console.log("触底加载");
diff --git a/pages/published/published.vue b/pages/published/published.vue
index 038f107..f7d7801 100644
--- a/pages/published/published.vue
+++ b/pages/published/published.vue
@@ -9,7 +9,7 @@
-
+
diff --git a/pages/shopAddress/shopAddress.vue b/pages/shopAddress/shopAddress.vue
index 24460b6..639e438 100644
--- a/pages/shopAddress/shopAddress.vue
+++ b/pages/shopAddress/shopAddress.vue
@@ -1,18 +1,15 @@
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
+
没有符合条件的数据, 请下拉刷新重置数据~
@@ -143,7 +140,11 @@
}
-
+
+