diff --git a/components/common/common.vue b/components/common/common.vue index 47730576..5821dd05 100644 --- a/components/common/common.vue +++ b/components/common/common.vue @@ -157,11 +157,11 @@ }, // 底部菜单高度回调事件 - footer_height_value_event(value) { + footer_height_value_event(value) { this.setData({ footer_height_value: (value*2)+20 }); - this.$emit('footer-height', value); + this.$emit('onFooterHeight', value); // 存储底部菜单高度 app.globalData.app_tabbar_height_save(value); diff --git a/components/diy/footer.vue b/components/diy/footer.vue index 231a7d65..17b4949b 100644 --- a/components/diy/footer.vue +++ b/components/diy/footer.vue @@ -69,10 +69,6 @@ propKey(value, old_value) { this.init(); }, - // 菜单数据 - propValue(value, old_value) { - this.init(); - }, // 选中索引 propFooterActiveIndex(value, old_value) { this.init(); diff --git a/components/diy/header.vue b/components/diy/header.vue index 31f8ac08..d0ab51b6 100644 --- a/components/diy/header.vue +++ b/components/diy/header.vue @@ -12,9 +12,15 @@ + + + + + + diff --git a/pages/cart-page/cart-page.vue b/pages/cart-page/cart-page.vue index 2d93606a..134a4bb3 100644 --- a/pages/cart-page/cart-page.vue +++ b/pages/cart-page/cart-page.vue @@ -7,7 +7,7 @@ - +