bfdbf3aa by yangjianbin

init

1 parent 32601886
......@@ -144,17 +144,17 @@
<div class="info">
<?php foreach ($this->session->dwellEnum as $k => $v): ?>
<div class="live-info">
<input type="checkbox" <?= $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?>
<input type="checkbox" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?>
name="dwellState">
<span><?= $v ?></span>
<?php if ($k == 0): ?>
<input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
<input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
class="input-decoration w-50 text-c" name="dwellDetail" value="">
<?php elseif ($k == 1): ?>
<input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
<input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
name="dwellDetail" class="input-decoration w-50 text-c">
<?php elseif ($k == 2): ?>
<input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
<input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
name="dwellDetail" class="input-decoration w-50 text-c">
<?php endif; ?>
</div>
......@@ -194,7 +194,7 @@
<div class="form-group col-sm-3 col-md-2">
<label>手机</label>
<input type="text" class="form-control input-text"
value="<?= $clientInfoOutputVO->phoneNumber ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->phoneNumber : '' ?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>户口所在地</label>
......@@ -223,7 +223,7 @@
<div class="form-group col-sm-6 col-md-4">
<label>户口详细地址</label>
<input type="text" class="form-control input-text" id="address"
value="<?= $clientInfoOutputVO->registerDetailAddress ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->registerDetailAddress : '' ?>">
</div>
</div>
......@@ -231,7 +231,7 @@
<div class="form-group col-sm-6 col-md-4">
<label>现居住地址</label>
<input type="text" class="form-control input-text"
value="<?= $clientInfoOutputVO->currentAddress ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->currentAddress :'' ?>">
</div>
</div>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!