12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <template>
- <view class="container" :style="{'top': (viewTop / 10) + 'vw', 'height': viewHeight + 'px'}">
- <scroll-view style="width: 100%; height: 100%;" scroll-y="true">
- <brief />
- <serviceTrait />
- <bottom />
- </scroll-view>
- </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: fixed;
- flex-direction: column;
- left: 0;
- width: 100%;
- height: 100%;
- }
- </style>
|