文、图/高原 审核/卢玲';
var container_1 = $(templates_1);
var elements_1 = container_1.find('[data-vue]');
for(var i = 0; i < elements_1.length; i++) { var element="$(elements_1[i]);" var vuehtml="decodeURIComponent(element.data('vue'));" templates_1="templates_1.replace(elements_1[i].outerHTML," vuehtml); } $('#vue_1').html(templates_1); var $vue_1="new" vue({ el: "#vue_1", data: { show: false }, mounted: function () { this.show="true;" } });