From 9010e73d12a7adf4fd7a8aa719f5b5bb99755d77 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Mar 2018 13:22:20 +0900 Subject: [PATCH] :v: --- package.json | 1 + .../common/views/components/othello.game.vue | 17 ++++++++++------- src/web/app/common/views/components/othello.vue | 10 ++++++---- src/web/app/init.ts | 2 ++ 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index a988e5731..e4bcae1a2 100644 --- a/package.json +++ b/package.json @@ -182,6 +182,7 @@ "uglifyjs-webpack-plugin": "1.2.0", "url-loader": "^0.6.2", "uuid": "3.2.1", + "v-animate-css": "0.0.2", "vhost": "3.0.2", "vue": "2.5.13", "vue-cropperjs": "2.2.0", diff --git a/src/web/app/common/views/components/othello.game.vue b/src/web/app/common/views/components/othello.game.vue index 31030f614..26612daea 100644 --- a/src/web/app/common/views/components/othello.game.vue +++ b/src/web/app/common/views/components/othello.game.vue @@ -2,13 +2,16 @@
{{ blackUser.name }}(黒) vs {{ whiteUser.name }}(白)
-

{{ turnUser.name }}のターンです

-

{{ turnUser.name }}のターン

-

{{ isMyTurn ? 'あなたのターンです' : '相手のターンです' }}

-

- - -

+
+

{{ turnUser.name }}のターンです

+

{{ turnUser.name }}のターン

+

相手のターンです

+

あなたのターンです

+

+ + +

+
@@ -265,8 +265,10 @@ export default Vue.extend({ line-height 32px .game + display block margin 8px 0 padding 8px + color #677f84 border solid 1px #e1e5e8 border-radius 6px cursor pointer diff --git a/src/web/app/init.ts b/src/web/app/init.ts index 52d2ecf99..28adfd3b0 100644 --- a/src/web/app/init.ts +++ b/src/web/app/init.ts @@ -6,6 +6,7 @@ import Vue from 'vue'; import VueRouter from 'vue-router'; import VModal from 'vue-js-modal'; import * as TreeView from 'vue-json-tree-view'; +import VAnimateCss from 'v-animate-css'; import Element from 'element-ui'; import ElementLocaleEn from 'element-ui/lib/locale/lang/en'; import ElementLocaleJa from 'element-ui/lib/locale/lang/ja'; @@ -25,6 +26,7 @@ switch (lang) { Vue.use(VueRouter); Vue.use(VModal); Vue.use(TreeView); +Vue.use(VAnimateCss); Vue.use(Element, { locale: elementLocale }); // Register global directives