1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <view class="container" :style="{'top': viewTop + 'px', 'height': viewHeight + 'px'}">
- <brief />
- <serviceTrait />
- <bottom />
- </view>
- </template>
- <script>
- import brief from '../../pages/home/home-brief.vue'
- import serviceTrait from '../../pages/home/home-serviceTrait.vue'
- import bottom from '../../pages/home/home-bottom.vue'
- export default {
- data() {
- return {
-
- }
- },
- props: {
- viewTop: {
- type: Number,
- default: 0
- },
- viewHeight: {
- type: Number,
- default: 0
- }
- },
- methods: {
-
- },
- components: {
- brief,
- serviceTrait,
- bottom
- }
- }
- </script>
- <style lang="scss">
- .container{
- display: flex;
- box-sizing: border-box;
- position: relative;
- flex-direction: column;
- left: 0;
- width: 100%;
- height: 100%;
- }
- </style>
|