Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-30 12:49:30 +08:00
parent 133f45945c
commit e892411092
27 changed files with 617 additions and 780 deletions

View File

@@ -19,11 +19,9 @@ class MemberShopItem extends StatelessWidget {
final colorScheme = Theme.of(context).colorScheme;
final belowLabels = item.belowLabels?.map((e) => e.title).join('|');
return Card(
clipBehavior: Clip.hardEdge,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(6)),
),
shape: const RoundedRectangleBorder(borderRadius: .all(.circular(6))),
child: InkWell(
borderRadius: const .all(.circular(6)),
onTap: () {
if (item.cardUrl case final cardUrl?) {
Get.toNamed('/webview', parameters: {'url': cardUrl});
@@ -34,7 +32,7 @@ class MemberShopItem extends StatelessWidget {
children: [
LayoutBuilder(
builder: (context, constraints) => NetworkImgLayer(
type: .emote,
borderRadius: const .vertical(top: .circular(6)),
src: item.cover?.url,
width: constraints.maxWidth,
height: constraints.maxWidth,