123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <template>
- <div>
- <Head :headText="headText"></Head>
- <div class="nav-right">
- <img class="nav-icon" v-if="navText" src="@/assets/shape.png" alt />
- <span class="nav-text1" v-if="navText">今日已收到 8 条策略,其中有 1 条未执行</span>
- <span class="nav-text" v-else>今天已收到 8 条策略</span>
- <span class="nav-look" @click="showTodayStrategy = true">查看</span>
- </div>
- <div class="strategyContainer">
- <div class="strate-left">
- <div class="strate-left-1">今天营业时间</div>
- <div class="strate-left-2">10:00 - 22:00</div>
- <div class="strate-left-1">当前运行模式</div>
- <div class="strate-left-2">间歇供冷</div>
- <div class="strate-left-box">
- <div class="strate-left-info-1">通风策略</div>
- <div class="strate-left-info">开启时间:05:00-07:00</div>
- <div class="strate-left-info">新风机组:开启</div>
- <div class="strate-left-info">组合式空调机组:全新风</div>
- </div>
- </div>
- <div class="starte-right">
- <p class="strate-right-title">当前状态</p>
- <water-unit></water-unit>
- <animation-box></animation-box>
- </div>
- </div>
- <el-dialog title="提示" :visible.sync="showTodayStrategy" width="1260px">
- <today-strategy></today-strategy>
- </el-dialog>
- </div>
- </template>
- <script>
- import Head from "../main/index";
- import animationBox from "./animationBox";
- import waterUnit from "./waterUnit";
- import TodayStrategy from "@/components/todayStrategy.vue";
- export default {
- data() {
- return {
- headText: "当日运行策略",
- navText: true,
- showTodayStrategy: false
- };
- },
- components: {
- Head,
- animationBox,
- waterUnit,
- TodayStrategy
- }
- };
- </script>
- <style lang="scss" scoped>
- .nav-right {
- height: 48px;
- position: fixed;
- right: 24px;
- top: 48px;
- z-index: 1;
- display: flex;
- align-items: center;
- .nav-text {
- height: 22px;
- font-size: 14px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: rgba(31, 36, 41, 1);
- line-height: 20px;
- }
- .nav-text1 {
- margin: 0 4px;
- height: 20px;
- font-size: 14px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: rgba(245, 78, 69, 1);
- line-height: 20px;
- }
- .nav-icon {
- width: 16px;
- height: 14px;
- }
- .nav-look {
- height: 22px;
- font-size: 14px;
- font-family: MicrosoftYaHei;
- color: rgba(0, 145, 255, 1);
- line-height: 22px;
- margin: 0 12px;
- cursor: pointer;
- }
- }
- .strategyContainer {
- background: #fff;
- display: flex;
- .strate-left {
- min-width: 224px;
- background: #fff;
- border-right: 1px solid #f7f9fa;
- margin-left: 16px;
- .strate-left-1 {
- margin-top: 24px;
- color: #646c73;
- font-size: 14px;
- }
- .strate-left-2 {
- margin-top: 8px;
- font-size: 20px;
- }
- .strate-left-box {
- width: 192px;
- height: 150px;
- border-radius: 6px;
- background: #e4e5e7;
- margin-top: 67px;
- .strate-left-info-1 {
- padding-top: 20px;
- padding-left: 20px;
- font-size: 16px;
- color: #1f2429;
- }
- .strate-left-info {
- padding-left: 20px;
- font-size: 14px;
- margin-top: 8px;
- color: #646c73;
- }
- }
- }
- .starte-right {
- margin-right: 315px;
- padding-left: 34px;
- .starte-right-title {
- height: 74px;
- line-height: 74px;
- color: #1f2429;
- font-size: 22px;
- }
- }
- }
- </style>
|