zhongrj
2026-06-02 0299e41c6692684d943b4a206472a86ea84ea4b5
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-05-12 11:37:45
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-05-22 10:51:00
 * @FilePath: \web\bigScreen\src\views\csmodel\index copy.vue
 * @Description: 
 * 
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
-->
<template>
    <div class="big-screen-box pageContainer">
        <site-type-proportion :title="'水位'"></site-type-proportion>
 
        <bar-echarts></bar-echarts>
 
        <bar-echarts-single></bar-echarts-single>
 
        <bar-echarts-fold></bar-echarts-fold>
 
        <line-echarts-single></line-echarts-single>
 
        <service-info></service-info>
 
        <basic-statistics></basic-statistics>
 
        <reservoir-survey></reservoir-survey>
 
        <text-scroll class="text-scroll-box" :scollTextValue="scollTextValue"></text-scroll>
 
        <reservoir-type-num class="reservoir"></reservoir-type-num>
 
        <div class="one">
            <div class="title-box">
                <div class="title">连续超汛水库排行榜</div>
                <div class="title-sub common-text">{{ getCurrentDate }}</div>
            </div>
            <div class="content-box">
                <div class="scroll-table">
                    <div class="scroll-table-head flex">
                        <div style="flex: 2">排名</div>
                        <div style="flex: 3">名称</div>
                        <div style="flex: 3">水库规模</div>
                        <div style="flex: 4">水位/超汛限M</div>
                        <div style="flex: 3">超汛限天数</div>
                    </div>
                    <vue-seamless-scroll :class-option="classOption0" :data="listData0" class="scroll-table-body">
                        <ul class="item">
                            <li class="scroll-item flex" v-for="(item, index) in listData0" :key="index">
                                <div style="flex: 2" class="color-num">TOP{{ index + 1 }}</div>
                                <div style="flex: 3">{{ item.res_nm }}</div>
                                <div style="flex: 3">{{ item.eng_scal }}</div>
                                <div style="flex: 4">
                                    <span>{{ item.rz }}/{{ item.over_z }}</span>
                                </div>
                                <div style="flex: 3">{{ item.consecutive_cnt }}</div>
                            </li>
                        </ul>
                    </vue-seamless-scroll>
                </div>
            </div>
        </div>
    </div>
</template>
 
<script>
import { getOverZCont } from '@/api/sk/sk'
import vueSeamlessScroll from "vue-seamless-scroll"
import serviceInfo from "./components/serviceInfo.vue"
import basicStatistics from "./components/basicStatistics.vue"
import reservoirSurvey from "./components/reservoirSurvey.vue"
import textScroll from "./components/textScroll.vue"
import reservoirTypeNum from "./components/reservoirTypeNum.vue"
 
export default {
    components: { vueSeamlessScroll, basicStatistics, serviceInfo, reservoirSurvey, reservoirTypeNum, textScroll },
 
    data () {
        return {
            classOption0: {
                step: .2,
                limitMoveNum: 5
            },
 
            listData0: [
 
            ],
 
            scollTextValue: ''
        }
    },
 
    computed: {
        getCurrentDate () {
            var timestamp = Date.parse(new Date())
            var serverDate = new Date(timestamp)
            var tomorrowM = serverDate.getMonth() + 1
            var tomorrowD = serverDate.getDate()
            return tomorrowM + '-' + tomorrowD
        }
    },
 
    created () {
        this.getOverZCont()
 
        this.scollTextValue = `5月6日8时,全省有92座水库超汛限水位,其中大型0座、中型1座、小型91座。与昨日比较,总数减少6座(大型增加0座、中型增加0座、小型减少6座),减少座数较多的市州有荆门市, 武汉市, 黄石市, 咸宁市分别减少7座, 3座, 2座, 1座。新增座数较多的市州有襄阳市, 孝感市, 十堰市分别新增3座, 3座, 1座。1座超汛限的中型水库分布为:孛畈镇1座(清水河水库)。超汛幅度0.19-0.19米。超幅最大的是清水河水库(超汛限0.19米,出库流量--立方米/秒,均质土坝,承雨面积165.7平方公里,无闸控制,堰顶高程、汛限水位和正常蓄水位71.2米,设计水位75.77米,校核水位78.13米)。91座超汛限的小型水库分布为:荆门市14座, 宜昌市3座, 鄂州市2座, 襄阳市29座, 随州市2座, 武汉市4座, 黄石市3座, 咸宁市4座, 孝感市28座, 十堰市2座。超汛幅度0.01-0.25米。其中超幅最大的是马港镇深谷垅水库(超汛限0.25米,当前水位263.2米,设计水位265.08米,水库承雨面积小,深谷垅水库水库水位下降缓慢)。各地调度超汛限水库泄洪,其中大中型水库出库流量0.16立方米/秒,日泄流量1.382万立方米。`
    },
 
    methods: {
        getOverZCont () {
            getOverZCont().then(res => {
                this.listData0 = res.data.resultList.sort((a, b) => b.consecutive_cnt - a.consecutive_cnt)
            })
        },
    },
}
</script>
 
<style lang="scss" scoped>
.big-screen-box {
    position: relative;
    display: flex;
    flex-wrap: wrap;
 
    .one {
        width: 400px;
        height: 360px;
        display: flex;
        flex-direction: column;
        position: relative;
 
        .scroll-table-body {
            height: 165px;
        }
 
        .title-box {
            position: relative;
            height: 38px;
            line-height: 38px;
            background: url(/bigScreen/images/title-box.png) no-repeat center / 100% 100%;
 
            .title {
                margin-left: 30px;
                text-align: left;
                font-size: 18px;
                font-family: Alibaba PuHuiTi;
                font-weight: bold;
                font-style: italic;
                color: transparent;
                text-shadow: 0px 2px 8px rgba(5, 28, 55, 0.42);
                background-image: linear-gradient(180deg, rgba(14, 197, 236, 0.36) 5%, rgba(49, 190, 255, 0.36) 20%, rgba(255, 255, 255, 1) 40%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparen
            }
 
            .title-sub {
                position: absolute;
                right: 10px;
                bottom: 4px;
                line-height: 1;
            }
        }
 
        .content-box {
            height: 0;
            flex: 1;
        }
    }
 
    .scroll-table {
        font-family: Alibaba PuHuiTi;
        font-weight: 400;
        font-style: italic;
        color: #AFBED8;
 
        .scroll-table-head {
            height: 38px;
            font-size: 16px;
            border-bottom: 2px solid #6187E4;
            background: rgba(42, 64, 120, 0.68);
 
            &>div {
                flex: 1;
                text-align: center;
            }
        }
 
        .scroll-table-body {
            overflow: hidden;
            height: 155px;
            margin-top: 10px;
        }
 
        .scroll-item {
            margin-top: 5px;
            height: 38px;
            border: 1px solid rgba(36, 57, 110, 1);
            background: rgba(36, 57, 110, 0.34);
 
            &>div {
                text-align: center;
                flex: 1;
                color: #D4E8F8;
                font-size: 14px;
            }
        }
 
        .type-img {
            margin-left: 5px;
        }
    }
 
    .color-num {
        // color: #EDB058;
        font-size: 16px !important;
        font-family: Roboto-Bold;
        background: linear-gradient(to right, RGBA(228, 134, 41, 1) 60%, #fff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }
 
    .text-scroll-box {
        width: 800px;
        height: 100px
    }
}
</style>