You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
521 B

<template>
<view>
<newDetail ref="detailPage"></newDetail>
</view>
</template>
<script>
import newDetail from '@/pages/Sub/Tabs/cell.vue'
export default {
components:{
newDetail
},
data() {
return {
title: 'Hello'
}
},
created(e) {
//监听自定义事件,该事件由详情页列表的点击触发
// uni.$on('updateDetail', (e) => {
// // 执行 /pages/news/detail.nvue页面的load方法
// this.$refs.detailPage.load(e.detail);
// })
}
}
</script>
<style>
</style>