正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -64,7 +64,7 @@ | @@ -64,7 +64,7 @@ | ||
64 | </td> | 64 | </td> |
65 | <td>{$vo.mobile}</td> | 65 | <td>{$vo.mobile}</td> |
66 | <td>{$vo.weight}kg</td> | 66 | <td>{$vo.weight}kg</td> |
67 | - <php>$week=floor((time()-$vo['pregnant_week_time'])/(60*60*24*7));</php> | 67 | + <php>$week=ceil((time()-$vo['register_time'])/(60*60*24));</php> |
68 | <td>{$vo['pregnant_week']}+{$week}</td> | 68 | <td>{$vo['pregnant_week']}+{$week}</td> |
69 | <php> | 69 | <php> |
70 | $bmi= sprintf('%.1f', $vo['before_weight']/(pow($vo['height']/100,2))); | 70 | $bmi= sprintf('%.1f', $vo['before_weight']/(pow($vo['height']/100,2))); |
-
请 注册 或 登录 后发表评论