123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <template>
- <div class="view-container">
- <div class="date">
- <span>{{ date }}</span>
- </div>
- <div class="dateStatistics">
- <div @click="handleDayView">日统计</div>
- <div @click="handleMonthView">月统计</div>
- </div>
- <div class="adress">
- <div class="address-opt">梅康一路</div>
- <div>梅康三路</div>
- <div>梅康五路</div>
- </div>
- <div class="sb">
- <a-row type="flex" justify="space-between" :gutter="[20,20]">
- <a-col :span="6" v-for="item in 8" :key="item" @click="handleView">
- <div class="sb-info">
- <div class="sb-info-title">
- <span>2G04</span>
- <span>10KV联合动力2#变压器</span>
- </div>
- <div class="sb-info-content">
- <div>低压进线V</div>
- <div class="arrow">
- <div>
- <div>电压:32V</div>
- <div><img src="../../assets/bgView/jiantouBlue.png" width="65px" alt=""></div>
- </div>
- <div style="color:rgba(40, 233, 108, 1)">
- <div>电流:32A</div>
- <div><img src="../../assets/bgView/jiantouGreen.png" width="65px" alt=""></div>
- </div>
- <div style="color:rgba(255, 216, 0, 1)">
- <div>有功电度:34V</div>
- <div><img src="../../assets/bgView/jiantouYellow.png" width="65px" alt=""></div>
- </div>
- </div>
- <div><img src="../../assets/bgView/bianyaqi.png" width="87px" alt=""></div>
- <div class="arrow">
- <div>
- <div>电压:32V</div>
- <div><img src="../../assets/bgView/jiantouBlue.png" width="65px" alt=""></div>
- </div>
- <div style="color:rgba(40, 233, 108, 1)">
- <div>电压:32V</div>
- <div><img src="../../assets/bgView/jiantouGreen.png" width="65px" alt=""></div>
- </div>
- </div>
- <div>高压出线KV</div>
- </div>
- </div>
- </a-col>
- <a-col :span="6" v-for="item in 8" :key="item">
- <div class="sb-info">
- <div class="sb-info-title">
- <span>2G06</span>
- <span>10KV开山螺杆B线</span>
- </div>
- <div class="sb-info-content">
- <div>低压进线V</div>
- <div class="arrow">
- <div>
- <div>电压:32V</div>
- <div><img src="../../assets/bgView/jiantouBlue.png" width="65px" alt=""></div>
- </div>
- <div style="color:rgba(40, 233, 108, 1)">
- <div>电压:32V</div>
- <div><img src="../../assets/bgView/jiantouGreen.png" width="65px" alt=""></div>
- </div>
- <div style="color:rgba(255, 216, 0, 1)">
- <div>电压:32V</div>
- <div><img src="../../assets/bgView/jiantouYellow.png" width="65px" alt=""></div>
- </div>
- </div>
- <div><img src="../../assets/bgView/luogan.png" width="153px" alt=""></div>
- </div>
- </div>
- </a-col>
- </a-row>
- </div>
- </div>
- </template>
- <script>
- export default {
- data () {
- return {
- date: this.BaseTool.Moment().format(this.BaseTool.Date.PICKER_NORM_DATE_PATTERN_CHINESE)
- }
- },
- methods: {
- handleView () {
- this.$router.push('/TransformerDetailBigScreen')
- },
- handleDayView () {
- const a = document.createElement('a')
- a.href = '/DayStatistics'
- a.click()
- },
- handleMonthView () {
- const a = document.createElement('a')
- a.href = '/MonthStatistics'
- a.click()
- }
- }
- }
- </script>
- <style lang="less" scoped>
- .view-container {
- width:1920px;
- height:1080px;
- font-family: PingFang SC;
- padding: 80px 67px;
- &::after {
- content: "";
- width:1920px;
- height:1080px;
- background: url(../../assets/bgView/SwitchingRoomBG.png);
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- position: absolute;
- z-index: -1;
- }
- }
- .dateStatistics{
- width: 250px;
- color: #FFFFFF;
- font-size: 20px;
- display: flex;
- justify-content: space-between;
- position: absolute;
- top:58px;
- right:96px;
- div {
- width: 173px;
- height: 58px;
- line-height: 50px;
- text-align: center;
- border: 2px solid #0089D8;
- border-radius: 9px;
- &:hover{
- cursor: pointer;
- }
- }
- }
- .date{
- width: 250px;
- color: #FFFFFF;
- font-size: 20px;
- display: flex;
- justify-content: space-between;
- position: absolute;
- top:58px;
- left:96px;
- }
- .adress{
- width: 660px;
- margin: 20px auto;
- font-size: 30px;
- font-weight: bold;
- color: #FFFFFF;
- display:flex;
- justify-content: space-between;
- div {
- width: 173px;
- height: 58px;
- line-height: 50px;
- text-align: center;
- border: 2px solid #0089D8;
- border-radius: 9px;
- &:hover{
- cursor: pointer;
- }
- }
- .address-opt {
- box-shadow: 0px 0px 40px 0px rgba(0, 137, 216, 0.8) inset;
- color:#28E96C;
- }
- }
- .sb{
- color:#fff;
- margin-top: 30px;
- }
- .sb-info{
- width: 424px;
- height:185px;
- background: url(../../assets/bgView/sbInfoBg.png) no-repeat;
- position: relative;
- .sb-info-title{
- width: 208px;
- font-size: 13px;
- font-weight: bold;
- color: RGBA(192, 231, 247, 1);
- display: flex;
- justify-content:space-between;
- position: absolute;
- top:16px;
- left:18px;
- &::before{
- content: '';
- width: 5px;
- height: 10px;
- background: #5ACCF8;
- position: absolute;
- top:5px;
- left:2px;
- }
- span:first-child{
- color:#5ACCF8;
- padding-left:10px;
- }
- }
- .sb-info-content{
- display: flex;
- justify-content: space-around;
- align-items:center;
- font-size: 14px;
- font-weight: 500;
- color: #5ACCF8;
- padding: 44px 10px 10px 7px;
- .arrow{
- font-size:12px;
- }
- }
- }
- </style>
|