sider and frame done

This commit is contained in:
Hunlongyu
2019-12-02 10:35:09 +08:00
parent 00b39718f9
commit d82cf1995b
11 changed files with 126 additions and 60 deletions

8
src/views/Collection.vue Normal file
View File

@@ -0,0 +1,8 @@
<template>
<Row class="collection">collection</Row>
</template>
<script>
export default {
name: 'collection'
}
</script>

10
src/views/List.vue Normal file
View File

@@ -0,0 +1,10 @@
<template>
<Row>
<div class="list">list</div>
</Row>
</template>
<script>
export default {
name: 'list'
}
</script>

View File

@@ -1,8 +1,8 @@
<template>
<div class="home">home</div>
<Row class="player">player</Row>
</template>
<script>
export default {
name: 'home'
name: 'player'
}
</script>

View File

@@ -2,12 +2,12 @@
<div class="search">search</div>
</template>
<script>
import video from '@/util/util.video'
// import video from '@/util/util.video'
export default {
name: 'search',
methods: {},
created () {
video.init()
// video.init()
}
}
</script>

16
src/views/Settings.vue Normal file
View File

@@ -0,0 +1,16 @@
<template>
<Row>
<Button type="primary" @click="switchTheme('light')">light</Button>
<Button type="primary" @click="switchTheme('dark')">Dark</Button>
</Row>
</template>
<script>
export default {
name: 'settings',
methods: {
switchTheme (e) {
this.$store.commit('SET_THEME', e)
}
}
}
</script>