Created
September 28, 2016 13:15
-
-
Save justqyx/c2f7207e59ad8e952e3008f8306d7ec9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="weui-dialog-confirm hidden" v-bind:class="{ 'hidden': hidden }"> | |
<div class="weui-mask"></div> | |
<div class="weui-dialog"> | |
<div class="weui-dialog-bd"> | |
</div> | |
</div> | |
</div> | |
</template> | |
<script> | |
import Vue from 'vue' | |
export default Vue.extend({ | |
data() { | |
return { | |
hidden: true, | |
iframe: null | |
} | |
}, | |
methods: { | |
showModal: function(iframe) { | |
$(this.$el).find(".weui-dialog-bd").append(iframe); | |
this.hidden = true; | |
this.hidden = false; | |
}, | |
hideModal: function() { | |
this.iframe = null; | |
this.hidden = true; | |
} | |
} | |
}) | |
</script> | |
<style> | |
</style> | |
/** WEBPACK FOOTER ** | |
** braintree_3ds.vue?52100891 | |
**/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment