- Chart Maps Nationality

- Username lowercase
- Statistics
- Telegram
This commit is contained in:
Paolo Arena
2020-01-27 15:09:11 +01:00
parent 415c431270
commit 3653b8309c
71 changed files with 1743 additions and 143 deletions

View File

@@ -0,0 +1,13 @@
.my-card-stat {
width: 100%;
max-width: 200px;
min-width: 120px;
padding: 1rem 1rem;
@media (max-width: 718px) {
// PER VERSIONE MOBILE
max-width: 150px;
padding: 0;
}
box-shadow: none;
}

View File

@@ -0,0 +1,23 @@
import Vue from 'vue'
import { Component, Prop, Watch } from 'vue-property-decorator'
import { tools } from '../../store/Modules/tools'
import { toolsext } from '@src/store/Modules/toolsext'
import MixinBase from '@src/mixins/mixin-base'
@Component({
name: 'CCardState'
})
export default class CCardStat extends MixinBase {
@Prop({ required: true, default: '' }) public mytext
@Prop({ required: true, default: 0 }) public myval
@Prop({ required: false, default: 'primary' }) public mycol
get getsize() {
if (tools.isMobile())
return '130px'
else
return '150px'
}
}

View File

@@ -0,0 +1,19 @@
<template>
<div class="row justify-between q-pa-xs-sm">
<div style="font-size:1rem; padding-right: 8px;">
{{mytext}}
</div>
<div>
<q-badge :color="mycol">{{ myval }}</q-badge>
</div>
</div>
</template>
<script lang="ts" src="./CCardStat.ts">
</script>
<style lang="scss" scoped>
@import './CCardStat.scss';
</style>

View File

@@ -0,0 +1 @@
export {default as CCardStat} from './CCardStat.vue'