From 9010e73d12a7adf4fd7a8aa719f5b5bb99755d77 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Mar 2018 13:22:20 +0900 Subject: :v: --- src/web/app/common/views/components/othello.game.vue | 17 ++++++++++------- src/web/app/common/views/components/othello.vue | 10 ++++++---- src/web/app/init.ts | 2 ++ 3 files changed, 18 insertions(+), 11 deletions(-) (limited to 'src/web') diff --git a/src/web/app/common/views/components/othello.game.vue b/src/web/app/common/views/components/othello.game.vue index 31030f614f..26612daeac 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 52d2ecf99a..28adfd3b07 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 -- cgit v1.2.3-freya