123456789101112131415161718192021222324 |
- <template>
- <router-view/>
- </template>
- <script>
- import '@/assets/style/reset.less'
- import '@/assets/style/public.less'
- import '@/assets/theme/color.less'
- export default {
- mounted(){
- if (this.isMobile) {
- window.location.href = window.location.href.replace('index.html','mobile.html')
- }
- }
- }
- </script>
- <style lang="less">
- html,body{
- width: 100%;
- height: 100%;
- color: #fff;
- }
- </style>
|