Commit a7b4d52f by doszhang

dos

parent 5c5ad294
...@@ -102,8 +102,15 @@ $(document).ready(function () { ...@@ -102,8 +102,15 @@ $(document).ready(function () {
$(document).on('click', '.flag-page .flag-block', addFlag); $(document).on('click', '.flag-page .flag-block', addFlag);
//自定义flag //自定义flag
$('.flag-page .btn-submit-flag').on('click', addCustomizeFlag); $('.flag-page .btn-submit-flag').on('click', addCustomizeFlag);
//跳转到个性化页面
$('.flag-page .next').on('click', showPersonalPage);
}); });
function showPersonalPage() {
$('.flag-page').fadeOut(300);
$('.personal-page').fadeIn(300);
}
function addCustomizeFlag() { function addCustomizeFlag() {
let text = $('input[name=customize-flag]').val(); let text = $('input[name=customize-flag]').val();
if (text.match(/^\s*$/)) { if (text.match(/^\s*$/)) {
......
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