From a354d27f6cf9b37f26899759c230d1410a6ec6b6 Mon Sep 17 00:00:00 2001 From: airyland Date: Thu, 31 Aug 2017 07:16:46 +0800 Subject: [PATCH] popup: use common classname prefix --- src/components/popup/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/popup/index.vue b/src/components/popup/index.vue index 99e325398..8fda52cfc 100755 --- a/src/components/popup/index.vue +++ b/src/components/popup/index.vue @@ -126,7 +126,7 @@ export default { this.popup && this.popup.show() this.$emit('on-show') this.fixSafariOverflowScrolling('auto') - dom.addClass(document.body, 'modal-open') + dom.addClass(document.body, 'vux-modal-open') if (!this.hasFirstShow) { this.$emit('on-first-show') this.hasFirstShow = true @@ -139,7 +139,7 @@ export default { if (!document.querySelector('.vux-popup-dialog.vux-popup-show')) { this.fixSafariOverflowScrolling('touch') } - dom.removeClass(document.body, 'modal-open') + dom.removeClass(document.body, 'vux-modal-open') }, 200) } } @@ -223,7 +223,7 @@ export default { transform: translate3d(0, -100%, 0); } -.modal-open { +.vux-modal-open { overflow: hidden; position: fixed; width: 100%;