|
@@ -7,95 +7,14 @@ |
|
@@ -7,95 +7,14 @@ |
7
|
<li><a href="{:url('user/adminIndex/cookBook')}">生成菜谱</a></li>
|
7
|
<li><a href="{:url('user/adminIndex/cookBook')}">生成菜谱</a></li>
|
8
|
<li><a class="active">编辑菜谱</a></li>
|
8
|
<li><a class="active">编辑菜谱</a></li>
|
9
|
</ul>
|
9
|
</ul>
|
10
|
- <form action="{:url('AdminIndex/editPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
|
10
|
+ <form action="{:url('AdminIndex/editCookPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
|
11
|
<div class="row">
|
11
|
<div class="row">
|
12
|
<div class="col-md-9">
|
12
|
<div class="col-md-9">
|
13
|
<table class="table table-bordered">
|
13
|
<table class="table table-bordered">
|
14
|
<tr>
|
14
|
<tr>
|
15
|
- <th width="120">微信名</th>
|
15
|
+ <th width="120">孕期总能量<1850</th>
|
16
|
<td>
|
16
|
<td>
|
17
|
- <input value="{$list.id}" name="id" hidden>
|
|
|
18
|
- <input class="form-control" type="text" disabled value="{$list.user_nickname}"/>
|
|
|
19
|
- </td>
|
|
|
20
|
- </tr>
|
|
|
21
|
- <tr>
|
|
|
22
|
- <th>身份</th>
|
|
|
23
|
- <td>
|
|
|
24
|
- <input type="radio" name="user_status" value="1" <eq name="list.user_status" value="1">checked</eq>/>普通用户
|
|
|
25
|
- <input type="radio" name="user_status" value="2" <eq name="list.user_status" value="2">checked</eq>/>vip用户
|
|
|
26
|
- </td>
|
|
|
27
|
- </tr>
|
|
|
28
|
- <tr>
|
|
|
29
|
- <th>头像</th>
|
|
|
30
|
- <td>
|
|
|
31
|
- <img width="25" height="25" src="{:cmf_get_image_preview_url($list.avatar)}" onclick="parent.imagePreviewDialog(this.src);"/>
|
|
|
32
|
- </td>
|
|
|
33
|
- </tr>
|
|
|
34
|
- <tr>
|
|
|
35
|
- <th>年龄(岁)</th>
|
|
|
36
|
- <td>
|
|
|
37
|
- <input class="form-control" type="number" name="age"
|
|
|
38
|
- id="age" required value="{$list.age}" placeholder="请输入年龄"/>
|
|
|
39
|
- </td>
|
|
|
40
|
- </tr>
|
|
|
41
|
- <tr>
|
|
|
42
|
- <th>身高(cm)</th>
|
|
|
43
|
- <td>
|
|
|
44
|
- <input class="form-control" type="number" name="height" required
|
|
|
45
|
- id="height" value="{$list.height}" placeholder="请输入身高(cm)"/>
|
|
|
46
|
- </td>
|
|
|
47
|
- </tr>
|
|
|
48
|
- <tr>
|
|
|
49
|
- <th>手机号</th>
|
|
|
50
|
- <td>
|
|
|
51
|
- <input class="form-control" type="number" name="mobile" required
|
|
|
52
|
- id="mobile" value="{$list.mobile}" placeholder="请输入手机号"/>
|
|
|
53
|
- </td>
|
|
|
54
|
- </tr>
|
|
|
55
|
- <tr>
|
|
|
56
|
- <th>末次月经第一天</th>
|
|
|
57
|
- <td>
|
|
|
58
|
- <input class="form-control js-bootstrap-datetime" type="text" name="last_yuejin_time"
|
|
|
59
|
- value="{:date('Y-m-d H:i',$list['last_yuejin_time'])}">
|
|
|
60
|
- </td>
|
|
|
61
|
- </tr>
|
|
|
62
|
- <tr>
|
|
|
63
|
- <th>孕前体重(kg)</th>
|
|
|
64
|
- <td>
|
|
|
65
|
- <input class="form-control" type="number" name="before_weight" required
|
|
|
66
|
- id="before_weight" value="{$list.before_weight}" placeholder="请输入孕前体重"/>
|
|
|
67
|
- </td>
|
|
|
68
|
- </tr>
|
|
|
69
|
- <tr>
|
|
|
70
|
- <th>当前体重(kg)</th>
|
|
|
71
|
- <td>
|
|
|
72
|
- <input class="form-control" type="number" name="now_weight" required
|
|
|
73
|
- id="now_weight" value="{$list.now_weight}" placeholder="请输入当前体重"/>
|
|
|
74
|
- </td>
|
|
|
75
|
- </tr>
|
|
|
76
|
- <tr>
|
|
|
77
|
- <th>孕周</th>
|
|
|
78
|
- <td>
|
|
|
79
|
- <input class="form-control" type="number" name="pregnant_week" required
|
|
|
80
|
- id="pregnant_week" value="{$list.pregnant_week}" placeholder="请输入孕周"/>
|
|
|
81
|
- </td>
|
|
|
82
|
- </tr>
|
|
|
83
|
- <tr>
|
|
|
84
|
- <th>体力活动水平</th>
|
|
|
85
|
- <td>
|
|
|
86
|
- <select name="weight_level">
|
|
|
87
|
- <option value="">请选择</option>
|
|
|
88
|
- <option value="休息状态" <eq name="list.weight_level" value="休息状态">selected</eq>>休息状态</option>
|
|
|
89
|
- <option value="轻体力" <eq name="list.weight_level" value="轻体力">selected</eq>>轻体力</option>
|
|
|
90
|
- <option value="中体力" <eq name="list.weight_level" value="中体力">selected</eq>>中体力</option>
|
|
|
91
|
- <option value="重体力" <eq name="list.weight_level" value="重体力">selected</eq>>重体力</option>
|
|
|
92
|
- </select>
|
|
|
93
|
- </td>
|
|
|
94
|
- </tr>
|
|
|
95
|
- <tr>
|
|
|
96
|
- <th>注册时间</th>
|
|
|
97
|
- <td>
|
|
|
98
|
- <input class="form-control" disabled value="{:date('Y-m-d',$list.create_time);}"/>
|
17
|
+ <input class="form-control" type="text" disabled value="{$list.a}"/>
|
99
|
</td>
|
18
|
</td>
|
100
|
</tr>
|
19
|
</tr>
|
101
|
</table>
|
20
|
</table>
|