|
@@ -1,29 +1,27 @@
|
|
|
<template>
|
|
|
- <van-popup
|
|
|
+ <AntiPopup
|
|
|
:value="value"
|
|
|
@input="onInput"
|
|
|
- get-container="body"
|
|
|
+ class="use-anti-popup-container"
|
|
|
overlay-class="verify-points-overlay"
|
|
|
- :close-on-click-overlay="false"
|
|
|
- close-on-popstate
|
|
|
- transition-appear
|
|
|
- class="verify-points-popup">
|
|
|
+ content-class="verify-points-popup"
|
|
|
+ transition-appear>
|
|
|
<VerifyPoints
|
|
|
ref="verifyPoints"
|
|
|
@refresh="onRefresh"
|
|
|
@confirm="onConfirm"
|
|
|
:imgBase64="imgBase64"
|
|
|
:textVerify="textVerify" />
|
|
|
- </van-popup>
|
|
|
+ </AntiPopup>
|
|
|
</template>
|
|
|
<script>
|
|
|
import VerifyPoints from './VerifyPoints'
|
|
|
-import { Popup } from 'vant'
|
|
|
+import AntiPopup from './AntiPopup'
|
|
|
|
|
|
export default {
|
|
|
name: 'VerifyPointsPopup',
|
|
|
components: {
|
|
|
- [Popup.name]: Popup,
|
|
|
+ AntiPopup,
|
|
|
VerifyPoints
|
|
|
},
|
|
|
props: {
|
|
@@ -67,8 +65,9 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
-.verify-points-popup {
|
|
|
- top: 45%;
|
|
|
- background-color: transparent;
|
|
|
+.use-anti-popup-container {
|
|
|
+ ::v-deep {
|
|
|
+ .verify-points-popup {}
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|