diff --git a/components/WaterfallsFlow/WaterfallsFlowo.vue b/components/WaterfallsFlow/WaterfallsFlowo.vue index e8cc612..4551c22 100644 --- a/components/WaterfallsFlow/WaterfallsFlowo.vue +++ b/components/WaterfallsFlow/WaterfallsFlowo.vue @@ -101,7 +101,7 @@ export default { if(this.mark < this.allList.length){ this.waterFall() } - console.log(this.rightList,this.leftList) + } }, immediate: true, diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index 992c8b3..da9e836 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -70,7 +70,13 @@ - + @@ -264,13 +270,14 @@ }, // 初始化菜单 initMenu() { - let all = uni.getStorageSync('gatherAllMenuList'); let now = uni.getStorageSync('gatherNowMenuList'); - if (all) { - this.AllMenuList = JSON.parse(all); - } - if (now) { + try { this.nowMenuList = JSON.parse(now); + this.AllMenuList = this.AllMenuList.filter((item) => { + return this.nowMenuList.find(t => t.name == item.name)?.name != item.name; + }) + } catch (e) { + this.nowMenuList = []; } }, clickMenu(e, data) { @@ -299,8 +306,7 @@ }, // 编辑完成 editComfirm() { - this.editFlag = false; - uni.setStorageSync('gatherAllMenuList', JSON.stringify(this.AllMenuList)); +this.editFlag = false; uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList)); }, getUniMp(appid) { @@ -377,7 +383,7 @@ this.street = res.data.address_component.street this.$nextTick(() => { this.$bus.$emit('value-updated', this.street + ',' + - street_id); + street_id); }) diff --git a/pages/index/index.vue b/pages/index/index.vue index 4a48eb3..5a9597f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,219 +1,180 @@ \ No newline at end of file diff --git a/pages/plant_release/index.vue b/pages/plant_release/index.vue index cdcb3eb..c55ca66 100644 --- a/pages/plant_release/index.vue +++ b/pages/plant_release/index.vue @@ -1,9 +1,9 @@ @@ -252,7 +255,7 @@ // #endif }, onLoad(options) { - + // uni.hideTabBar() this.id = options.id; this.order_id = options.order_id; diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index fa83bd5..bd6686b 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -129,6 +129,13 @@ 位置权限使用说明 用于向你推荐最近门店 + diff --git a/pages/user/index.vue b/pages/user/index.vue index f2e4aa6..c514b00 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -224,7 +224,7 @@ -