index.vue 796 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <transition name="msgbox-fade">
  3. <div class="pub-wrapper" v-if="visible" @click.stop>
  4. <div class="pub-mask" @click="visible=false"></div>
  5. <div class="pub-modal">
  6. <div class="modal-hd">
  7. <i class="el-icon-close" @click="visible = false"></i>
  8. </div>
  9. <div class="modal-bd">
  10. <psw-setting></psw-setting>
  11. </div>
  12. </div>
  13. </div>
  14. </transition>
  15. </template>
  16. <script>
  17. import Vue from 'vue'
  18. Vue.component(
  19. 'psw-setting', () => import('@/components/popup/pswSetting/pswSetting')
  20. )
  21. export default {
  22. name: 'loginPopup',
  23. data () {
  24. return {
  25. visible: true
  26. }
  27. },
  28. computed: {
  29. },
  30. methods: {
  31. },
  32. created () {
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .pub-modal{
  38. background: #fff;
  39. }
  40. </style>