diff --git a/components/list/avatarStack.vue b/components/list/avatarStack.vue new file mode 100644 index 0000000..3e9bb2b --- /dev/null +++ b/components/list/avatarStack.vue @@ -0,0 +1,201 @@ + + + + + \ No newline at end of file diff --git a/components/list/dynamic/commentList.vue b/components/list/dynamic/commentList.vue new file mode 100644 index 0000000..6e12536 --- /dev/null +++ b/components/list/dynamic/commentList.vue @@ -0,0 +1,269 @@ + + + + + \ No newline at end of file diff --git a/components/list/dynamic/dynamicItem.vue b/components/list/dynamic/dynamicItem.vue index 0a3d180..7911672 100644 --- a/components/list/dynamic/dynamicItem.vue +++ b/components/list/dynamic/dynamicItem.vue @@ -13,6 +13,14 @@ :item="item" type="0" /> + + + @@ -21,12 +29,14 @@ import daynamicInfo from '@/components/list/dynamic/daynamicInfo.vue' import dynamicToShop from '@/components/list/dynamic/dynamicToShop.vue' import statisticalDataInfo from '@/components/list/statisticalDataInfo.vue' + import commentList from '@/components/list/dynamic/commentList.vue' export default { components: { userHeadItem, daynamicInfo, statisticalDataInfo, dynamicToShop, + commentList, }, props: { item: {}, @@ -34,7 +44,12 @@ data() { return {} }, - methods: {}, + methods: { + handleGoToDetail() { + // 触发父组件事件,传递当前item数据 + this.$emit('goToDetail', this.item) + } + }, } diff --git a/pages_order/post/postDetail.vue b/pages_order/post/postDetail.vue index 76cb764..69c64d4 100644 --- a/pages_order/post/postDetail.vue +++ b/pages_order/post/postDetail.vue @@ -14,8 +14,22 @@ + + + - + + + - -