|
|
|
|
<div class="modal bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog modal-lg" style="margin:0 auto;">
|
|
|
|
|
<div class="modal-content clearfix" style="border:none;min-height:720px;">
|
|
|
|
|
<div class="modal-header btn-danger">
|
|
|
|
|
<h4 class="modal-title text-center">
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm pull-left visible-xs" data-dismiss="modal">返回</button>
|
|
|
|
|
来往邮件
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm pull-right hidden-xs" data-dismiss="modal">返回</button>
|
|
|
|
|
</h4>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="list-group">
|
|
|
|
|
<?php foreach ($mailinfo as $v) { ?>
|
|
|
|
|
<a data-action="<?php echo site_url('apps/partners/index/mail_detail/'.$v->MAI_SN); ?>" href="javascript:void(0);" class="list-group-item mail-detail-link" style="min-height:82px;">
|
|
|
|
|
<h4 class="list-group-item-heading text-muted"><span class="text-primary" style="font-size:17px;"><?php echo str_replace('"', '', $v->MAI_From); ?></span> <span class="small pull-right"><small><?php echo $v->MAI_SendDate; ?></small></span></h4>
|
|
|
|
|
<p class="list-group-item-text"><?php echo $v->MAI_Subject; ?></p>
|
|
|
|
|
</a>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-24 text-center">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">返回订单列表</button>
|
|
|
|
|
<div class="col-xs-24 btn-sm"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
$('.bs-example-modal-lg').on('hidden.bs.modal', function (e) {
|
|
|
|
|
$('.bs-example-modal-lg,.modal-backdrop').remove();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(".list-group").on("click",".mail-detail-link",function(){
|
|
|
|
|
var url=$(this).attr('data-action');
|
|
|
|
|
$.post(url,'',function(html){
|
|
|
|
|
$(html).appendTo("body");
|
|
|
|
|
$('.bs-maildetail-modal-lg').modal({
|
|
|
|
|
keyboard: true,
|
|
|
|
|
backdrop: 'static'
|
|
|
|
|
});
|
|
|
|
|
$('.bs-maildetail-modal-lg').modal('show');
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|