Commit 2f943751 by doszhang

Update index.js dos

parent 028825cf
......@@ -106,20 +106,23 @@ $(document).ready(function () {
var day = myDate.getDate();
if (month >= yue && day >= ri) {
if(month > yue)
{
$('.n-l').text(count_year);
} else {
if (count_year == 0) {
}
else if(month == yue)
{
if(day >= ri)
{
$('.n-l').text(count_year);
} else {
}
else {
$('.n-l').text(count_year - 1);
}
}
else {
$('.n-l').text(count_year - 1);
}
if (window.age == 1) {
$('.sex').text('男性');
......
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