Showing
2 changed files
with
3 additions
and
4 deletions
| @@ -5,7 +5,6 @@ import { CommonConstants } from 'wdConstant' | @@ -5,7 +5,6 @@ import { CommonConstants } from 'wdConstant' | ||
| 5 | import { WDRouterRule } from 'wdRouter/Index' | 5 | import { WDRouterRule } from 'wdRouter/Index' |
| 6 | import { CardMediaInfo } from '../cardCommon/CardMediaInfo' | 6 | import { CardMediaInfo } from '../cardCommon/CardMediaInfo' |
| 7 | import { ExtraDTO } from 'wdBean/src/main/ets/bean/component/extra/ExtraDTO' | 7 | import { ExtraDTO } from 'wdBean/src/main/ets/bean/component/extra/ExtraDTO' |
| 8 | -import { Logger } from 'wdKit/Index' | ||
| 9 | import { LiveModel } from '../../viewmodel/LiveModel' | 8 | import { LiveModel } from '../../viewmodel/LiveModel' |
| 10 | 9 | ||
| 11 | @Component | 10 | @Component |
| @@ -26,7 +25,7 @@ export struct LiveHorizontalCardComponent { | @@ -26,7 +25,7 @@ export struct LiveHorizontalCardComponent { | ||
| 26 | .fontWeight(600) | 25 | .fontWeight(600) |
| 27 | } | 26 | } |
| 28 | 27 | ||
| 29 | - if (this.compDTO.operDataList.length > 8) { | 28 | + if (this.compDTO.operDataList.length > 2) { |
| 30 | Row() { | 29 | Row() { |
| 31 | Text("更多") | 30 | Text("更多") |
| 32 | .fontSize($r("app.float.font_size_14")) | 31 | .fontSize($r("app.float.font_size_14")) |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | import { LiveHorizontalCardForOneComponent } from './LiveHorizontalCardForOneComponent' | 2 | import { LiveHorizontalCardForOneComponent } from './LiveHorizontalCardForOneComponent' |
| 3 | import { Action, CompDTO, ContentDTO, Params } from 'wdBean' | 3 | import { Action, CompDTO, ContentDTO, Params } from 'wdBean' |
| 4 | import { CommonConstants } from 'wdConstant' | 4 | import { CommonConstants } from 'wdConstant' |
| 5 | -import { Logger, StringUtils } from 'wdKit/Index' | 5 | +import { StringUtils } from 'wdKit/Index' |
| 6 | import { CardMediaInfo } from '../cardCommon/CardMediaInfo' | 6 | import { CardMediaInfo } from '../cardCommon/CardMediaInfo' |
| 7 | import { ExtraDTO } from 'wdBean/src/main/ets/bean/component/extra/ExtraDTO' | 7 | import { ExtraDTO } from 'wdBean/src/main/ets/bean/component/extra/ExtraDTO' |
| 8 | import { WDRouterRule } from 'wdRouter/Index' | 8 | import { WDRouterRule } from 'wdRouter/Index' |
| @@ -26,7 +26,7 @@ export struct LiveHorizontalReservationComponent { | @@ -26,7 +26,7 @@ export struct LiveHorizontalReservationComponent { | ||
| 26 | .fontWeight(600) | 26 | .fontWeight(600) |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | - if (this.compDTO.operDataList.length > 10) { | 29 | + if (this.compDTO.operDataList.length > 2) { |
| 30 | Row() { | 30 | Row() { |
| 31 | Text("更多") | 31 | Text("更多") |
| 32 | .fontSize($r("app.float.font_size_14")) | 32 | .fontSize($r("app.float.font_size_14")) |
-
Please register or login to post a comment