Commit f1f33609 by doszhang

dos

parent 9989aca7
......@@ -112,8 +112,21 @@ $(document).ready(function () {
$('.page1 .btn-ok').on('click', confirmAvatar);
//检查用户输入后生成海报
$('.page1 .btn-go').on('click', checkInfo);
//返回到首页
$('.poster-page .btn-backtohome').on('click', backToHome);
//换一句
$('.poster-page .btn-change').on('click', changePoster);
});
function changePoster() {
createPoster();
}
function backToHome() {
$('.poster-page').hide();
$('.page1').show();
}
function checkInfo() {
let name = $('input[name=name]').val();
let business = $('input[name=business]').val();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment