logo和名称替换
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:hgmj/assets_tool/images.dart';
|
||||
import 'package:hgmj/hj_utils/screen.dart';
|
||||
import 'package:hgmj/tools_base/widget/net_image_widget.dart';
|
||||
import 'package:wydj/assets_tool/images.dart';
|
||||
import 'package:wydj/hj_utils/screen.dart';
|
||||
import 'package:wydj/tools_base/widget/net_image_widget.dart';
|
||||
|
||||
import '../../hj_model/cartoon_media_info.dart';
|
||||
import '../../hj_model/video_model.dart';
|
||||
@@ -87,17 +87,20 @@ class NovelHeader extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
'共${info?.totalEpisode ?? 0}${info?.unit}',
|
||||
style: textStyle(12, const Color(0xff999999), FontWeight.w400),
|
||||
style:
|
||||
textStyle(12, const Color(0xff999999), FontWeight.w400),
|
||||
),
|
||||
8.sizeBoxW,
|
||||
Text(
|
||||
'/',
|
||||
style: textStyle(12, const Color(0xff999999), FontWeight.w400),
|
||||
style:
|
||||
textStyle(12, const Color(0xff999999), FontWeight.w400),
|
||||
),
|
||||
8.sizeBoxW,
|
||||
Text(
|
||||
info?.updateDesc ?? '',
|
||||
style: textStyle(12, info!.getDetailUpdateColor, FontWeight.w400),
|
||||
style: textStyle(
|
||||
12, info!.getDetailUpdateColor, FontWeight.w400),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -118,10 +121,13 @@ class NovelHeader extends StatelessWidget {
|
||||
runSpacing: 10,
|
||||
maxLines: 1,
|
||||
children: tags
|
||||
.map((tag) => InkWell(enableFeedback: false,
|
||||
onTap: () => Get.to(CartoonTagPage(title: tag.name ?? '', sId: tag.id ?? '')),
|
||||
.map((tag) => InkWell(
|
||||
enableFeedback: false,
|
||||
onTap: () => Get.to(
|
||||
CartoonTagPage(title: tag.name ?? '', sId: tag.id ?? '')),
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(vertical: 6, horizontal: 12),
|
||||
padding:
|
||||
const EdgeInsets.symmetric(vertical: 6, horizontal: 12),
|
||||
decoration: BoxDecoration(
|
||||
color: const Color(0xff22252D),
|
||||
borderRadius: BorderRadius.circular(4),
|
||||
@@ -129,7 +135,8 @@ class NovelHeader extends StatelessWidget {
|
||||
child: Text(
|
||||
'#${tag.name ?? ''}',
|
||||
maxLines: 1,
|
||||
style: const TextStyle(color: Color(0xFF999999), fontSize: 12),
|
||||
style:
|
||||
const TextStyle(color: Color(0xFF999999), fontSize: 12),
|
||||
),
|
||||
),
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user