guonan
8 天以前 d06f7ad0231d5fb029ab8520bf442590d3bab20b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<template>
    <div class="weather-detail">
        <!-- <div class="title" style="padding-top: 35px">今日天气</div>
        <div class="content">
            <p>降水量: 0mm</p>
            <p>西南风: 微风</p>
            <p>相对湿度: 14%</p>
            <p>体感温度:10.4℃</p>
            <p>空气质量:优</p>
            <p>舒适度:凉爽,较舒适</p>
        </div>
    -->
        <div class="title">气象云图</div>
        <div class="close" @click="close">X</div>
 
        <div class="video">
            <!-- <video src="@/assets/video/云图.mp4" loop autoplay muted></video> -->
        </div>
    </div>
</template>
 
<script setup>
import { defineEmits } from 'vue';
const emits = defineEmits('close')
function close() {
  emits('close')
}
</script>
 
<style lang="less" scoped>
    .weather-detail {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
        z-index: 99;
        width: 900px;
        height: 550px;
        background: url("@/assets/img/menubar/dialog-bg.png");
        background-size: 100% 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        .title {
            padding-top: 20px;
            padding-bottom: 20px;
            font-size: 25px;
            color: #fff;
            font-weight: 700;
        }
        .content {
            display: flex;
            width: 75%;
            flex-wrap: wrap;
            justify-content: space-around;
            height: 100px;
            p {
                font-size: 18px;
                color: #fff;
                width: calc(100% / 3);
                height: 20px;
            }
        }
        .video {
            width: 810px;
            height: 420px;
        }
        .close {
            position: absolute;
            // top: 60px;
            right: 20px;
            font-size: 35px;
            // visibility: hidden;
      opacity: 0;
      cursor: pointer;
      color: #fff;
        }
    }
</style>