<!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">
    <script type="text/javascript" src="/static/jquery-2.2.4.min.js"></script>
    <script type="text/javascript" src="/static/layer/layer.js"></script>
    <script type="text/javascript" src="/admin/js/common.js"></script>
    <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
    <link rel="stylesheet" href="/static/h5/css/common.css">
    <title>完成详情</title>
    <style>
        body{
            background-color: #F1F1F1;
        }
        .container{
            max-width: 750px;
            height: auto;
            margin: 0 auto;
            padding: 0px 6px;
        }
        .accomplish-record{
            width: 100%;
            height: 120px;
            margin-top: 5px;
            padding: 0px 13px;
            border-radius: 10px;
            background-color: #ffffff;
        }
        .accomplish-record-title{
            width: 100%;
            height: 40px;
            line-height: 40px;
            font-size: 15px;
            font-weight: 600;
            color: var(--themeColor);
            letter-spacing: 1px;
            border-bottom:1.3px solid var(--themeColor);
        }
        .accomplish-record-content{
            width: 100%;
            height: 80px;
            margin-top: 6px;
        }
        .accomplish-record-user{
            width: 100%;
            height: 35px;
            line-height: 35px;
            margin-top: 3px;
        }
        .accomplish-record-time{
            width: 100%;
            height: 35px;
            line-height: 35px;
        }
        .left{
            width: 30%;
            height: 30px;
            line-height: 30px;
            display: inline-block;
            font-size: 14px;
            float: left;
            letter-spacing: 1px;
        }
        .right{
            width: 66%;
            height: 30px;
            line-height: 30px;
            display: inline-block;
            float: right;
            font-size: 13px;
            color: #A9A9A9;
            overflow: hidden;
            text-align: right;
        }
        .address-info{
            width: 100%;
            height: 40px;
            margin-top: 5px;
            background-color: #ffffff;
            border-radius: 10px;
            padding: 0px 13px;
            line-height: 40px;
        }
        .address-info-title{
            display: inline-block;
            width: 30%;
            height: 40px;
            font-size: 15px;
            font-weight: 600;
            color: #284a94;
            letter-spacing: 1px;
        }
        .address-info-content{
            width: 66%;
            height: 40px;
            line-height: 40px;
            display: inline-block;
            float: right;
            font-size: 13px;
            color: #A9A9A9;
            overflow: hidden;
            text-align: right;
        }
        .task-info{
            width: 100%;
            height: auto;
            margin-top: 5px;
            background-color: #ffffff;
            border-radius: 10px;
            padding: 0px 13px;
        }
        .task-content{
            width: 100%;
            height: auto;
            padding: 10px 0px ;
            font-size: 14px;
            letter-spacing: 1px;
        }
        .work-item{
            width: 100%;
            height: auto;
            margin-top: 5px;
            background-color: #ffffff;
            border-radius: 10px;
            padding: 0px 13px;
        }
        .work-item-title{
            width: 100%;
            height: 40px;
            line-height: 40px;
            font-size: 15px;
            font-weight: 600;
            color: #284a94;
            letter-spacing: 1px;
        }
        .work-item-content{
            width: 100%;
            height: 40px;
            line-height: 40px;
            border-bottom: 1.2px solid #f1f1f1;
        }
        .work-item-content text{
            font-size: 14px;
            letter-spacing: 1.5px;
        }
        .icon{
            display: inline-block;
            width: 100px;
            height: 40px;
            line-height: 40px;
            text-align: right;
            float: right;
        }
        .icon img{
            width: 20px;
            height: 20px;
        }
        .report-content{
            width: 100%;
            height: auto;
            margin-top: 5px;
            padding: 0px 13px;
            border-radius: 10px;
            background-color: #ffffff;
        }
        .content-info{
            width: 100%;
            height: auto;
            padding: 10px 2px 15px 2px;
            font-size: 14px;
            letter-spacing: 1px;
            color: #A9A9A9;
        }
        .break-img{
            width: 100%;
            height: 115px;
            background-color: #ffffff;
            border-radius: 10px;
            margin-top: 5px;
            padding: 12px 60px 5px 60px;
            margin-bottom: 50px;
        }
        .images{
            display: inline-block;
            width: 50px;
            height: 60px;
            margin-left: 5px;
        }
        .images img{
            width: 50px;
            height: 60px;
        }
        .break-text-hint{
            width: 100%;
            height: 20px;
            line-height: 20px;
            text-align: center;
            margin-top: 20px;
            font-size: 13px;
            color: #A9A9A9;
        }
        .footer-back{
            position: fixed;
            z-index: 1000;
            width: 100%;
            height: 45px;
            line-height: 45px;
            background-color: #ffffff;
            bottom: 0;
            left: 0;
            box-shadow: 0px 0px 10px 0px rgba(26, 25, 26, 0.05);
            display: table-cell;
            vertical-align: middle;
            text-align: center;
        }
        .footer-back a img{
            width: 43px;
            height: 43px;
        }

    </style>
</head>
<body>
<div class="container">
    <div class="accomplish-record">
        <div class="accomplish-record-title">完成记录</div>
        <div class="accomplish-record-content">
            <div class="accomplish-record-user">
                <div class="left">完成人员:</div>
                <div class="right">{$info['user_name']}</div>
            </div>
            <div class="accomplish-record-time">
                <div class="left">完成时间:</div>
                <div class="right">{$info['create_time']}</div>
            </div>
        </div>
    </div>
    <div class="address-info">
        <div class="address-info-title">地点信息</div>
        <div class="address-info-content">{$info['daily_title']}</div>
    </div>
    <div class="task-info">
        <div class="accomplish-record-title">任务信息</div>
        <div class="task-content">{$info['daily_content']}</div>
    </div>

    {if !empty($info['forms'])}
    <div class="work-item">
        <div class="work-item-title">工作项</div>
        {foreach $info['forms'] as $k=>$v}
        <div class="work-item-content">
            <text>{$v['title']}</text>
            {if $v['result'] == 1}
            <div class="icon">
                <img src="/img/h5/over2x.png">
            </div>
            {else}
            <div class="icon">
                <img src="/img/h5/noover2x.png">
            </div>
            {/if}
        </div>
        {/foreach}
    </div>
    {/if}
    <!--    汇报内容-->
    <div class="report-content">
        <div class="accomplish-record-title">汇报内容</div>
        <div class="content-info">{$info['content']}</div>
    </div>
    <!--    图片-->
    {if !empty($info['img'])}
    <div class="break-img">
        {foreach $info['img'] as $k=>$v}
            <div class="images">
                <img onclick="open_img(this)" src="{$v}">
            </div>
        {/foreach}
        <div class="break-text-hint">
            <text>(点击可查看图片详细信息)</text>
        </div>
    </div>
    {/if}
    <div class="footer-back">
        <a href="javascript:;" onclick="javascript:history.back(-1);"><img src="/img/back.png"></a>
    </div>
</div>

</body>
</html>