modal2-comp.vue
758 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="modal-content">
<div class="info-icon">
<img src="@/assets/images/clarms/info.png">
</div>
<div class="message" :class="{'lsp':locale != 'en'}">
<span v-html="content">
{{content}}
</span>
<span class="target" v-if="target" @click="toTarget">{{target}}</span>
</div>
</div>
</div>
</div>
</div>
</template>
<script src="./modal2-comp.js"></script>
<style lang="scss" scoped>
@import "./modal2-comp.scss";
</style>