You've already forked qlg.frontend
烂笔头 1 OK
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
mui.plusReady(function(){
|
mui.plusReady(function(){
|
||||||
$(".footer").click(function(){
|
$('body').on('click', ".footer[data-app='app']", function(){
|
||||||
app.create();
|
app.create();
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -86,10 +86,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="app3" class="subPage" v-cloak>
|
<div id="app3" class="subPage">
|
||||||
<div style="text-align: center;font-size: 24px;">请等待更新</div>
|
<div style="text-align: center;font-size: 24px;">请等待更新</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer note">
|
<div class="footer" data-app="app">
|
||||||
新增记事
|
新增记事
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
@ -113,11 +113,13 @@
|
|||||||
parent.style.visibility = "visible";
|
parent.style.visibility = "visible";
|
||||||
}, 100);
|
}, 100);
|
||||||
};
|
};
|
||||||
|
$('.subPage').hide().eq(0).show();
|
||||||
$('.indicator').click(function(){
|
$('.indicator').click(function(){
|
||||||
$('.indicator').removeClass('act');
|
$('.indicator').removeClass('act');
|
||||||
$('.subPage').hide();
|
$('.subPage').hide();
|
||||||
$(this).addClass('act');
|
$(this).addClass('act');
|
||||||
$('#'+$(this).data('app')).show()
|
$('#'+$(this).data('app')).show();
|
||||||
|
$('.footer').attr('data-app', $(this).data('app'))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user