zhaojunkai

人民号-动态Tab下的内容Card12、Card14、Card15、Card16、Card19、Card21新增交互入口,评论、点赞、分享

@@ -36,7 +36,7 @@ export struct Card12Component { @@ -36,7 +36,7 @@ export struct Card12Component {
36 .lineHeight(25) 36 .lineHeight(25)
37 .fontFamily('PingFang SC-Regular') 37 .fontFamily('PingFang SC-Regular')
38 } 38 }
39 - CarderInteraction() 39 + CarderInteraction({contentDTO: this.contentDTO})
40 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件 40 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件
41 } 41 }
42 .padding({ 42 .padding({
@@ -53,7 +53,7 @@ export struct Card14Component { @@ -53,7 +53,7 @@ export struct Card14Component {
53 .width(CommonConstants.FULL_WIDTH) 53 .width(CommonConstants.FULL_WIDTH)
54 .margin({ bottom: 8 }) 54 .margin({ bottom: 8 })
55 .height(75) 55 .height(75)
56 - CarderInteraction() 56 + CarderInteraction({contentDTO: this.contentDTO})
57 57
58 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件 58 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件
59 } 59 }
@@ -52,7 +52,7 @@ export struct Card15Component { @@ -52,7 +52,7 @@ export struct Card15Component {
52 .width(CommonConstants.FULL_WIDTH) 52 .width(CommonConstants.FULL_WIDTH)
53 .aspectRatio(16 / 9) 53 .aspectRatio(16 / 9)
54 .alignContent(Alignment.BottomEnd) 54 .alignContent(Alignment.BottomEnd)
55 - CarderInteraction() 55 + CarderInteraction({contentDTO: this.contentDTO})
56 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件 56 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件
57 } 57 }
58 .padding({ 58 .padding({
@@ -53,7 +53,7 @@ export struct Card16Component { @@ -53,7 +53,7 @@ export struct Card16Component {
53 }) 53 })
54 } 54 }
55 } 55 }
56 - CarderInteraction() 56 + CarderInteraction({contentDTO: this.contentDTO})
57 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件 57 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件
58 } 58 }
59 .padding({ 59 .padding({
@@ -47,7 +47,7 @@ export struct Card19Component { @@ -47,7 +47,7 @@ export struct Card19Component {
47 }) 47 })
48 ProcessUtils.gotoMultiPictureListPage(photoList,0) 48 ProcessUtils.gotoMultiPictureListPage(photoList,0)
49 }) 49 })
50 - CarderInteraction() 50 + CarderInteraction({contentDTO: this.contentDTO})
51 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件 51 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件
52 } 52 }
53 .padding({ 53 .padding({
@@ -51,7 +51,7 @@ export struct Card21Component { @@ -51,7 +51,7 @@ export struct Card21Component {
51 } 51 }
52 .columnsTemplate('2fr 1fr') 52 .columnsTemplate('2fr 1fr')
53 .maxCount(1) 53 .maxCount(1)
54 - CarderInteraction() 54 + CarderInteraction({contentDTO: this.contentDTO})
55 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件 55 //TODO 底部的:分享、评论、点赞 功能;需要引用一个公共组件
56 } 56 }
57 .onClick((event: ClickEvent) => { 57 .onClick((event: ClickEvent) => {