bfdbf3aa by yangjianbin

init

1 parent 32601886
...@@ -144,17 +144,17 @@ ...@@ -144,17 +144,17 @@
144 <div class="info"> 144 <div class="info">
145 <?php foreach ($this->session->dwellEnum as $k => $v): ?> 145 <?php foreach ($this->session->dwellEnum as $k => $v): ?>
146 <div class="live-info"> 146 <div class="live-info">
147 <input type="checkbox" <?= $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?> 147 <input type="checkbox" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?>
148 name="dwellState"> 148 name="dwellState">
149 <span><?= $v ?></span> 149 <span><?= $v ?></span>
150 <?php if ($k == 0): ?> 150 <?php if ($k == 0): ?>
151 <input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> 151 <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
152 class="input-decoration w-50 text-c" name="dwellDetail" value=""> 152 class="input-decoration w-50 text-c" name="dwellDetail" value="">
153 <?php elseif ($k == 1): ?> 153 <?php elseif ($k == 1): ?>
154 <input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> 154 <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
155 name="dwellDetail" class="input-decoration w-50 text-c"> 155 name="dwellDetail" class="input-decoration w-50 text-c">
156 <?php elseif ($k == 2): ?> 156 <?php elseif ($k == 2): ?>
157 <input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> 157 <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
158 name="dwellDetail" class="input-decoration w-50 text-c"> 158 name="dwellDetail" class="input-decoration w-50 text-c">
159 <?php endif; ?> 159 <?php endif; ?>
160 </div> 160 </div>
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
194 <div class="form-group col-sm-3 col-md-2"> 194 <div class="form-group col-sm-3 col-md-2">
195 <label>手机</label> 195 <label>手机</label>
196 <input type="text" class="form-control input-text" 196 <input type="text" class="form-control input-text"
197 value="<?= $clientInfoOutputVO->phoneNumber ?>"> 197 value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->phoneNumber : '' ?>">
198 </div> 198 </div>
199 <div class="form-group col-sm-3 col-md-2"> 199 <div class="form-group col-sm-3 col-md-2">
200 <label>户口所在地</label> 200 <label>户口所在地</label>
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
223 <div class="form-group col-sm-6 col-md-4"> 223 <div class="form-group col-sm-6 col-md-4">
224 <label>户口详细地址</label> 224 <label>户口详细地址</label>
225 <input type="text" class="form-control input-text" id="address" 225 <input type="text" class="form-control input-text" id="address"
226 value="<?= $clientInfoOutputVO->registerDetailAddress ?>"> 226 value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->registerDetailAddress : '' ?>">
227 </div> 227 </div>
228 </div> 228 </div>
229 229
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
231 <div class="form-group col-sm-6 col-md-4"> 231 <div class="form-group col-sm-6 col-md-4">
232 <label>现居住地址</label> 232 <label>现居住地址</label>
233 <input type="text" class="form-control input-text" 233 <input type="text" class="form-control input-text"
234 value="<?= $clientInfoOutputVO->currentAddress ?>"> 234 value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->currentAddress :'' ?>">
235 </div> 235 </div>
236 </div> 236 </div>
237 </div> 237 </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!