feat: Wbi sign

This commit is contained in:
guozhigq
2023-07-14 13:38:23 +08:00
parent 180ba11089
commit 8fd1efd8bf
12 changed files with 260 additions and 8 deletions

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pilipala/common/widgets/network_img_layer.dart';
Widget author(item, context) {
@ -7,9 +8,8 @@ Widget author(item, context) {
child: Row(
children: [
GestureDetector(
onTap: () {
print('个人主页');
},
onTap: () =>
Get.toNamed('/member?mid=${item.modules.moduleAuthor.mid}'),
child: NetworkImgLayer(
width: 40,
height: 40,

View File

@ -94,7 +94,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
clipBehavior: Clip.hardEdge,
decoration: BoxDecoration(
gradient: const LinearGradient(
begin: Alignment.center,
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: <Color>[
Colors.transparent,
@ -115,9 +115,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
color: Colors.white),
child: Row(
children: [
pBadge(content.durationText ?? '', context, null,
null, 0, 0,
type: 'gray'),
Text(content.durationText ?? ''),
if (content.durationText != null)
const SizedBox(width: 10),
Text(content.stat.play + '次围观'),