diff --git a/.eslintrc b/.eslintrc index 679d4f12d..0d854fc2c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,6 +12,8 @@ "vue/html-indent": false, "vue/html-self-closing": false, "vue/no-unused-vars": false, + "vue/attributes-order": false, + "vue/require-prop-types": false, "no-console": 0, "no-unused-vars": 0, "no-empty": 0 diff --git a/src/web/app/common/views/components/othello.game.vue b/src/web/app/common/views/components/othello.game.vue index 69b212776..1c88c5d44 100644 --- a/src/web/app/common/views/components/othello.game.vue +++ b/src/web/app/common/views/components/othello.game.vue @@ -23,14 +23,18 @@ -

黒:{{ o.blackCount }} 白:{{ o.whiteCount }} 合計:{{ o.blackCount + o.whiteCount }}

+

{{ logPos }}ターン目 黒:{{ o.blackCount }} 白:{{ o.whiteCount }} 合計:{{ o.blackCount + o.whiteCount }}

- %fa:fast-backward% - %fa:backward% + + %fa:angle-double-left% + %fa:angle-left% + {{ logPos }} / {{ logs.length }} - %fa:forward% - %fa:fast-forward% + + %fa:angle-right% + %fa:angle-double-right% +
@@ -100,7 +104,7 @@ export default Vue.extend({ }); this.logs.forEach((log, i) => { if (i < v) { - this.o.put(log.color, log.pos, true); + this.o.put(log.color, log.pos); } }); this.$forceUpdate(); @@ -117,7 +121,7 @@ export default Vue.extend({ }); this.game.logs.forEach(log => { - this.o.put(log.color, log.pos, true); + this.o.put(log.color, log.pos); }); this.logs = this.game.logs; @@ -306,7 +310,7 @@ export default Vue.extend({ background #ccc > .player - margin-bottom 16px + padding-bottom 32px > span display inline-block