vue3 数据大屏紫色头部组件 - 北京市系统媒体数据可视化平台

数据可视化大屏素材 yekong

vue3 数据大屏项目开发中,会遇到各种各样的头部,今天整理的是北京市系统媒体数据可视化平台头部组件。

如果您需要设计属于自己的数据可视化大屏或开发数据可视化大屏 请联系我们微信:17331886870

效果截图

vue3 数据大屏紫色头部组件 - 北京市系统媒体数据可视化平台

组件代码

/**
* @Author: 858834013@qq.com
* @Name: pageTop
* @Date: 2023年06月01日
* @Desc:
*/
<template>
  <div class="pageTop wow fadeInDown">
    <div class="pageTopLeft">
      <div class="title">
        <span>{{ title }}</span>
      </div>
    </div>
    <div class="pageTopRight">
      <span><img src="./assets/icon_tq.png" alt=""> 退出</span>
      <span>晴天 12℃-25℃</span>
      <span><img src="./assets/icon_date.png" alt=""> 2022.05.14</span>
    </div>
  </div>
</template>

<script>
import WOW from "wow.js";
import dayjs from "dayjs";


export default {
  name: "pageTop",
  components: {},
  data() {
    return {
      date: dayjs().format("YYYY年MM月DD日"),
      time: dayjs().format("HH:mm:ss"),
    }
  },
  props: {
    title: {
      type: String,
      default() {
        return '北京市系统媒体数据可视化平台';
      }
    }
  },
  mounted() {
    var wow = new WOW({
      boxClass: "wow",
      animateClass: "animated",
      offset: 0,
      mobile: true,
      live: true,
      callback: function (box) {
      },
      scrollContainer: null,
      resetAnimation: true,
    });
    wow.init();
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.pageTop {
  width: 100%;
  background: url("./assets/topbg.png") center top no-repeat;
  background-size: 1894px 80px;
  height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: flex-start;

  .pageTopLeft {
    width: 30%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;

    .title {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: nowrap;
      flex-direction: row;
      align-content: flex-start;

      span {
        font-size: 26px;
        font-family: PangMenZhengDao;
        font-weight: 400;
        color: #99E5FF;
        text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.75);
        padding-top: 10px;
        margin-left: 30px;
      }
    }
  }

  .pageTopRight {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;
    padding-top: 10px;

    span {
      font-size: 14px;
      font-family: FangSong;
      font-weight: 400;
      color: #01B7F8;
      margin-right: 15px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      flex-wrap: nowrap;
      flex-direction: row;
      align-content: flex-start;
    }

    img {
      width: 18px;
      height: 19px;
      margin-right: 5px;
    }
  }
}

</style>

更多数据可视化大屏顶部组件

vue3 数据可视化大屏顶部组件汇总

喜欢