Extraido de panel-descarga. Maneja las variantes del anime.

master
Fernando 2019-05-10 15:10:17 -05:00
parent b6908fe074
commit 0a32b52ac9
1 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,44 @@
<template lang="pug">
span
div.titulo(
:style="indice === '1'? `background-color: ${opcion.color}` : ''"
@click="funCambiar(indice)" :color-min="opcion.color"
:id="`opcion${indice}`"
).
{{ opcion.formato }} {{ opcion.res }}<br>{{ opcion.servidor }}
//
</template>
<script lang="coffee">
export default
name: "variante"
props:
indice:
type: String
required: true
opcion:
type: Object
required: true
funCambiar:
type: Function,
required: true
#
</script>
<style scoped lang="sass">
.titulo
padding: 10px 40px
user-select: none
cursor: pointer
display: inline-block
text-align: center
font:
size: large
weight: normal
family: Muli, "Open Sans", sans-serif
//
</style>