Commit ad86d03e by doszhang

dos

parent 910f12a9
......@@ -317,6 +317,21 @@ input::-webkit-input-placeholder {
-webkit-animation: slider 1.5s ease-in-out 5 alternate;
}
.personal-wrap.animate {
animation: slideDown 0.3s ease-in forwards;
-webkit-animation: slideDown 0.3s ease-in forwards;
}
@keyframes slideDown {
0% {
transform: translateY(0);
}
100% {
transform: translateY(100%);
}
}
@keyframes slider {
0% {
opacity: 0;
......
......@@ -256,8 +256,19 @@ $(document).ready(function () {
$(document).on('click', '.btn-checked-item-delete', deleteCheckedFlag);
//回到flag页
$('.customize-frame .btn-back').on('click', backToFlag);
//跳转到建议页
$('.personal-page .btn-next').on('click', showSuggestPage);
});
function showSuggestPage() {
$('.personal-page .personal-wrap').addClass('animate');
$('.suggest-page').show();
setTimeout(function () {
$('.personal-page').fadeOut(150);
}, 150);
}
function backToFlag() {
$('.personal-page').fadeOut(300);
$('.flag-page').animate({
......
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