guarantee_info.html 7.2 KB
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="__TMPL__/public/assets/assets/css/weui.min.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/assets/css/swiper-3.4.2.min.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_970727_szhms5jqz8f.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/assets/css/style.css">
    <script type="text/javascript" src="__TMPL__/public/assets/assets/js/fontsize.js"></script>
    <script type="text/javascript" src="__TMPL__/public/assets/assets/js/jquery-2.1.0.js"></script>
    <title>保单托管详情</title>
    <style>

    </style>
</head>
<body>
<a class="agree_top" href="javascript:history.back(-1);">
    <div class="iconfont icon-xiangzuo"></div>
    <div>返回</div>
</a>
<div class="detailbox">
    <div class="detail_logo">
        <div class="logo_img">
            <img src="{:cmf_get_image_url($data.thumbnail)}" alt="">
        </div>
        <div>
            <if condition="$data['status'] eq 1 && $data['order_about_time'] gt time()">
                托管中
                <elseif condition="$data['status'] eq 3 && $data['order_about_time'] lt time() && ($data['order_about_time']+30*24*60*60) gt time() || ($data['status'] eq 1 && $data['order_about_time'] lt time() && ($data['order_about_time']+30*24*60*60) gt time())"/>
                即将到期
                <elseif condition="$data['status'] eq 3 && $data['order_expire_time'] gt time() && $data['order_about_time'] gt time()"/>
                托管中
                <elseif condition="$data['status'] eq 2 || $data['order_expire_time'] lt time() || ($data['order_about_time']+24*30*60*60) lt time()"/>
                未托管
            </if>
        </div>
    </div>
    <div class="dateil_info">
        <div>保险单号:{$data.insurance_num}</div>
        <div class="dateil_infomian">
            <div class="detail_infoleft">
                <div>投保人:{$data.application}</div>
                <div>缴费方式:{$data.pay_method_id}</div>
                <div>投保日期:{$data.insurer_time}</div>
                <div>投保人是否豁免:<if condition="$data['remit'] eq 1"><else /></if></div>
            </div>
            <div class="detail_inforigth">
                <div>被保险人:{$data.insurer}</div>
                <div>保单金额:{$data.insurance_price}元</div>
                <div>合同生效日期:{:date('Y-m-d',$data['take_time'])}</div>
            </div>
        </div>

    </div>
    <div class="trust_box">
        <div class="trust_title">主险:{$data.product_name}</div>
        <div class="trust_subtitle">主险险种内容</div>
        <div class="trust_item">
            <div>保单类型</div>
            <div>
                <if condition="$data.insurance_type_id eq 1">
                    重疾
                    <elseif condition="$data.insurance_type_id eq 2"/>
                    人寿
                    <elseif condition="$data.insurance_type_id eq 3"/>
                    出行
                    <elseif condition="$data.insurance_type_id eq 4"/>
                    医疗
                    <elseif condition="$data.insurance_type_id eq 5"/>
                    理财
                    <elseif condition="$data.insurance_type_id eq 6"/>
                    其它
                </if>
            </div>
        </div>
        <div class="trust_item">
            <div>保险金额</div>
            <div>{$data.insurance_price} 元</div>
        </div>
        <div class="trust_item">
            <div>缴费期限</div>
            <div>{$data.payment_time}</div>
        </div>
        <div class="trust_item">
            <div>期缴保费</div>
            <div>{$data.pay_method_price} 元</div>
        </div>
        <div class="trust_item">
            <div>保障期限</div>
            <div>{$data.guarantee_deadline_time}</div>
        </div>
    </div>
    <foreach name="subjoin" item="s">
        <div class="trust_box">
            <div class="trust_title">附加险:{$s.subjoin_product_name}</div>
            <div class="trust_subtitle">附加险险种内容</div>
            <div class="trust_item">
                <div>保单类型</div>
                <div>
                    <if condition="$s.insurance_type_id eq 1">
                        重疾
                        <elseif condition="$s.insurance_type_id eq 2"/>
                        人寿
                        <elseif condition="$s.insurance_type_id eq 3"/>
                        出行
                        <elseif condition="$s.insurance_type_id eq 4"/>
                        医疗
                        <elseif condition="$s.insurance_type_id eq 5"/>
                        理财
                        <elseif condition="$s.insurance_type_id eq 6"/>
                        其它
                    </if>
                </div>
            </div>
            <div class="trust_item">
                <div>保险金额</div>
                <div>{$s.insurance_price} 元</div>
            </div>
            <div class="trust_item">
                <div>缴费期限</div>
                <div>{$s.insurance_price}</div>
            </div>
            <div class="trust_item">
                <div>期缴保费</div>
                <div>{$s.insurance_price} 元</div>
            </div>
            <div class="trust_item">
                <div>保障期限</div>
                <div>{$s.insurance_price}</div>
            </div>
        </div>
    </foreach>
    <div class="trust_box">
        <div class="trust_title">保单图片</div>
        <div class="trust_imgs">
            <php>$image = json_decode($data['image'],true);</php>
            <foreach name="$image" item="i">
                <div class="trust_img">
                    <img src="{:cmf_get_image_url($i)}" alt="">
                </div>
            </foreach>
        </div>
        <div class="trust_beiz">备注:{$data.remark}</div>
    </div>
    <div class="trust_name">代理人姓名:{$data.agent_name}</div>
    <div class="trust_name">代理人联系方式:</div>
    <div class="trust_nimitel">{$data.agent_phone}</div>
    <!--<a class="trust_btn">立即续约</a>-->
</div>

<script type="text/javascript" src="__TMPL__/public/assets/assets/js/jquery-2.1.0.js"></script>

<script type="text/javascript" src="__TMPL__/public/assets/assets/js/swiper-3.4.2.jquery.min.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/assets/js/common.js"></script>
<script>
    $(function(){
        var id = {$data.id};
        //订单续费
        $('.trust_btn').click(function(){
            $.ajax({
                url:"{:url('index/form/create_order_renew')}",
                type:'POST',
                data:{'id':id},
                success:function(data){
                    var result = eval("(" + data + ")");
                    if(result.code == 20000){
                        window.location.href="{:url('portal/pay_renew/index','','')}"+'/id/'+result.data;
                    }
                }
            })
        })
    })
</script>
</body>
</html>