From 462f5120af7fae01163fe0b2e21792267d039a32 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu <1171051090@qq.com> Date: Fri, 25 Dec 2020 18:01:43 +0800 Subject: [PATCH] update --- package-lock.json | 14 ++--- package.json | 1 + public/index.html | 2 +- src/configs/animation.ts | 38 +++++++++++++ src/hooks/useAnimation.ts | 56 +++++++++++++++++++ src/main.ts | 1 + src/mocks/index.ts | 12 ++++ .../Canvas/Operate/ImageElementOperate.vue | 2 +- .../Canvas/Operate/TextElementOperate.vue | 2 +- src/views/Editor/Canvas/index.vue | 1 + src/views/Editor/EditorHeader/index.vue | 37 +++++++++++- 11 files changed, 154 insertions(+), 12 deletions(-) create mode 100644 src/configs/animation.ts create mode 100644 src/hooks/useAnimation.ts diff --git a/package-lock.json b/package-lock.json index f3c3b8f..9604d3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2300,7 +2300,7 @@ }, "fork-ts-checker-webpack-plugin-v5": { "version": "npm:fork-ts-checker-webpack-plugin@5.2.1", - "resolved": "https://registry.npm.taobao.org/fork-ts-checker-webpack-plugin/download/fork-ts-checker-webpack-plugin-5.2.1.tgz", + "resolved": "https://registry.npm.taobao.org/fork-ts-checker-webpack-plugin/download/fork-ts-checker-webpack-plugin-5.2.1.tgz?cache=0&sync_timestamp=1607084938170&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffork-ts-checker-webpack-plugin%2Fdownload%2Ffork-ts-checker-webpack-plugin-5.2.1.tgz", "integrity": "sha1-eTJthpeXkG+osk4qvPlCH8gFRQ0=", "dev": true, "optional": true, @@ -2359,7 +2359,7 @@ }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1608033330722&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz", + "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1606205010380&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz", "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", "dev": true, "optional": true, @@ -3199,6 +3199,11 @@ "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=", "dev": true }, + "animate.css": { + "version": "4.1.1", + "resolved": "https://registry.npm.taobao.org/animate.css/download/animate.css-4.1.1.tgz", + "integrity": "sha1-YU7FqBEx1+TcNipYFD90BqvWgHU=" + }, "ansi-colors": { "version": "3.2.4", "resolved": "https://registry.npm.taobao.org/ansi-colors/download/ansi-colors-3.2.4.tgz", @@ -15918,11 +15923,6 @@ } } }, - "vue-router": { - "version": "4.0.1", - "resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-4.0.1.tgz?cache=0&sync_timestamp=1607347245114&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-4.0.1.tgz", - "integrity": "sha1-MJJA5QUksefU6C4n8KD6Jf49HXE=" - }, "vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npm.taobao.org/vue-style-loader/download/vue-style-loader-4.1.2.tgz", diff --git a/package.json b/package.json index 17be7dc..7e5e806 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "animate.css": "^4.1.1", "ant-design-vue": "^2.0.0-rc.3", "clipboard": "^2.0.6", "core-js": "^3.6.5", diff --git a/public/index.html b/public/index.html index d72081e..59a3bfe 100644 --- a/public/index.html +++ b/public/index.html @@ -15,6 +15,6 @@
- +