animatecss.vue 1001 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <script setup lang="ts">
  2. import { ref, watch } from "vue";
  3. import ReAnimateSelector from "@/components/ReAnimateSelector";
  4. defineOptions({
  5. name: "AnimateCss"
  6. });
  7. const animate = ref("");
  8. watch(animate, () => {
  9. console.log("animate", animate.value);
  10. });
  11. </script>
  12. <template>
  13. <el-card shadow="never">
  14. <template #header>
  15. <div class="card-header">
  16. <span class="font-medium">
  17. <el-link
  18. href="https://animate.style/"
  19. target="_blank"
  20. style="margin: 0 4px 5px; font-size: 16px"
  21. >
  22. animate.css
  23. </el-link>
  24. 选择器
  25. </span>
  26. </div>
  27. <el-link
  28. class="mt-2"
  29. href="https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/animatecss.vue"
  30. target="_blank"
  31. >
  32. 代码位置 src/views/components/animatecss.vue
  33. </el-link>
  34. </template>
  35. <ReAnimateSelector v-model="animate" class="w-[200px]!" />
  36. </el-card>
  37. </template>