...
|
...
|
@@ -7,95 +7,14 @@ |
|
|
<li><a href="{:url('user/adminIndex/cookBook')}">生成菜谱</a></li>
|
|
|
<li><a class="active">编辑菜谱</a></li>
|
|
|
</ul>
|
|
|
<form action="{:url('AdminIndex/editPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
|
|
|
<form action="{:url('AdminIndex/editCookPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
|
|
|
<div class="row">
|
|
|
<div class="col-md-9">
|
|
|
<table class="table table-bordered">
|
|
|
<tr>
|
|
|
<th width="120">微信名</th>
|
|
|
<th width="120">孕期总能量<1850</th>
|
|
|
<td>
|
|
|
<input value="{$list.id}" name="id" hidden>
|
|
|
<input class="form-control" type="text" disabled value="{$list.user_nickname}"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>身份</th>
|
|
|
<td>
|
|
|
<input type="radio" name="user_status" value="1" <eq name="list.user_status" value="1">checked</eq>/>普通用户
|
|
|
<input type="radio" name="user_status" value="2" <eq name="list.user_status" value="2">checked</eq>/>vip用户
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>头像</th>
|
|
|
<td>
|
|
|
<img width="25" height="25" src="{:cmf_get_image_preview_url($list.avatar)}" onclick="parent.imagePreviewDialog(this.src);"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>年龄(岁)</th>
|
|
|
<td>
|
|
|
<input class="form-control" type="number" name="age"
|
|
|
id="age" required value="{$list.age}" placeholder="请输入年龄"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>身高(cm)</th>
|
|
|
<td>
|
|
|
<input class="form-control" type="number" name="height" required
|
|
|
id="height" value="{$list.height}" placeholder="请输入身高(cm)"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>手机号</th>
|
|
|
<td>
|
|
|
<input class="form-control" type="number" name="mobile" required
|
|
|
id="mobile" value="{$list.mobile}" placeholder="请输入手机号"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>末次月经第一天</th>
|
|
|
<td>
|
|
|
<input class="form-control js-bootstrap-datetime" type="text" name="last_yuejin_time"
|
|
|
value="{:date('Y-m-d H:i',$list['last_yuejin_time'])}">
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>孕前体重(kg)</th>
|
|
|
<td>
|
|
|
<input class="form-control" type="number" name="before_weight" required
|
|
|
id="before_weight" value="{$list.before_weight}" placeholder="请输入孕前体重"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>当前体重(kg)</th>
|
|
|
<td>
|
|
|
<input class="form-control" type="number" name="now_weight" required
|
|
|
id="now_weight" value="{$list.now_weight}" placeholder="请输入当前体重"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>孕周</th>
|
|
|
<td>
|
|
|
<input class="form-control" type="number" name="pregnant_week" required
|
|
|
id="pregnant_week" value="{$list.pregnant_week}" placeholder="请输入孕周"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>体力活动水平</th>
|
|
|
<td>
|
|
|
<select name="weight_level">
|
|
|
<option value="">请选择</option>
|
|
|
<option value="休息状态" <eq name="list.weight_level" value="休息状态">selected</eq>>休息状态</option>
|
|
|
<option value="轻体力" <eq name="list.weight_level" value="轻体力">selected</eq>>轻体力</option>
|
|
|
<option value="中体力" <eq name="list.weight_level" value="中体力">selected</eq>>中体力</option>
|
|
|
<option value="重体力" <eq name="list.weight_level" value="重体力">selected</eq>>重体力</option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>注册时间</th>
|
|
|
<td>
|
|
|
<input class="form-control" disabled value="{:date('Y-m-d',$list.create_time);}"/>
|
|
|
<input class="form-control" type="text" disabled value="{$list.a}"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
...
|
...
|
|