From 60d6528485278eeceb2dcad46ec977ebf135dc4c Mon Sep 17 00:00:00 2001
From: wangxiaowei <1121133807@qq.com>
Date: Mon, 2 Dec 2024 17:38:42 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=9C=AC=E5=9C=B0=E7=94=9F?=
=?UTF-8?q?=E6=B4=BB=E5=95=86=E5=93=81=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=80?=
=?UTF-8?q?=E9=A1=B5=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2=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
---
bundle_b/pages/local_shop/local_shop_edit.vue | 6 +++---
.../pages/local_shop/local_shop_manager.vue | 20 +++++++++++++------
2 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/bundle_b/pages/local_shop/local_shop_edit.vue b/bundle_b/pages/local_shop/local_shop_edit.vue
index 46b9006..f3da5ac 100644
--- a/bundle_b/pages/local_shop/local_shop_edit.vue
+++ b/bundle_b/pages/local_shop/local_shop_edit.vue
@@ -432,9 +432,9 @@
});
}
},
- onUnload() {
- uni.$emit('refresh_local_shop_list', true)
- },
+ // onUnload() {
+ // uni.$emit('refresh_local_shop_list', true)
+ // },
computed: {
btnText() {
if (this.state == 1) {
diff --git a/bundle_b/pages/local_shop/local_shop_manager.vue b/bundle_b/pages/local_shop/local_shop_manager.vue
index 6f0ae70..366ffa9 100644
--- a/bundle_b/pages/local_shop/local_shop_manager.vue
+++ b/bundle_b/pages/local_shop/local_shop_manager.vue
@@ -2,7 +2,8 @@
-
+
@@ -12,7 +13,7 @@
import shopList from './components/shop-list.vue'
export default {
components: {
- shopList,
+ shopList,
},
data() {
return {
@@ -34,22 +35,30 @@
type: 4,
num: 0
}],
- lstore_id: 0
+ lstore_id: 0,
+ scrollTo: 0
};
},
onLoad(options) {
this.lstore_id = options?.lstore_id
this.changeShow(0);
},
+
+ onShow() {
+ if (uni.getStorageSync('mescrollScrollTop')) {
+ this.scrollTo = uni.getStorageSync('mescrollScrollTop')
+ console.log('getStorageSync=', uni.getStorageSync('mescrollScrollTop'))
+ }
+ },
methods: {
changeShow(index) {
- if(index != -1) {
+ if (index != -1) {
this.$nextTick(() => {
this.active = index
})
}
},
-
+
setGoodsStateNum(data) {
this.menu[2].num = data.stayGoodsCount
this.menu[3].num = data.failGoodsCount
@@ -57,7 +66,6 @@
}
};
-
\ No newline at end of file