角标和占位图替换
This commit is contained in:
@@ -211,7 +211,6 @@ class _SearchVideoResultPageState extends State<SearchVideoResultPage> {
|
||||
videoModel: model,
|
||||
textLines: 1,
|
||||
coverRightText: model.dramaInfo?.episodeNumberStatus,
|
||||
showLevelIcon: false,
|
||||
isFromSearch: true,
|
||||
onTap: () => _openDrama(model),
|
||||
),
|
||||
@@ -299,7 +298,6 @@ class _SearchVideoResultPageState extends State<SearchVideoResultPage> {
|
||||
videoModel: videoModel,
|
||||
textLines: 1,
|
||||
coverRightText: videoModel.dramaInfo?.episodeNumberStatus,
|
||||
showLevelIcon: false,
|
||||
isFromSearch: true,
|
||||
onTap: () => _openDrama(videoModel),
|
||||
),
|
||||
|
||||
@@ -64,7 +64,11 @@ class _CommonSearchBarViewState extends State<CommonSearchBarView> {
|
||||
borderRadius: BorderRadius.circular(99),
|
||||
),
|
||||
child: Config.searchHints.isEmpty
|
||||
? Text('请输入关键字', style: _hintStyle)
|
||||
//父级给的是 36 的紧约束,Text 会撑满高度后从顶部起排,要 Align 压回垂直居中
|
||||
? Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Text('请输入关键字', style: _hintStyle),
|
||||
)
|
||||
: MarqueeWidget(
|
||||
count: Config.searchHints.length,
|
||||
onIndexChanged: (index) =>
|
||||
|
||||
Reference in New Issue
Block a user