icon-group.vue 781 B

12345678910111213141516171819202122232425
  1. <script lang='ts' setup>
  2. import { computed, defineAsyncComponent, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'
  3. defineProps({
  4. icon: {
  5. type: String,
  6. default: '',
  7. },
  8. })
  9. </script>
  10. <template>
  11. <div class="">
  12. <svgo-dashboard v-if="icon === 'dashboard'" class="!w-22px !h-22px" />
  13. <svgo-rfqs v-if="icon === 'rfqs'" class="!w-20px !h-20px" />
  14. <svgo-favorite v-if="icon === 'favourite'" class="!w-22px !h-22px" />
  15. <svgo-order v-if="icon === 'order'" class="!w-22px !h-22px" />
  16. <svgo-notice v-if="icon === 'notice'" class="!w-22px !h-22px" />
  17. <svgo-message v-if="icon === 'message'" class="!w-22px !h-22px" />
  18. <svgo-setting v-if="icon === 'setting'" class="!w-22px !h-22px" />
  19. </div>
  20. </template>
  21. <style lang='less' scoped>
  22. </style>