yumaochao

fix:somebug

@@ -130,7 +130,7 @@ export struct CardMediaInfo { @@ -130,7 +130,7 @@ export struct CardMediaInfo {
130 Image($r('app.media.card_image')) 130 Image($r('app.media.card_image'))
131 .mediaLogo() 131 .mediaLogo()
132 Text(`${this.contentDTO.photoNum}`) 132 Text(`${this.contentDTO.photoNum}`)
133 - .mediaTextImgtype() 133 + .mediaText()
134 } 134 }
135 .margin({ left: 80,top: 55}) 135 .margin({ left: 80,top: 55})
136 136
@@ -185,13 +185,3 @@ function mediaText() { @@ -185,13 +185,3 @@ function mediaText() {
185 offsetY: 2 185 offsetY: 2
186 }) 186 })
187 } 187 }
188 -function mediaTextImgtype() {  
189 - .fontColor($r('app.color.color_fff'))  
190 - .fontSize($r('app.float.font_size_13'))  
191 - .lineHeight(18)  
192 - .textShadow({  
193 - radius: 2,  
194 - color: 'rgba(0,0,0,0.3)',  
195 - offsetY: 2  
196 - })  
197 -}