From e86e19e5e5909f46e09adec1df430e0214a81590 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期三, 18 十月 2023 18:34:19 +0800 Subject: [PATCH] 修复BUG --- WanPai/Root/Games/VC/GamesDataSourceVC.swift | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WanPai/Root/Games/VC/GamesDataSourceVC.swift b/WanPai/Root/Games/VC/GamesDataSourceVC.swift index 777513a..5d11af1 100644 --- a/WanPai/Root/Games/VC/GamesDataSourceVC.swift +++ b/WanPai/Root/Games/VC/GamesDataSourceVC.swift @@ -19,7 +19,7 @@ pageMenu.setTrackerHeight(3, cornerRadius: 1.5) pageMenu.tracker.backgroundColor = Def_ThemeColor pageMenu.trackerFollowingMode = .always - pageMenu.contentInset = UIEdgeInsets(top: 0, left: 14, bottom: 0, right: 14) + pageMenu.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) // 分割线 pageMenu.dividingLine.backgroundColor = .clear @@ -28,7 +28,8 @@ // item pageMenu.spacing = 20.0 pageMenu.permutationWay = .notScrollEqualWidths - pageMenu.setItems(["单机游戏","跨城赛","90°准度赛"], selectedItemIndex: 0) +// pageMenu.setItems(["单机游戏","跨城赛","90°准度赛"], selectedItemIndex: 0) + pageMenu.setItems(["单机游戏"], selectedItemIndex: 0) // 字体 pageMenu.selectedItemTitleFont = UIFont.systemFont(ofSize: 14, weight: .semibold) -- Gitblit v1.7.1