The bottom of the Mint UI layout exceeds


how to write to keep the bottom (tabbar) at the bottom all the time?
looks like there is no layout container!

<template>
    <div id="main">
        <mt-header title="">
            <router-link to="/" slot="left"><mt-button icon="back"></mt-button></router-link>
        </mt-header>
        <mt-cell title="" is-link v-for="n in 20">
            <span style="color: green"></span>
        </mt-cell>
        <mt-tabbar v-model="selected">
            <mt-tab-item id="index"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
            <mt-tab-item id="sign"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
            <mt-tab-item id="content"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
            <mt-tab-item id="user"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
        </mt-tabbar>
    </div>
</template>
Sep.19,2021

use position:fixed,. Try


< template >
< div id= "main" >
< div style= "height:90vh;overflow:auto" >

<mt-header title="">
    <router-link to="/" slot="left"><mt-button icon="back"></mt-button></router-link>
</mt-header>
<mt-cell title="" is-link v-for="n in 20">
    <span style="color: green"></span>
</mt-cell>

< / div >

< div style= "height:10vh;position:fixed;bottom:0;left:0" >

<mt-tabbar v-model="selected">
    <mt-tab-item id="index"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
    <mt-tab-item id="sign"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
    <mt-tab-item id="content"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
    <mt-tab-item id="user"><img slot="icon" src="../../assets/img/100.png"></mt-tab-item>
</mt-tabbar>
    

< / div >
< / div >
< / template >

not necessarily OK, give it a try


did not use this component library, add a fixed to try (encounter problems can first look at the documentation, components do not support the function and then find a way to achieve their own).
clipboard.png

Menu