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'
|
2018-03-21 19:37:03 +00:00
|
|
|
@click='c.link && gs.channel.nav(c.id);'
|
2018-03-21 19:27:34 +00:00
|
|
|
:class='c.id == gs.channel.current ? `channel active` : `channel`'
|
2018-03-21 19:25:01 +00:00
|
|
|
: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:37:03 +00:00
|
|
|
:title='c.label'
|
2018-03-21 19:25:01 +00:00
|
|
|
></span>
|
2018-03-21 17:44:27 +00:00
|
|
|
|
|
|
|
<!-- Last elements -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template><script>
|
|
|
|
export default {
|
|
|
|
|
|
|
|
name: 'menu-',
|
|
|
|
|
|
|
|
data(){ return { gs: gs.get }; }
|
|
|
|
|
|
|
|
}
|
|
|
|
</script>
|