modal2-comp.vue
629 Bytes
<template>
<div class="comp" :class="{'hide' : !visible }">
<div @click="onOverLayHandler()" class="overlay"></div>
<div class="border">
<div class="close" @click="onCloseHandler()"><img src="@/assets/images/clarms/close.png"></div>
<div class="modal">
<div class="content">
<div class="info-icon">
<img src="@/assets/images/clarms/info.png">
</div>
<div class="message" :class="{'lsp':locale != 'en'}">
{{content}}
</div>
</div>
</div>
</div>
</div>
</template>
<script src="./modal2-comp.js"></script>
<style lang="scss" scoped>
@import "./modal2-comp.scss";
</style>