Commit 2bcc0a41 by doszhang

dos

parent 891e7d38
......@@ -368,11 +368,13 @@ input[name=signature]::-webkit-input-placeholder {
}
@keyframes flicker {
0% {
opacity: 0;
}
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
\ No newline at end of file
......@@ -279,8 +279,17 @@ $(document).ready(function () {
$('.suggest-page input[name=signature]').on('input propertychange', inputLength);
//署名输入框聚焦判断有没有勾选同意
$('.suggest-page input[name=signature]').on('focus', checkAgree);
//同意点击
$('.suggest-page .agree').on('click', agreeSuggest);
});
function agreeSuggest() {
$('.suggest-page .agree').hide();
$('.suggest-page .agree-active').show();
$('.agree-wrap').removeClass('animate');
agreeSuggestion = true;
}
function checkAgree() {
if (!agreeSuggestion) {
$('.agree-wrap').addClass('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