亲友健康档案.html 6.0 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="css/base.css" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <link rel="stylesheet" href="css/swiper.min.css">
    <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
    <title>健康档案</title>
    <style>
        .agheader {
            background: rgba(255, 255, 255, .8);
        }

        .body {
            background: none;
            position: fixed;
            top: 0;
            width: 100%;
            height: 100%;
            background-image: url(images/health2_02.jpg);
            background-size: 100% 100%;
        }

        .he2part{
            background-image: none;
            height:100%;
        }
        .he2part .swiper-container{
            margin-top: 2rem;
        }
        .he2kuang,.he3kuang,.he4kuang{
            /* width:4.77rem; */
            height:6.04rem;
            background-size: 100% 100%;
            margin-top: 0;
        }
        .dangtit{
            margin-top: 1.5rem;
        }
        .dangdesc{
            margin-bottom: 1.2rem;
        }
        .dangreport{
            margin-bottom: 0.3rem;
        }
        .swiper-slide{
            /* width:4.77rem !important; */
            border-radius: 10px;
        }
    </style>
</head>

<body>
    <div class="body">
        <div class="agheader center">
            <div class="left seback">
                <a href="#" onClick="javascript:history.back(-1);">
                    <img src="images/care_03.jpg" />
                </a>
            </div>
            <div class="headertext">健康档案</div>
        </div>



        <div class="he2part center">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide swiper-slide-center none-effect">
                        <div class="he2kuang">
                            <div class="dangall">
                                <span>1</span>/3</div>
                            <div class="dangtit">李凯的健康档案</div>
                            <div class="dangdesc">最后更新时间:2018-01-26 14:22:14</div>
                            <div class="dangreport">
                                <a href="#">
                                    <img src="images/he2a_03.jpg" />服务报告(0份)</a>
                            </div>
                            <div class="dangreport">
                                <a href="#">
                                    <img src="images/he2a_06.jpg" />检验报告(0份)</a>
                            </div>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="he3kuang">
                            <div class="dangall">
                                <span>2</span>/3</div>
                            <div class="dangtit">李凯的健康档案</div>
                            <div class="dangdesc">最后更新时间:2018-01-26 14:22:14</div>
                            <div class="dangreport">
                                <a href="#">
                                    <img src="images/he2a_03.jpg" />服务报告(0份)</a>
                            </div>
                            <div class="dangreport">
                                <a href="#">
                                    <img src="images/he2a_06.jpg" />检验报告(0份)</a>
                            </div>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="he4kuang">
                            <div class="dangall">
                                <span>3</span>/3</div>
                            <div class="dangtit">李凯的健康档案</div>
                            <div class="dangdesc">最后更新时间:2018-01-26 14:22:14</div>
                            <div class="dangreport">
                                <a href="#">
                                    <img src="images/he2a_03.jpg" />服务报告(0份)</a>
                            </div>
                            <div class="dangreport">
                                <a href="#">
                                    <img src="images/he2a_06.jpg" />检验报告(0份)</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div style="color:#424242;margin-top:1.5rem;">
                << 左右滑动浏览>></div>

        </div>

    </div>

</body>
<!-- Swiper JS -->
<script src="js/swiper.min.js"></script>

<!-- Initialize Swiper -->
<script>
    window.onload = function () {
        var swiper = new Swiper('.swiper-container', {
            effect: 'coverflow',
            slidesPerView: 2,
            centeredSlides: true,
            coverflow: {
                rotate: 30,
                stretch: -50,
                depth: 100,
                modifier: 1,
                slideShadows: true
            }


            
            // autoplay: 993000,
            // speed: 1000,
            // autoplayDisableOnInteraction: false,
            // loop: true,
            // centeredSlides: true,
            // pagination: '.swiper-pagination',
            // paginationClickable: true,
            // prevButton: '.swiper-button-prev',
            // nextButton: '.swiper-button-next',
            // onInit: function (swiper) {

            // },
            // breakpoints: {
            //     668: {
            //         slidesPerView: 3,
            //     }
            // }
        });
    }
</script>

</html>