Commit b14bac32 by doszhang

dos

parent cc99d7bb
......@@ -105,21 +105,23 @@ $(document).ready(function () {
var month = myDate.getMonth() + 1;
var day = myDate.getDate();
if (month >= yue && day >= ri) {
$('.n-l').text(count_year);
} else {
if (count_year == 0) {
if(month > yue)
{
$('.n-l').text(count_year - 1);
}
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);
}
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