init
Showing
1 changed file
with
17 additions
and
3 deletions
| ... | @@ -63,10 +63,24 @@ | ... | @@ -63,10 +63,24 @@ |
| 63 | <div class="form-group col-sm-12 col-md-12"> | 63 | <div class="form-group col-sm-12 col-md-12"> |
| 64 | <label>居住情况</label> | 64 | <label>居住情况</label> |
| 65 | <div class="info"> | 65 | <div class="info"> |
| 66 | <?php foreach ($this->session->dwellEnum as $k => $v): ?> | ||
| 66 | <div class="live-info"> | 67 | <div class="live-info"> |
| 67 | <input type="checkbox" checked name=""> | 68 | <input value="1" type="radio" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?> |
| 68 | <span><?=$clientInfoOutputVO->dwellDetail?></span> | 69 | name="clientInfoInputVO.dwellState"> |
| 69 | </div> | 70 | <span><?= $v ?></span> |
| 71 | <?php if ($k == 0): ?> | ||
| 72 | <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> | ||
| 73 | class="input-decoration w-50 text-c" name="clientInfoInputVO.dwellDetail" value=""> 层 | ||
| 74 | <?php elseif ($k == 1): ?> | ||
| 75 | <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> | ||
| 76 | name="clientInfoInputVO.dwellDetail" class="input-decoration w-50 text-c"> 万 | ||
| 77 | <?php elseif ($k == 2): ?> | ||
| 78 | <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> | ||
| 79 | name="clientInfoInputVO.dwellDetail" class="input-decoration w-50 text-c"> 万 | ||
| 80 | <?php endif; ?> | ||
| 81 | </div> | ||
| 82 | <?php endforeach; ?> | ||
| 83 | |||
| 70 | <!--<div class="live-info"> | 84 | <!--<div class="live-info"> |
| 71 | <input type="checkbox" name="" checked> | 85 | <input type="checkbox" name="" checked> |
| 72 | <span>自建</span> | 86 | <span>自建</span> | ... | ... |
-
Please register or sign in to post a comment