jgapp.html 8.3 KB
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>蒙自市智慧监管APP</title>
    <style>
        html,
        body {
            width: 100%;
            min-height: 100%;
            overflow-x: hidden;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box !important;
            -webkit-text-size-adjust: none !important;
        }

        .displayFlex {
            display: flex;
            align-items: center;
        }

        .displayFlexBetween {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .posiCenter {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .appWnload {
            width: 100%;
            min-height: 100%;
            background: linear-gradient(180deg, #3172f5 0%, #f5f8ff 89%);
            padding: 112px 24px;
            overflow-x: hidden;
        }

        .appWnloadBox {
            width: 100%;
            background: #f5f8ff;
            border-radius: 80px;
        }

        .appWnloadBoxTitle {
            padding: 48px;
            justify-content: center;
        }

        .appWnloadBoxTitle img {
            width: 94.14px;
            height: 80px;
        }

        .appWnloadBoxTitle div {
            color: #192c4e;
            font-size: 68px;
            font-weight: 600;
            font-family: "PingFang SC";
            letter-spacing: 2px;
            margin-left: 32px;
        }

        .appWnloadBoxText {
            color: #192c4e;
            font-size: 44px;
            font-weight: 600;
            font-family: "PingFang SC";
            text-align: center;
            margin-top: 64px;
            padding: 0 48px;
        }

        .appWnloadBoxbtn {
            width: 544px;
            height: 544px;
            border-radius: 22px;
            background: #ffffff;
            margin: 48px auto 0 auto;
            position: relative;
        }

        .appWnloadBoxbtn img {
            width: 400px;
            height: 400px;
        }

        .appWnloadBoxbtnText {

            width: 320px;
            height: 80px;
            border-radius: 14px;
            border: 1px solid #0a39a6;
            background: #1f71ff;
            box-shadow: inset 0 0 4px 4px #4791ff;
            color: #ffffff;
            font-size: 32px;
            font-weight: 600;
            font-family: "PingFang SC";
            text-align: center;
            line-height: 80px;
            letter-spacing: 2px;
        }
        .appWnloadBoxbtnText a{
            color: #ffffff;
            text-decoration: none;
        }

        .appWnloadBoxLeftBottomText {
            margin: 64px 0 128px 0;
            padding: 0 48px;
        }

        .appWnloadBoxLeftBottomTextTitle {
            color: #192c4e;
            font-size: 40px;
            font-weight: 600;
            font-family: "PingFang SC";
        }

        .appWnloadBoxLeftBottomTextItem {
            font-size: 37px;
            font-weight: 400;
            font-family: "PingFang SC";
            line-height: 44px;
            letter-spacing: 1.28px;
        }
        .appWnloadBoxLeftBottomTextItem>div{
            margin-top: 24px;
        }
        .appWnloadBoxLeftBottomTextItem>div>div{
            margin-left: 10px;
        }

        .bottomImg {
            height: 1000px;
            width: 100%;
            border-radius: 0 0 40px 40px;
        }

        .swiper-main {
            width: 100%;
            height: 100%;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            border-radius: 0 0 40px 40px;
        }

        .swiper-content {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .swiper-item {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
        }

        .swiper-item img {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 0 0 40px 40px;
        }

        .swiper-point {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translate(-50%,0);
        }

        .swiper-circle {
            float: left;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 8px;
            background: #01173d8c;
            cursor: pointer;
        }

        .current-point {
            width: 48px;
            height: 12px;
            border-radius: 40px;
            border: 0.5px solid #ffffff;
            background: #1f71ff;
        }

        .arrow-left {
            left: 10px;
        }

        .arrow-right {
            right: 10px;
        }
    </style>
</head>
<body>
<div class="appWnload">
    <div class="appWnloadBox">
        <div class="appWnloadBoxTitle displayFlex">
            <img src="/app2/v2/image/logo.png" alt="">
            <div>蒙自市智慧监管APP</div>
        </div>

        <div class="appWnloadBoxText">
            由衷感谢您一直以来对智慧水利的支持与关注,欢迎您体验全新版本!
        </div>

        <div class="displayFlexBetween" style="padding:62px; justify-content: center;">
            <div class="appWnloadBoxbtnText">
                <a href="{$version['apk_url']}">下载安卓端</a>
            </div>
            <!-- <div class="appWnloadBoxbtnText">
                下载苹果端
            </div> -->
        </div>

        <div class="appWnloadBoxLeftBottomText">
            <div class="appWnloadBoxLeftBottomTextTitle">{$version['updatetime']|date='Y-m-d',###} 更新版本 v{$version['version_code']} 新增内容:</div>
            <div class="appWnloadBoxLeftBottomTextItem">
                <div class="displayFlex" style="align-items: flex-start; line-height: 38px;">
                    {:nl2br($version['upgrade_point'])}
                </div>
            </div>
        </div>
        <div class="bottomImg">
            <div class="swiper-main">
                <div class="swiper-content">
                    <?php
                        if(!empty($version['images'])){
                        foreach($version['images'] as $v){
?>
                    <div class="swiper-item"><img src="{$v}" alt=""></div>
                    <?php }
                    } ?>
                </div>
                <div class="swiper-point"></div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/app2/v2/js/jquery.min.js"></script>
<script src="/app2/v2/js/swiper.js"></script>
<script>
    $(function() {
        /**
         * 参数:
         * 1.最外层父元素  必填项
         * 2.图片地址数组  必填项
         *   支持数组内为字符串,识别作为图片地址
         *   [string,string,string]
         *   支持数组内为对象,对象的每个key会被作为属性添加到对应的banner标签中,用prop方法获取(其中图片地址字段必须为imgUrl):
         *   [object,object,object] eq:[{imgUrl:'./img/1.jpg',count:'0','name':'第一个'}]
         * 3.配置信息      非必填
         * 4.当前元素点击回调,回调中返回点击元素jquery实例  非必填
         * 5.轮播图创建完毕回调,回调中返回轮播对象数组,可用于后续逻辑处理  非必填
         */
        swiper.init($(".swiper-main"), [], {
                ismobile: true, //可选,不填则自动判断客户端,默认false - true / false(PC端/移动端)
                arrowtype: 'move', //可选,默认一直显示 - 'move(移动端不支持)' / 'none'	(鼠标移上显示 / 不显示 )
                autoplay: true, //可选,默认true - true / false (开启轮播/关闭轮播)
                cantouch: true, //可选,默认true - true / false (开启拖拽切换/关闭拖切换)
                showpoint: true, //可选,默认true - true / false (显示轮播点/关闭轮播点)
                time: 3000 //可选,默认3000
            },
            function(item) {
                console.log("click success", item);
            },
            function(list) {
                console.log("create success", list);
            }
        )
    })
</script>
</html>