Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
4093b68e
Commit
4093b68e
authored
Apr 16, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息中心
parent
02228840
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
152 additions
and
6 deletions
+152
-6
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+20
-0
GeliBusinessPlatform.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
...ta/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
+1
-1
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Assets.xcassets/字体色/灰色字体颜色.colorset/Contents.json
...latform/Assets.xcassets/字体色/灰色字体颜色.colorset/Contents.json
+21
-0
GeliBusinessPlatform/DEMO/DemoViewController.xib
GeliBusinessPlatform/DEMO/DemoViewController.xib
+1
-1
GeliBusinessPlatform/ViewController/消息中心/MsgCenterCell.swift
GeliBusinessPlatform/ViewController/消息中心/MsgCenterCell.swift
+28
-0
GeliBusinessPlatform/ViewController/消息中心/MsgCenterCell.xib
GeliBusinessPlatform/ViewController/消息中心/MsgCenterCell.xib
+0
-0
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
...latform/ViewController/消息中心/MsgCenterViewController.swift
+79
-0
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
...inessPlatform/ViewController/登录/LoginViewController.swift
+1
-3
Pods/Pods.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
...ta/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
+1
-1
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
4093b68e
...
@@ -20,6 +20,9 @@
...
@@ -20,6 +20,9 @@
E01C26B72446AF3100ADCC70
/* DemoViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01C26B52446AF3100ADCC70
/* DemoViewController.xib */
;
};
E01C26B72446AF3100ADCC70
/* DemoViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01C26B52446AF3100ADCC70
/* DemoViewController.xib */
;
};
E0516F772448003D00E373CE
/* PayViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F752448003D00E373CE
/* PayViewController.swift */
;
};
E0516F772448003D00E373CE
/* PayViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F752448003D00E373CE
/* PayViewController.swift */
;
};
E0516F782448003D00E373CE
/* PayViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F762448003D00E373CE
/* PayViewController.xib */
;
};
E0516F782448003D00E373CE
/* PayViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F762448003D00E373CE
/* PayViewController.xib */
;
};
E0516F7F244806C500E373CE
/* MsgCenterViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F7E244806C500E373CE
/* MsgCenterViewController.swift */
;
};
E0516F822448086700E373CE
/* MsgCenterCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F802448086700E373CE
/* MsgCenterCell.swift */
;
};
E0516F832448086700E373CE
/* MsgCenterCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F812448086700E373CE
/* MsgCenterCell.xib */
;
};
E088CC8D24470BF0000DAA8A
/* CodeView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC8C24470BF0000DAA8A
/* CodeView.swift */
;
};
E088CC8D24470BF0000DAA8A
/* CodeView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC8C24470BF0000DAA8A
/* CodeView.swift */
;
};
E088CC932447124D000DAA8A
/* BindViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC912447124D000DAA8A
/* BindViewController.swift */
;
};
E088CC932447124D000DAA8A
/* BindViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC912447124D000DAA8A
/* BindViewController.swift */
;
};
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC922447124D000DAA8A
/* BindViewController.xib */
;
};
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC922447124D000DAA8A
/* BindViewController.xib */
;
};
...
@@ -77,6 +80,9 @@
...
@@ -77,6 +80,9 @@
E01C26BA2446D68500ADCC70
/* Bridge_Header.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
Bridge_Header.h
;
sourceTree
=
"<group>"
;
};
E01C26BA2446D68500ADCC70
/* Bridge_Header.h */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
Bridge_Header.h
;
sourceTree
=
"<group>"
;
};
E0516F752448003D00E373CE
/* PayViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PayViewController.swift
;
sourceTree
=
"<group>"
;
};
E0516F752448003D00E373CE
/* PayViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PayViewController.swift
;
sourceTree
=
"<group>"
;
};
E0516F762448003D00E373CE
/* PayViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
PayViewController.xib
;
sourceTree
=
"<group>"
;
};
E0516F762448003D00E373CE
/* PayViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
PayViewController.xib
;
sourceTree
=
"<group>"
;
};
E0516F7E244806C500E373CE
/* MsgCenterViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MsgCenterViewController.swift
;
sourceTree
=
"<group>"
;
};
E0516F802448086700E373CE
/* MsgCenterCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MsgCenterCell.swift
;
sourceTree
=
"<group>"
;
};
E0516F812448086700E373CE
/* MsgCenterCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
MsgCenterCell.xib
;
sourceTree
=
"<group>"
;
};
E088CC8C24470BF0000DAA8A
/* CodeView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CodeView.swift
;
sourceTree
=
"<group>"
;
};
E088CC8C24470BF0000DAA8A
/* CodeView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CodeView.swift
;
sourceTree
=
"<group>"
;
};
E088CC912447124D000DAA8A
/* BindViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
BindViewController.swift
;
sourceTree
=
"<group>"
;
};
E088CC912447124D000DAA8A
/* BindViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
BindViewController.swift
;
sourceTree
=
"<group>"
;
};
E088CC922447124D000DAA8A
/* BindViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
BindViewController.xib
;
sourceTree
=
"<group>"
;
};
E088CC922447124D000DAA8A
/* BindViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
BindViewController.xib
;
sourceTree
=
"<group>"
;
};
...
@@ -223,6 +229,16 @@
...
@@ -223,6 +229,16 @@
path
=
"支付账号(设置,修改)"
;
path
=
"支付账号(设置,修改)"
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
E0516F792448066300E373CE
/* 消息中心 */
=
{
isa
=
PBXGroup
;
children
=
(
E0516F7E244806C500E373CE
/* MsgCenterViewController.swift */
,
E0516F802448086700E373CE
/* MsgCenterCell.swift */
,
E0516F812448086700E373CE
/* MsgCenterCell.xib */
,
);
path
=
"消息中心"
;
sourceTree
=
"<group>"
;
};
E088CC882446FFA1000DAA8A
/* Other */
=
{
E088CC882446FFA1000DAA8A
/* Other */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -297,6 +313,7 @@
...
@@ -297,6 +313,7 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
E0516F792448066300E373CE
/* 消息中心 */
,
E0516F742448000F00E373CE
/* 支付账号(设置,修改) */
,
E0516F742448000F00E373CE
/* 支付账号(设置,修改) */
,
E088CC8E24470F84000DAA8A
/* 换绑支付账号(绑定,换绑) */
,
E088CC8E24470F84000DAA8A
/* 换绑支付账号(绑定,换绑) */
,
E09B03BD2445B95000211A51
/* 忘记密码 */
,
E09B03BD2445B95000211A51
/* 忘记密码 */
,
...
@@ -445,6 +462,7 @@
...
@@ -445,6 +462,7 @@
isa
=
PBXResourcesBuildPhase
;
isa
=
PBXResourcesBuildPhase
;
buildActionMask
=
2147483647
;
buildActionMask
=
2147483647
;
files
=
(
files
=
(
E0516F832448086700E373CE
/* MsgCenterCell.xib in Resources */
,
E09B03B72445B85A00211A51
/* LoginViewController.xib in Resources */
,
E09B03B72445B85A00211A51
/* LoginViewController.xib in Resources */
,
E09B03C12445B96500211A51
/* FgPassViewController.xib in Resources */
,
E09B03C12445B96500211A51
/* FgPassViewController.xib in Resources */
,
E01C26B72446AF3100ADCC70
/* DemoViewController.xib in Resources */
,
E01C26B72446AF3100ADCC70
/* DemoViewController.xib in Resources */
,
...
@@ -523,6 +541,8 @@
...
@@ -523,6 +541,8 @@
E09B03B62445B85A00211A51
/* LoginViewController.swift in Sources */
,
E09B03B62445B85A00211A51
/* LoginViewController.swift in Sources */
,
E09B03C32445BD9500211A51
/* NavViewController.swift in Sources */
,
E09B03C32445BD9500211A51
/* NavViewController.swift in Sources */
,
E00D85DF244561FD00F5F816
/* AppDelegate.swift in Sources */
,
E00D85DF244561FD00F5F816
/* AppDelegate.swift in Sources */
,
E0516F7F244806C500E373CE
/* MsgCenterViewController.swift in Sources */
,
E0516F822448086700E373CE
/* MsgCenterCell.swift in Sources */
,
E09B03C62445BF6700211A51
/* NavBarView.swift in Sources */
,
E09B03C62445BF6700211A51
/* NavBarView.swift in Sources */
,
E00D85E1244561FD00F5F816
/* SceneDelegate.swift in Sources */
,
E00D85E1244561FD00F5F816
/* SceneDelegate.swift in Sources */
,
E09B03A12445AF7100211A51
/* Define.swift in Sources */
,
E09B03A12445AF7100211A51
/* Define.swift in Sources */
,
...
...
GeliBusinessPlatform.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
4093b68e
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<key>
GeliBusinessPlatform.xcscheme_^#shared#^_
</key>
<key>
GeliBusinessPlatform.xcscheme_^#shared#^_
</key>
<dict>
<dict>
<key>
orderHint
</key>
<key>
orderHint
</key>
<integer>
2
2
</integer>
<integer>
2
3
</integer>
</dict>
</dict>
</dict>
</dict>
</dict>
</dict>
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
4093b68e
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/字体色/灰色字体颜色.colorset/Contents.json
0 → 100644
View file @
4093b68e
{
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
},
"colors"
:
[
{
"idiom"
:
"universal"
,
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"red"
:
"0.600"
,
"alpha"
:
"1.000"
,
"blue"
:
"0.600"
,
"green"
:
"0.600"
}
}
}
]
}
\ No newline at end of file
GeliBusinessPlatform/DEMO/DemoViewController.xib
View file @
4093b68e
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
<color
red=
"0.85100001096725464"
green=
"0.19599999487400055"
blue=
"0.29699999094009399"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.85100001096725464"
green=
"0.19599999487400055"
blue=
"0.29699999094009399"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.
51700001955032349"
green=
"1"
blue=
"1
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.
18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</namedColor>
</resources>
</resources>
</document>
</document>
GeliBusinessPlatform/ViewController/消息中心/MsgCenterCell.swift
0 → 100644
View file @
4093b68e
//
// MsgCenterCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/16.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
MsgCenterCell
:
UITableViewCell
{
@IBOutlet
weak
var
dateLbl
:
UILabel
!
@IBOutlet
weak
var
contentLbl
:
UILabel
!
@IBOutlet
weak
var
titleLbl
:
UILabel
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
// Initialization code
self
.
selectionStyle
=
.
none
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
GeliBusinessPlatform/ViewController/消息中心/MsgCenterCell.xib
0 → 100644
View file @
4093b68e
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
0 → 100644
View file @
4093b68e
//
// MsgCenterViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/16.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
import
ViewAnimator
class
MsgCenterViewController
:
BaseViewController
,
NavBarViewDelegate
,
UITableViewDelegate
,
UITableViewDataSource
{
//MARK: -animateView
private
let
animations
=
AnimationType
.
from
(
direction
:
.
bottom
,
offset
:
30.0
)
var
msgTbv
:
UITableView
?
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
let
navbar
=
NavBarView
(
frame
:
NavCGRect
)
navbar
.
title
=
"消息中心"
navbar
.
deleagte
=
self
self
.
view
.
addSubview
(
navbar
)
// Do any additional setup after loading the view.
msgTbv
=
UITableView
()
msgTbv
?
.
backgroundColor
=
UIColor
(
named
:
"app底色"
)
msgTbv
?
.
delegate
=
self
msgTbv
?
.
separatorStyle
=
.
none
msgTbv
?
.
dataSource
=
self
self
.
view
.
addSubview
(
msgTbv
!
)
msgTbv
?
.
snp
.
makeConstraints
({
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
bottom
.
equalTo
(
0
)
})
msgTbv
?
.
register
(
UINib
(
nibName
:
"MsgCenterCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"MsgCenterCell"
)
}
//MARK: -delegate方法
func
backAction
()
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
//tabelviewcell进场动画
// UIView.animate(views: msgTbv!.visibleCells, animations:[animations], reversed: false,
// initialAlpha: 0, finalAlpha: 1.0, completion: {
// self.msgTbv!.reloadData()
// })
}
//MARK: -Cell delegate方法
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
120
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
10
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"MsgCenterCell"
)
as!
MsgCenterCell
cell
.
titleLbl
.
showSkeleton
(
transition
:
.
crossDissolve
(
0.25
))
cell
.
dateLbl
.
showSkeleton
(
transition
:
.
crossDissolve
(
0.25
))
cell
.
contentLbl
.
showSkeleton
(
transition
:
.
crossDissolve
(
0.25
))
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
4
)
{
cell
.
titleLbl
.
hideSkeleton
(
reloadDataAfter
:
true
,
transition
:
.
crossDissolve
(
0.25
))
cell
.
dateLbl
.
hideSkeleton
(
reloadDataAfter
:
true
,
transition
:
.
crossDissolve
(
0.25
))
cell
.
contentLbl
.
hideSkeleton
(
reloadDataAfter
:
true
,
transition
:
.
crossDissolve
(
0.25
))
}
return
cell
}
}
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
View file @
4093b68e
...
@@ -27,14 +27,12 @@ self.navigationController?.pushViewController(vc, animated: true)
...
@@ -27,14 +27,12 @@ self.navigationController?.pushViewController(vc, animated: true)
@IBAction
func
loginAction
(
_
sender
:
Any
)
{
@IBAction
func
loginAction
(
_
sender
:
Any
)
{
print
(
"loginAction"
)
print
(
"loginAction"
)
let
vc
=
Pay
ViewController
()
let
vc
=
MsgCenter
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
//MARK: - 输入账号、密码、验证码
//MARK: - 输入账号、密码、验证码
@IBOutlet
weak
var
codeView
:
UIView
!
@IBOutlet
weak
var
codeView
:
UIView
!
@IBOutlet
weak
var
phoneTF
:
UITextField
!
@IBOutlet
weak
var
phoneTF
:
UITextField
!
@IBOutlet
weak
var
passTF
:
UITextField
!
@IBOutlet
weak
var
passTF
:
UITextField
!
@IBOutlet
weak
var
codeTF
:
UITextField
!
@IBOutlet
weak
var
codeTF
:
UITextField
!
//MARK: - viewWillAppear
//MARK: - viewWillAppear
...
...
Pods/Pods.xcodeproj/xcuserdata/junyelu.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
4093b68e
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
<key>
SVProgressHUD.xcscheme_^#shared#^_
</key>
<key>
SVProgressHUD.xcscheme_^#shared#^_
</key>
<dict>
<dict>
<key>
orderHint
</key>
<key>
orderHint
</key>
<integer>
2
3
</integer>
<integer>
2
2
</integer>
</dict>
</dict>
<key>
SkeletonView.xcscheme
</key>
<key>
SkeletonView.xcscheme
</key>
<dict>
<dict>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment