From b09d7a9f73e9b28425326227ce8fc4c3b72fb14d Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 30 May 2018 20:12:01 +0200 Subject: Big Routing/Tabbing/ReportService refactor, add ad blocks --- src/ModeTab.vue | 42 +++++++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 7 deletions(-) (limited to 'src/ModeTab.vue') diff --git a/src/ModeTab.vue b/src/ModeTab.vue index 681b219..465f1e8 100644 --- a/src/ModeTab.vue +++ b/src/ModeTab.vue @@ -5,28 +5,48 @@

Highlights

- +

Top 10

- +
+
+ +

Ad

+ + +
+
-

Individual Hero Statistics

- +

Individual Hero Statistics

+

Select a Hero

+
- +

{{ getHero(selectedActor) }} Statistics

+
+
+ +

Ad

+ + +
+

All Hero Statistics

- +
@@ -43,8 +63,16 @@ import IntroBox from './IntroBox.vue'; import * as maps from './maps/maps.js'; export default Vue.component('mode-tab', { - props: [ 'reportService' ], mixins: [ RouterParamMixin ], + data: function() { + return { + getHero: maps.getHero, + adActive: { + 0: true, + 1: true, + }, + }; + }, computed: { hasTalents: function() { return maps.hasTalents(this.selectedMode); -- cgit v1.3.1