bug
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Detail from './components/detail'
|
||||
import List from './components/list'
|
||||
import Detail from './detail'
|
||||
import List from './list'
|
||||
|
||||
export default {
|
||||
name: 'AppCountryAlbum',
|
||||
|
||||
@@ -44,18 +44,19 @@
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
props: ['params'],
|
||||
data() {
|
||||
return {
|
||||
list: [],
|
||||
limit: 9,
|
||||
size: 10 * 1024 * 1024,
|
||||
fileList: [],
|
||||
numInfo: {}
|
||||
numInfo: {},
|
||||
params: {}
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
onLoad(option) {
|
||||
this.params = option
|
||||
console.log(this.params)
|
||||
this.getList()
|
||||
this.getStatistic()
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -57,15 +57,7 @@ export default {
|
||||
})
|
||||
},
|
||||
toDetail(item) {
|
||||
this.$emit('change', {
|
||||
type: 'Detail',
|
||||
params: {
|
||||
type: item.type,
|
||||
areaId: this.areaId,
|
||||
title: item.name,
|
||||
titleImgUrl: item.url
|
||||
}
|
||||
})
|
||||
uni.navigateTo({url: `./detail?type=${item.type}&areaId=${this.areaId}&title=${item.name}&titleImgUrl=${item.url}`})
|
||||
},
|
||||
},
|
||||
onReachBottom() {
|
||||
Reference in New Issue
Block a user