mod: 播放详情页样式

This commit is contained in:
guozhigq
2023-11-03 23:40:47 +08:00
parent fd43a8cb31
commit 93581c2932

View File

@ -249,30 +249,30 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
fontSize: 16, fontSize: 16,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
), ),
maxLines: 1, maxLines: 2,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),
const SizedBox(width: 20), // const SizedBox(width: 20),
SizedBox( // SizedBox(
width: 34, // width: 34,
height: 34, // height: 34,
child: IconButton( // child: IconButton(
style: ButtonStyle( // style: ButtonStyle(
padding: // padding:
MaterialStateProperty.all(EdgeInsets.zero), // MaterialStateProperty.all(EdgeInsets.zero),
backgroundColor: // backgroundColor:
MaterialStateProperty.resolveWith((states) { // MaterialStateProperty.resolveWith((states) {
return t.highlightColor.withOpacity(0.2); // return t.highlightColor.withOpacity(0.2);
}), // }),
), // ),
onPressed: showIntroDetail, // onPressed: showIntroDetail,
icon: Icon( // icon: Icon(
Icons.more_horiz, // Icons.more_horiz,
color: Theme.of(context).colorScheme.primary, // color: Theme.of(context).colorScheme.primary,
), // ),
), // ),
), // ),
], ],
), ),
), ),
@ -325,7 +325,7 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
// const SizedBox(height: 7), // const SizedBox(height: 7),
// 点赞收藏转发 布局样式1 // 点赞收藏转发 布局样式1
SingleChildScrollView( SingleChildScrollView(
padding: const EdgeInsets.only(top: 7, bottom: 7), padding: const EdgeInsets.only(top: 10, bottom: 7),
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
child: actionRow( child: actionRow(
context, context,