Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template lang="pug">
  2. .card.f-col.start.b-solid.rounded.bg-primary.mr-1
  3. header.t-right.dark.ph-1.pt-1
  4. h3 {{ card.name }}
  5. main.ph-1
  6. section
  7. img(alt="Vue logo" src="@/assets/logo.png").w-full
  8. footer.ph-1.b-1
  9. button(@click="state.count++").b-solid.rounded.p-0 {{ state.count }}
  10. button(@click="close").b-solid.rounded.p-0 close
  11. </template>
  12. <script setup>
  13. import { defineProps, reactive, getCurrentInstance } from 'vue'
  14. const instance = getCurrentInstance()
  15. const props = defineProps({
  16. msg: String,
  17. card: Object
  18. })
  19. const state = reactive({
  20. count: 0,
  21. loaded: false,
  22. profile: null
  23. })
  24. const close = e => {
  25. instance.emit('remove', props.card)
  26. }
  27. </script>
  28. <style lang="postcss">
  29. @import '@/sss/theme.sss'
  30. .card
  31. height: $ms-8
  32. width: $ms-7
  33. </style>