generated from dellevin/template
android:v0.2.9
This commit is contained in:
@@ -244,6 +244,11 @@ class _MovieDetailPageState extends State<MovieDetailPage> {
|
||||
Text('观看于 ${_formatDate(movie.watchDate!)}',
|
||||
style: TextStyle(fontSize: 14, color: colors.onSurface.withValues(alpha: 0.4))),
|
||||
],
|
||||
if (movie.watchCount > 0) ...[
|
||||
const SizedBox(height: 4),
|
||||
Text('已观看 ${movie.watchCount} 次',
|
||||
style: TextStyle(fontSize: 14, color: colors.onSurface.withValues(alpha: 0.4))),
|
||||
],
|
||||
Divider(height: 32, thickness: 0.5, color: colors.outline),
|
||||
// 详细信息
|
||||
if (movie.directors.isNotEmpty) _buildDesktopInfoRow('导演', movie.directors.join(','), colors),
|
||||
@@ -1464,6 +1469,14 @@ class _MovieDetailPageState extends State<MovieDetailPage> {
|
||||
color: colors.onSurface.withValues(alpha: 0.4),
|
||||
),
|
||||
),
|
||||
if (movie.watchCount > 0)
|
||||
Text(
|
||||
'已观看 ${movie.watchCount} 次',
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
color: colors.onSurface.withValues(alpha: 0.4),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user