From 37ef937099adc1636a3a762d5ec94802206f1727 Mon Sep 17 00:00:00 2001 From: xxe Date: Mon, 31 Oct 2022 15:15:31 +0800 Subject: [PATCH] 2 --- HKCardOUT/Logic/Service/HKCore.cs | 2 +- HKCardOUT/Views/AdWindow.xaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HKCardOUT/Logic/Service/HKCore.cs b/HKCardOUT/Logic/Service/HKCore.cs index c1a6d2b..33e0d75 100644 --- a/HKCardOUT/Logic/Service/HKCore.cs +++ b/HKCardOUT/Logic/Service/HKCore.cs @@ -261,7 +261,7 @@ namespace HKCardOUT.Logic.Service .WhereIF(screen == 0, t => t.Location == "3" || t.Location == "4") .WhereIF(screen == 1, t => t.Location == "1" || t.Location == "2") .WhereIF(screen == 2, t => t.Location == "5" || t.Location == "6") - .OrderByDescending(t => t.CreateTime).ToPageList(0, 10); + .OrderByDescending(t => t.CreateTime).ToPageList(0, 6); return data; } } diff --git a/HKCardOUT/Views/AdWindow.xaml b/HKCardOUT/Views/AdWindow.xaml index ee89cdc..d33f859 100644 --- a/HKCardOUT/Views/AdWindow.xaml +++ b/HKCardOUT/Views/AdWindow.xaml @@ -10,10 +10,10 @@ d:DataContext="{d:DesignInstance Type=viewModels:AdWindowViewModel}" WindowStyle="None" mc:Ignorable="d"> - + - +