mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-07-04 10:36:13 +08:00
sider and frame done
This commit is contained in:
8
src/views/Collection.vue
Normal file
8
src/views/Collection.vue
Normal 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
10
src/views/List.vue
Normal file
@@ -0,0 +1,10 @@
|
||||
<template>
|
||||
<Row>
|
||||
<div class="list">list</div>
|
||||
</Row>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'list'
|
||||
}
|
||||
</script>
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="home">home</div>
|
||||
<Row class="player">player</Row>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'home'
|
||||
name: 'player'
|
||||
}
|
||||
</script>
|
||||
@@ -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
16
src/views/Settings.vue
Normal 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>
|
||||
Reference in New Issue
Block a user