Skip to content

Commit

Permalink
fixed some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Zrzzzz committed Dec 6, 2020
1 parent c2bbee4 commit 662a8ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions WePeiYang.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2470,7 +2470,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 202012032200;
CURRENT_PROJECT_VERSION = 202012061640;
DEVELOPMENT_TEAM = A4JNABY964;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = WePeiYangWidget/Info.plist;
Expand Down Expand Up @@ -2506,7 +2506,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 202012032200;
CURRENT_PROJECT_VERSION = 202012061640;
DEVELOPMENT_TEAM = A4JNABY964;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = WePeiYangWidget/Info.plist;
Expand Down Expand Up @@ -2647,7 +2647,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 202012032200;
CURRENT_PROJECT_VERSION = 202012061640;
DEVELOPMENT_TEAM = A4JNABY964;
INFOPLIST_FILE = WePeiYang/main/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
Expand Down Expand Up @@ -2676,7 +2676,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 202012032200;
CURRENT_PROJECT_VERSION = 202012061640;
DEVELOPMENT_TEAM = A4JNABY964;
INFOPLIST_FILE = WePeiYang/main/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ class AllModulesViewController: UIViewController {
(title: "课程表", image: UIImage(named: "classtableBtn")!, class: ClassTableViewController.self, needLogin: true),
// (title: "失物招领", image: UIImage(named: "lfBtn")!, class: LostFoundPageViewController.self, needLogin: false),
// (title: "自行车", image: UIImage(named: "bicycleBtn")!, class: BicycleServiceViewController.self, needLogin: true),
(title: "党建", image: UIImage(named: "partyBtn")!, class: PartyMainViewController.self, needLogin: true),
(title: "商城", image: UIImage(named: "mallBtn")!, class: MallViewController.self, needLogin: false),
// (title: "党建", image: UIImage(named: "partyBtn")!, class: PartyMainViewController.self, needLogin: true),
// (title: "商城", image: UIImage(named: "mallBtn")!, class: MallViewController.self, needLogin: false),
// (title: "阅读", image: UIImage(named: "readBtn")!, class: ReadViewController.self, needLogin: true),
(title: "黄页", image: UIImage(named: "yellowPageBtn")!, class: YellowPageMainViewController.self, needLogin: false),
// (title: "上网", image: UIImage(named: "networkBtn")!, class: WLANLoginViewController.self, needLogin: true),
// (title: "图书馆", image: UIImage(named: "libBtn")!, class: LibraryMainViewController.self, needLogin: true),
(title: "失物招领", image: UIImage(named: "lfBtn")!, class: LostFoundPageViewController.self, needLogin: true),
// (title: "失物招领", image: UIImage(named: "lfBtn")!, class: LostFoundPageViewController.self, needLogin: true),
// (title: "自习室查询", image: UIImage(named: "lfBtn")!, class: ClassroomCheckViewController.self, needLogin: true),
(title: "活动签到", image: UIImage(named: "6")!, class: CLibraryMainViewController.self, needLogin: true),
// (title: "活动签到", image: UIImage(named: "6")!, class: CLibraryMainViewController.self, needLogin: true),
(title: "校务专区", image: UIImage(named: "studysearchBtn")!, class: FeedBackMainViewController.self, needLogin: true)


Expand Down Expand Up @@ -124,7 +124,7 @@ extension AllModulesViewController: UICollectionViewDelegate, UICollectionViewDa

func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
// FIXME: 2020 9 5 some function need to be fixed
let faultIndexs:[Int] = [2,3,5,6] // [2, 3, 6]
let faultIndexs:[Int] = [] // [2, 3, 6]
guard !faultIndexs.contains(indexPath.row) else {
let title = "错误"
let message = "功能正在维护中"
Expand Down
1 change: 0 additions & 1 deletion WePeiYang/main/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<string>微北洋需要访问你的图库</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
Expand Down

0 comments on commit 662a8ec

Please sign in to comment.