Blame view

src/views/dataView/centercard.vue 1.67 KB
任超 committed
1
<template>
xiaomiao committed
2
  <div class="centercard">
任超 committed
3
    <div class="card1">
任超 committed
4
      <div class="title">汉中市不动产接入信息</div>
任超 committed
5
      <maps class="map" />
xiaomiao committed
6
    </div>
任超 committed
7 8 9
    <div class="card2 mt-10">
      <div class="title">数据趋势</div>
      <brokenline class="Brokenline" />
xiaomiao committed
10 11 12 13 14
    </div>
  </div>
</template>

<script>
xiaomiao committed
15
import maps from "@/components/echart/map";
任超 committed
16
import brokenline from "@/components/echart/brokenline";
xiaomiao committed
17
export default {
任超 committed
18
  data () {
xiaomiao committed
19 20
    return {};
  },
任超 committed
21
  components: { maps, brokenline },
任超 committed
22 23
  mounted () { },
  beforeDestroy () { },
xiaomiao committed
24 25 26 27 28
  methods: {},
};
</script>

<style lang="scss" scoped>
任超 committed
29
.centercard {
任超 committed
30
  width: 44%;
任超 committed
31 32 33 34 35
  height: calc(100vh - 114px);
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
xiaomiao committed
36

任超 committed
37 38
  .card1 {
    width: 100%;
任超 committed
39 40 41
    background: url("~@/image/mapcenter.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
任超 committed
42
    height: 455px;
xiaomiao committed
43

任超 committed
44 45 46 47 48 49 50 51 52
    .title {
      position: absolute;
      font-weight: bold;
      color: #02D9FD;
      line-height: 26px;
      font-size: 22px;
      position: absolute;
      left: 0;
      right: 0;
任超 committed
53
      top: 7px;
任超 committed
54 55
      text-align: right;
      padding-right: 15%;
任超 committed
56 57 58 59 60
    }
  }

  .card2 {
    width: 100%;
任超 committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
    background: url("~@/image/sjqs.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    flex: 1;
    height: 100%;
    width: 100%;

    .title {
      position: absolute;
      font-weight: bold;
      color: #02D9FD;
      line-height: 26px;
      font-size: 22px;
      position: absolute;
      left: 0;
      right: 0;
任超 committed
77
      top: 7px;
任超 committed
78 79 80
      text-align: center;
      margin-bottom: 10px;
    }
任超 committed
81 82 83 84 85 86 87

    .Brokenline {
      margin: auto;
      width: 100%;
    }
  }
}
xiaomiao committed
88
</style>