Commit 6ee688dfc803ccca58ef6be9698ec72d2e16ce3d
1 parent
f5d4b70c
收入信息
Showing
2 changed files
with
52 additions
and
2 deletions
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,7 +17,9 @@ | ||
| 17 | <v-map></v-map> | 17 | <v-map></v-map> |
| 18 | </li> | 18 | </li> |
| 19 | <li class="main-right"> | 19 | <li class="main-right"> |
| 20 | - <div class="frame-wrap"></div> | 20 | + <div class="frame-wrap"> |
| 21 | + <v-income></v-income> | ||
| 22 | + </div> | ||
| 21 | <div class="frame-wrap frame-wrap-center"></div> | 23 | <div class="frame-wrap frame-wrap-center"></div> |
| 22 | <div class="frame-wrap"></div> | 24 | <div class="frame-wrap"></div> |
| 23 | </li> | 25 | </li> |
| @@ -31,6 +33,7 @@ import VMap from '../components/VMap' | @@ -31,6 +33,7 @@ import VMap from '../components/VMap' | ||
| 31 | import VParking from '../components/VParking' | 33 | import VParking from '../components/VParking' |
| 32 | import VToll from '../components/VToll' | 34 | import VToll from '../components/VToll' |
| 33 | import VInout from '../components/VInout' | 35 | import VInout from '../components/VInout' |
| 36 | +import VIncome from '../components/VIncome' | ||
| 34 | export default { | 37 | export default { |
| 35 | name: 'VHome', | 38 | name: 'VHome', |
| 36 | components: { | 39 | components: { |
| @@ -38,7 +41,8 @@ export default { | @@ -38,7 +41,8 @@ export default { | ||
| 38 | VMap, | 41 | VMap, |
| 39 | VParking, | 42 | VParking, |
| 40 | VToll, | 43 | VToll, |
| 41 | - VInout | 44 | + VInout, |
| 45 | + VIncome | ||
| 42 | } | 46 | } |
| 43 | } | 47 | } |
| 44 | </script> | 48 | </script> |
| @@ -71,6 +75,7 @@ export default { | @@ -71,6 +75,7 @@ export default { | ||
| 71 | height: calc((100% - 20px)/3); | 75 | height: calc((100% - 20px)/3); |
| 72 | background: url("../images/content/frame-wrap.png"); | 76 | background: url("../images/content/frame-wrap.png"); |
| 73 | background-size: 100% 100%; | 77 | background-size: 100% 100%; |
| 78 | + overflow: hidden; | ||
| 74 | /*border-image-source: url("../images/content/frame-wrap.png");*/ | 79 | /*border-image-source: url("../images/content/frame-wrap.png");*/ |
| 75 | /*border-image-slice: 3 16 11 3 fill;*/ | 80 | /*border-image-slice: 3 16 11 3 fill;*/ |
| 76 | /*border-width: 3px 18px 11px 3px;*/ | 81 | /*border-width: 3px 18px 11px 3px;*/ |