| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <template>
- <view>
- <list ref="listRef"></list>
- </view>
- </template>
- <script>
- import list from './list.vue'
- export default {
- components: {
- list
- },
- mixins: [],
- data() {
- return {
- }
- },
- computed: {
- },
- created() {
- uni.$off('successInit')
- uni.$on('successInit', (data) => {
- this.$nextTick(() => {
- this.$refs.listRef.successInit()
- })
- })
- },
- onUnload() {
-
- uni.$off('successInit')
-
- },
- onLoad() {
- this.$nextTick(() => {
- this.$refs.listRef.getList()
- })
- uni.setNavigationBarColor({
- frontColor: '#000000',
- });
- },
- methods: {
- }
- }
- </script>
- <style lang="scss" scoped>
- </style>
|