| author | durandn |
| Tue, 06 Dec 2016 14:11:11 +0100 | |
| changeset 262 | f5f54b075813 |
| parent 212 | 1c7cce196665 |
| permissions | -rw-r--r-- |
<script> export default { data () { return {} }, mounted () { var self=this; $(".collection-home-block:not(.selected)").hide(); }, methods: { switchTab: function(name){ $(".collection-home-block").removeClass("selected"); $(".collection-home-block").hide(); $(".collection-home-tab").parent().removeClass("active"); $("#list-"+name).show(); $("#tab-"+name).addClass("active"); } } } </script>