作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

接口

@@ -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)));