修改代码

dev
曾超新 5 years ago
parent 4573aa5208
commit ffc370fa6c
  1. 3
      frontend/views/insurer/my-list-info.php

@ -296,10 +296,11 @@ use common\models\PriceT;
html += '<label for="gift_' + item.id + '_' + sub_item.id + '">' + sub_item.name + '</label>'; html += '<label for="gift_' + item.id + '_' + sub_item.id + '">' + sub_item.name + '</label>';
html += '</div>'; html += '</div>';
<?php } else { ?> <?php } else { ?>
if(sub_item.selected == 1) if(sub_item.selected == 1) {
html += '<div class="col-sm-4">' + sub_item.name; html += '<div class="col-sm-4">' + sub_item.name;
html += '<a href="' + sub_item.img_src + '" target="_blank"><i class="fa fa-image"></i></a>'; html += '<a href="' + sub_item.img_src + '" target="_blank"><i class="fa fa-image"></i></a>';
html += '</div>'; html += '</div>';
}
<?php } ?> <?php } ?>
}); });
html += '</td>'; html += '</td>';

Loading…
Cancel
Save