| author | durandn |
| Thu, 06 Oct 2016 15:09:18 +0200 | |
| changeset 213 | 43aa7c589048 |
| 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>