hookehuyr

fix

...@@ -130,6 +130,12 @@ watch(() => props.showPopup, (v) => { ...@@ -130,6 +130,12 @@ watch(() => props.showPopup, (v) => {
130 }); 130 });
131 return false; 131 return false;
132 } 132 }
133 + show.value = v;
134 + // DOM调整后,把弹出框高度设定到适合高度,配合不同分辨率效果
135 + nextTick(() => {
136 + let height = $('.donate-wrapper').height();
137 + popupHeight.value = height + 10 + 'px';
138 + })
133 }) 139 })
134 140
135 const closeBtn = () => { 141 const closeBtn = () => {
......