乡村相册

This commit is contained in:
liuye
2021-12-21 13:58:03 +08:00
parent 001ca644be
commit 7bb3adb2aa
4 changed files with 443 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<template>
<div class="AppCountryAlbum">
<component
:is="component"
@change="onChange"
:params="params">
</component>
</div>
</template>
<script>
import Detail from './components/detail'
import List from './components/list'
export default {
name: 'AppCountryAlbum',
appName: '乡村相册',
data() {
return {
component: 'List',
params: {}
}
},
components: { Detail, List },
methods: {
onChange(e) {
this.params = e.params
this.component = e.type
}
},
}
</script>
<style lang="scss" scoped>
uni-page-body{
height: 100%;
}
.AppCountryAlbum{
height: 100%;
}
</style>