2018-03-21 17:44:27 +00:00
|
|
|
<template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class='dialog'>
|
|
|
|
|
|
|
|
<div class='header'>
|
2018-03-21 19:37:03 +00:00
|
|
|
<div class='title'>{{ gs.channel.get().id < 0 ? '' : gs.channel.get().label }}</div>
|
2018-03-21 17:44:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='body'>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2018-03-21 21:44:49 +00:00
|
|
|
<div class='body'>
|
|
|
|
|
|
|
|
<div v-for='c in gs.lchannel'>
|
|
|
|
<div class='toggle'
|
|
|
|
:data-toggle='c.visible?1:0'
|
|
|
|
@click='c.visible=!c.visible'>{{ c.type }} channels</div>
|
|
|
|
<ul>
|
|
|
|
<li v-for='(lc, i) in c.list'
|
|
|
|
:class='c.active==i?`active`:``'
|
|
|
|
:data-type='c.type'
|
|
|
|
@click='c.active=i'>{{ lc }}</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-03-21 17:44:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template><script>
|
|
|
|
export default {
|
|
|
|
|
|
|
|
name: 'dialog-',
|
|
|
|
|
2018-03-21 21:44:49 +00:00
|
|
|
data(){ return { gs: gs.get }; }
|
2018-03-21 17:44:27 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|