weather copy.html 2.07 KB
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="../js/jquery-3.4.1.min.js"></script>
    <script src="../js/JavaScript.js"></script>
    <script src="../js/popupJS.js"></script>
    <link rel="stylesheet" href="../css/popupHtml.css">
    <style>
        #weather {
            width: 100%;
            height: 100%;
            background: url(../img/bg.png) no-repeat center center;
            background-size: 100% 100%;
            /* display:flex; */
            flex-direction: column;
        }

        .title {
            display: block;
            height: 30px;
            line-height: 30px;
            text-align: center;
            color: #00EEF6;
            font-size: 14px;
            font-weight: inherit;
        }

        .iconfont {
            display: inline-block;
            font-size: 30px;
            padding: 10px 12px;
            width: 24px;
            height: 24px;
            text-align: center;
            cursor: default;

            .name {
                font-size: 20px;
                display: block;
            }
        }
    </style>
</head>

<body marginwidth="0" marginheight="0">

    <div id="weather">
        <h1 class="title" onmousedown="MouseDown(event)" onmouseup="MouseUp(event)" onmouseout="MouseUp(event)">
            天气<i class=" icon-guanbi" onclick="Close()">X</i>
        </h1>
        <div class="main">
            <div class="row">
                <el-checkbox v-model="fog.is"></el-checkbox>
                <el-slider v-model="fog.snowfall" @change="fall(fog.snowfall, 'fog')"></el-slider>
            </div>
            <div class="row">
                <el-checkbox v-model="rain.is"></el-checkbox>
                <el-slider v-model="rain.rainfall" @change="fall(rain.rainfall, 'rain')"></el-slider>
            </div>
            <div class="row">
                <el-checkbox v-model="snow.is"></el-checkbox>
                <el-slider v-model="snow.snowfall" @change="fall(snow.snowfall, 'snow')"></el-slider>
            </div>
        </div>

    </div>

</body>

</html>