123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <template>
- <view class="home">
- <banner :bannerlist="bannerlist"></banner>
- <footers v-if="isfootflag" :footlist="footlist" :footerindex="footerindex" :color_checked="color_checked" :color_nochecked="color_nochecked" :isHomeIndex="true"></footers>
- </view>
- </template>
- <script>
- import self from "@/utils/location.js"
- import banner from "@/components/toptab/banner.vue"
- import footers from '@/components/footer/footer.vue'
- export default {
- components:{footers,banner},
- data(){
- return{
- // limit:'course:table:list'
- footlist:[
- {module:'home',title:'首页',icon_checked:require('@/static/images/tabbar/home_.png'),icon_nochecked:require('@/static/images/tabbar/home.png'),imgtype:'img1',},
- {module:'news',title:'新闻',icon_checked:require('@/static/images/tabbar/news_.png'),icon_nochecked:require('@/static/images/tabbar/news.png'),imgtype:'img2',},
- {module:'mine',title:'我的',icon_checked:require('@/static/images/tabbar/mine_.png'),icon_nochecked:require('@/static/images/tabbar/mine.png'),imgtype:'img3',},
- ],
- footerindex:'home',
- isfootflag:true,
- color_checked :'7D5F2A',
- color_nochecked :'7C5E29',
- bannerlist:[
- {path:require("@/static/images/banner.png")},
- {path:require("@/static/images/banner.png")},
- ],
- }
- },
-
- onLoad: function() {
-
- },
- methods:{
- }
- }
- </script>
- <style scoped lang="scss">
- .home{
-
- }
- </style>
|