Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -131,12 +131,11 @@ export struct SearchResultContentComponent{ | @@ -131,12 +131,11 @@ export struct SearchResultContentComponent{ | ||
| 131 | }) | 131 | }) |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | - //TODO 48 个赋值 | ||
| 135 | let contentDTO:ContentDTO = { | 134 | let contentDTO:ContentDTO = { |
| 136 | appStyle: value.data.appStyle + "", | 135 | appStyle: value.data.appStyle + "", |
| 137 | cityCode: value.data.cityCode, | 136 | cityCode: value.data.cityCode, |
| 138 | coverSize: "", | 137 | coverSize: "", |
| 139 | - coverType: -1, | 138 | + coverType: value.data.type == "5"?1:-1, |
| 140 | coverUrl: this.searchType=="activity"?value.data.zhChannelPageImg:value.data.appStyleImages.split("&&")[0], | 139 | coverUrl: this.searchType=="activity"?value.data.zhChannelPageImg:value.data.appStyleImages.split("&&")[0], |
| 141 | description: value.data.description, | 140 | description: value.data.description, |
| 142 | districtCode: value.data.districtCode, | 141 | districtCode: value.data.districtCode, |
| @@ -203,7 +202,8 @@ export struct SearchResultContentComponent{ | @@ -203,7 +202,8 @@ export struct SearchResultContentComponent{ | ||
| 203 | publishTimestamp:"", | 202 | publishTimestamp:"", |
| 204 | bottomNavId:'', | 203 | bottomNavId:'', |
| 205 | openType:'', | 204 | openType:'', |
| 206 | - extra:'' | 205 | + extra:'', |
| 206 | + titleShow:value.data.type == "5"?1:0, | ||
| 207 | } | 207 | } |
| 208 | 208 | ||
| 209 | this.data.push(contentDTO) | 209 | this.data.push(contentDTO) |
-
Please register or login to post a comment