烂笔头 1 OK
This commit is contained in:
parent
c7ae9e7ac8
commit
e4bb86ead9
@ -1,5 +1,5 @@
|
||||
mui.plusReady(function(){
|
||||
$(".footer").click(function(){
|
||||
$('body').on('click', ".footer[data-app='app']", function(){
|
||||
app.create();
|
||||
})
|
||||
})
|
||||
|
@ -86,10 +86,10 @@
|
||||
</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>
|
||||
<div class="footer note">
|
||||
<div class="footer" data-app="app">
|
||||
新增记事
|
||||
</div>
|
||||
</body>
|
||||
@ -113,11 +113,13 @@
|
||||
parent.style.visibility = "visible";
|
||||
}, 100);
|
||||
};
|
||||
$('.subPage').hide().eq(0).show();
|
||||
$('.indicator').click(function(){
|
||||
$('.indicator').removeClass('act');
|
||||
$('.subPage').hide();
|
||||
$(this).addClass('act');
|
||||
$('#'+$(this).data('app')).show()
|
||||
$('#'+$(this).data('app')).show();
|
||||
$('.footer').attr('data-app', $(this).data('app'))
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user