v-show to hide/show element conditionally

vue, demo

JavaScript
语言:
CSS
语言:
HTML
导入代码模板: