2018-03-21 17:44:27 +00:00
|
|
|
<template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class='dialog'>
|
|
|
|
|
|
|
|
<div class='header'>
|
2018-03-22 12:40:48 +00:00
|
|
|
<div class='title'>{{ 'blabla' }}</div>
|
2018-03-21 17:44:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='body'>
|
|
|
|
|
2018-03-22 12:40:48 +00:00
|
|
|
<div v-for='(rooms, type) in gs.room'>
|
2018-03-21 21:44:49 +00:00
|
|
|
<div class='toggle'
|
2018-03-22 12:40:48 +00:00
|
|
|
:data-toggle='rooms.visible?1:0'
|
|
|
|
@click='rooms.visible=!rooms.visible'>{{ type }} rooms</div>
|
2018-03-21 21:44:49 +00:00
|
|
|
<ul>
|
2018-03-22 12:40:48 +00:00
|
|
|
<li v-for='r in rooms.list'
|
|
|
|
:class='rooms.current==r.id?`active`:``'
|
|
|
|
:data-type='r.type'
|
|
|
|
@click='gs.rfunc.nav(r.type, r.id)'>{{ r.name }}</li>
|
2018-03-21 21:44:49 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2018-03-22 12:40:48 +00:00
|
|
|
|
2018-03-21 21:44:49 +00:00
|
|
|
</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>
|