zj
2024-06-03 cd10c1c4b723da0ae8496bf9c4f68a12e159fd97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<template>
  <div class="flex-row-center">
    <img
      v-if="verrify"
      src="@/assets/myImages/icon-image/account-security/success-green.png"
      alt=""
      width="25"
      height="25"
    />
    <img
      v-else
      src="@/assets/myImages/icon-image/account-security/error.png"
      width="25"
      height="25"
      alt=""
    />
    <div v-if="label">{{ t(`message.user.${label}`) }}</div>
  </div>
</template>
<script setup>
import { useI18n } from "vue-i18n";
const { t } = useI18n();
const props = defineProps({
  verrify: {
    type: Boolean,
  },
  label: {
    type: String,
  },
});
</script>