App.san 1.3 KB
Newer Older
B
BingBlog 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
<template>
    <div id="app">
        <san-appbar title="VisualDL">
                <div class="user-info app-follow-list" slot="right"></div>
        </san-appbar>
        <div id="content-container" class="content-container">
            <div id="app-content" class="app-content">
                <div id="content"></div>
            </div>
        </div>
        <div class="footer">
            <div class="ftext"><a href="https://github.com/VisualDL/VisualDL" target="_blank" class="bluetext">GitHub</a></div>
            <div class="ftext ftext3">VisualDL © MIT</div>
        </div>
    </div>
</template>

<script>
import Appbar from 'san-mui/AppBar';
import {resizeContentHeight} from './common/fun/adjustConentHeight';


export default {
    components: {
        'san-appbar': Appbar
    },
    initData() {
        return {};
    },
    attached() {
        resizeContentHeight();
    }
};

</script>

<style lang="stylus">
.footer
    float: left;
    position:relative;
    width: 100%
    background: #fff
    padding-top: 0
    margin-top: -2px
    background #fff
    border solid 1px #e4e4e4
    .ftext
        width: 30%
        float: left
        text-align: center
        padding: 30px 0
        font-size: 14px
    .ftext3
        margin-left: 5%
    .bluetext
        text-decoration: none
        color: #398bfb
</style>