Commit 6ee688dfc803ccca58ef6be9698ec72d2e16ce3d

Authored by liuqimichale
1 parent f5d4b70c

收入信息

src/components/VIncome.vue 0 → 100644
  1 +<template>
  2 + <div class="theme-wrap">
  3 + <card-title> <span>收入消息</span></card-title>
  4 + <div class="theme-body">
  5 + <account-num>
  6 + <span>总计</span>
  7 + </account-num>
  8 + <div class="income-echart">
  9 +
  10 + </div>
  11 + </div>
  12 + </div>
  13 +</template>
  14 +
  15 +<script>
  16 +import CardTitle from './base/CardTitle'
  17 +import AccountNum from './base/AccountNum'
  18 +export default {
  19 + name: 'VIncome',
  20 + components: {
  21 + CardTitle,
  22 + AccountNum
  23 + },
  24 + data() {
  25 + return {
  26 +
  27 + }
  28 + }
  29 +}
  30 +</script>
  31 +
  32 +<style scoped lang="scss">
  33 + .theme-wrap {
  34 + height: 100%;
  35 + }
  36 + .theme-body {
  37 + height: calc(100% - 30px);
  38 + margin-left: 20px;
  39 + }
  40 + .income-echart{
  41 + height: 70%;
  42 + background-color: #f00;
  43 + }
  44 +
  45 +</style>
... ...
src/view/VHome.vue
... ... @@ -17,7 +17,9 @@
17 17 <v-map></v-map>
18 18 </li>
19 19 <li class="main-right">
20   - <div class="frame-wrap"></div>
  20 + <div class="frame-wrap">
  21 + <v-income></v-income>
  22 + </div>
21 23 <div class="frame-wrap frame-wrap-center"></div>
22 24 <div class="frame-wrap"></div>
23 25 </li>
... ... @@ -31,6 +33,7 @@ import VMap from &#39;../components/VMap&#39;
31 33 import VParking from '../components/VParking'
32 34 import VToll from '../components/VToll'
33 35 import VInout from '../components/VInout'
  36 +import VIncome from '../components/VIncome'
34 37 export default {
35 38 name: 'VHome',
36 39 components: {
... ... @@ -38,7 +41,8 @@ export default {
38 41 VMap,
39 42 VParking,
40 43 VToll,
41   - VInout
  44 + VInout,
  45 + VIncome
42 46 }
43 47 }
44 48 </script>
... ... @@ -71,6 +75,7 @@ export default {
71 75 height: calc((100% - 20px)/3);
72 76 background: url("../images/content/frame-wrap.png");
73 77 background-size: 100% 100%;
  78 + overflow: hidden;
74 79 /*border-image-source: url("../images/content/frame-wrap.png");*/
75 80 /*border-image-slice: 3 16 11 3 fill;*/
76 81 /*border-width: 3px 18px 11px 3px;*/
... ...