2018-03-21 17:44:27 +00:00
|
|
|
<template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class='menu'>
|
|
|
|
|
|
|
|
<!-- First elements -->
|
|
|
|
|
|
|
|
<!-- Channel List -->
|
2018-03-21 19:25:01 +00:00
|
|
|
<span v-for='c in gs.channel.list'
|
|
|
|
@click='gs.channel.nav(c.id);'
|
|
|
|
:class='c.id == gs.channel.active ? `channel active` : `channel`'
|
|
|
|
:data-sub='c.sub'
|
|
|
|
:data-special='c.id == -1?1:0'
|
2018-03-21 17:44:27 +00:00
|
|
|
:data-add='c.add'
|
|
|
|
:data-icon='c.icon'
|
2018-03-21 19:25:01 +00:00
|
|
|
:title='c.id<0?``:c.label'
|
|
|
|
></span>
|
2018-03-21 17:44:27 +00:00
|
|
|
|
|
|
|
<!-- Last elements -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template><script>
|
|
|
|
export default {
|
|
|
|
|
|
|
|
name: 'menu-',
|
|
|
|
|
|
|
|
data(){ return { gs: gs.get }; }
|
|
|
|
|
|
|
|
}
|
|
|
|
</script>
|