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
aad79ca9
Commit
aad79ca9
authored
Apr 16, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人中心
parent
771a085a
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
227 additions
and
8 deletions
+227
-8
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+24
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Assets.xcassets/字体色/个人中心灰色字体.colorset/Contents.json
...tform/Assets.xcassets/字体色/个人中心灰色字体.colorset/Contents.json
+21
-0
GeliBusinessPlatform/BaseView/BaseViewController.swift
GeliBusinessPlatform/BaseView/BaseViewController.swift
+1
-0
GeliBusinessPlatform/BaseView/NavViewController.swift
GeliBusinessPlatform/BaseView/NavViewController.swift
+3
-2
GeliBusinessPlatform/SceneDelegate.swift
GeliBusinessPlatform/SceneDelegate.swift
+2
-1
GeliBusinessPlatform/ViewController/个人中心/PersonCenterCell.swift
...sinessPlatform/ViewController/个人中心/PersonCenterCell.swift
+26
-0
GeliBusinessPlatform/ViewController/个人中心/PersonCenterCell.xib
...BusinessPlatform/ViewController/个人中心/PersonCenterCell.xib
+69
-0
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.swift
...form/ViewController/个人中心/PersonCenterViewController.swift
+80
-0
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.xib
...atform/ViewController/个人中心/PersonCenterViewController.xib
+0
-0
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
...latform/ViewController/消息中心/MsgCenterViewController.swift
+0
-4
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
...inessPlatform/ViewController/登录/LoginViewController.swift
+1
-1
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
aad79ca9
...
...
@@ -47,6 +47,10 @@
E0D197C02448431C002B080C
/* BabyCentralManager.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197B52448431C002B080C
/* BabyCentralManager.m */
;
};
E0D197C12448431C002B080C
/* BabyToy.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197B82448431C002B080C
/* BabyToy.m */
;
};
E0D197C22448431C002B080C
/* BabyRhythm.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197B92448431C002B080C
/* BabyRhythm.m */
;
};
E0D197C6244845FD002B080C
/* PersonCenterViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197C4244845FD002B080C
/* PersonCenterViewController.swift */
;
};
E0D197C7244845FD002B080C
/* PersonCenterViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197C5244845FD002B080C
/* PersonCenterViewController.xib */
;
};
E0D197CA24484D90002B080C
/* PersonCenterCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197C824484D90002B080C
/* PersonCenterCell.swift */
;
};
E0D197CB24484D90002B080C
/* PersonCenterCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D197C924484D90002B080C
/* PersonCenterCell.xib */
;
};
E0D4165F24482AAF008DCAB4
/* AccountViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D4165D24482AAF008DCAB4
/* AccountViewController.swift */
;
};
E0D4166024482AAF008DCAB4
/* AccountViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D4165E24482AAF008DCAB4
/* AccountViewController.xib */
;
};
E0D4166424483058008DCAB4
/* ChangePassViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D4166224483058008DCAB4
/* ChangePassViewController.swift */
;
};
...
...
@@ -129,6 +133,10 @@
E0D197B72448431C002B080C
/* BabySpeaker.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BabySpeaker.h
;
sourceTree
=
"<group>"
;
};
E0D197B82448431C002B080C
/* BabyToy.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BabyToy.m
;
sourceTree
=
"<group>"
;
};
E0D197B92448431C002B080C
/* BabyRhythm.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BabyRhythm.m
;
sourceTree
=
"<group>"
;
};
E0D197C4244845FD002B080C
/* PersonCenterViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PersonCenterViewController.swift
;
sourceTree
=
"<group>"
;
};
E0D197C5244845FD002B080C
/* PersonCenterViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
PersonCenterViewController.xib
;
sourceTree
=
"<group>"
;
};
E0D197C824484D90002B080C
/* PersonCenterCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PersonCenterCell.swift
;
sourceTree
=
"<group>"
;
};
E0D197C924484D90002B080C
/* PersonCenterCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
PersonCenterCell.xib
;
sourceTree
=
"<group>"
;
};
E0D4165D24482AAF008DCAB4
/* AccountViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AccountViewController.swift
;
sourceTree
=
"<group>"
;
};
E0D4165E24482AAF008DCAB4
/* AccountViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
AccountViewController.xib
;
sourceTree
=
"<group>"
;
};
E0D4166224483058008DCAB4
/* ChangePassViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ChangePassViewController.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -349,6 +357,7 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
children
=
(
E0D197C3244845E3002B080C
/* 个人中心 */
,
E0D4166124483045008DCAB4
/* 修改密码 */
,
E0D4165C24482A7D008DCAB4
/* 账号信息 */
,
E0516F792448066300E373CE
/* 消息中心 */
,
...
...
@@ -419,6 +428,17 @@
path
=
"蓝牙"
;
sourceTree
=
"<group>"
;
};
E0D197C3244845E3002B080C
/* 个人中心 */
=
{
isa
=
PBXGroup
;
children
=
(
E0D197C4244845FD002B080C
/* PersonCenterViewController.swift */
,
E0D197C5244845FD002B080C
/* PersonCenterViewController.xib */
,
E0D197C824484D90002B080C
/* PersonCenterCell.swift */
,
E0D197C924484D90002B080C
/* PersonCenterCell.xib */
,
);
path
=
"个人中心"
;
sourceTree
=
"<group>"
;
};
E0D4165C24482A7D008DCAB4
/* 账号信息 */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -547,9 +567,11 @@
E0516F832448086700E373CE
/* MsgCenterCell.xib in Resources */
,
E09B03B72445B85A00211A51
/* LoginViewController.xib in Resources */
,
E09B03C12445B96500211A51
/* FgPassViewController.xib in Resources */
,
E0D197C7244845FD002B080C
/* PersonCenterViewController.xib in Resources */
,
E01C26B72446AF3100ADCC70
/* DemoViewController.xib in Resources */
,
E0516F782448003D00E373CE
/* PayViewController.xib in Resources */
,
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
,
E0D197CB24484D90002B080C
/* PersonCenterCell.xib in Resources */
,
E00D85EB244561FE00F5F816
/* LaunchScreen.storyboard in Resources */
,
E0D4166024482AAF008DCAB4
/* AccountViewController.xib in Resources */
,
E01C26B12446989700ADCC70
/* Interface_Z.plist in Resources */
,
...
...
@@ -636,8 +658,10 @@
E0D197BD2448431C002B080C
/* BabySpeaker.m in Sources */
,
E00D85E1244561FD00F5F816
/* SceneDelegate.swift in Sources */
,
E09B03A12445AF7100211A51
/* Define.swift in Sources */
,
E0D197CA24484D90002B080C
/* PersonCenterCell.swift in Sources */
,
E09B03A82445B04E00211A51
/* BaseView.swift in Sources */
,
E09B03C02445B96500211A51
/* FgPassViewController.swift in Sources */
,
E0D197C6244845FD002B080C
/* PersonCenterViewController.swift in Sources */
,
E09B03AB2445B0A300211A51
/* LoginModel.swift in Sources */
,
E0D197BE2448431C002B080C
/* BabyOptions.m in Sources */
,
E0D197C22448431C002B080C
/* BabyRhythm.m in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
aad79ca9
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/字体色/个人中心灰色字体.colorset/Contents.json
0 → 100644
View file @
aad79ca9
{
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
},
"colors"
:
[
{
"idiom"
:
"universal"
,
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"red"
:
"0.396"
,
"alpha"
:
"1.000"
,
"blue"
:
"0.396"
,
"green"
:
"0.396"
}
}
}
]
}
\ No newline at end of file
GeliBusinessPlatform/BaseView/BaseViewController.swift
View file @
aad79ca9
...
...
@@ -23,6 +23,7 @@ class BaseViewController: UIViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
if
IsOldIos
()
{
self
.
automaticallyAdjustsScrollViewInsets
=
false
;
}
...
...
GeliBusinessPlatform/BaseView/NavViewController.swift
View file @
aad79ca9
...
...
@@ -15,8 +15,9 @@ class NavViewController: UINavigationController {
self
.
navigationController
?
.
navigationBar
.
tintColor
=
UIColor
(
named
:
"主色调"
)
UIBarButtonItem
.
appearance
()
.
setBackButtonTitlePositionAdjustment
(
UIOffset
(
horizontal
:
-
2000
,
vertical
:
0
),
for
:
UIBarMetrics
.
default
)
//去掉返回图片后面的文字
}
override
var
preferredStatusBarStyle
:
UIStatusBarStyle
{
return
UIStatusBarStyle
.
lightContent
}
// override func viewDidLayoutSubviews() {
// super.viewDidLayoutSubviews()
...
...
GeliBusinessPlatform/SceneDelegate.swift
View file @
aad79ca9
...
...
@@ -22,6 +22,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
// Create the SwiftUI view that provides the window contents.
let
contentView
=
LoginViewController
()
// Use a UIHostingController as window root view controller.
if
let
windowScene
=
scene
as?
UIWindowScene
{
let
window
=
UIWindow
(
windowScene
:
windowScene
)
...
...
GeliBusinessPlatform/ViewController/个人中心/PersonCenterCell.swift
0 → 100644
View file @
aad79ca9
//
// PersonCenterCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/16.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
PersonCenterCell
:
UITableViewCell
{
@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/个人中心/PersonCenterCell.xib
0 → 100644
View file @
aad79ca9
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"15702"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"15704"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<tableViewCell
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
id=
"KGk-i7-Jjw"
customClass=
"PersonCenterCell"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"KGk-i7-Jjw"
id=
"H2p-sc-9uM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"S2b-Xn-LyD"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"360"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"aD2-Df-mLu"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Til-B7-hcz"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"360"
height=
"49"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"jinru"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"vKJ-Fp-ACU"
>
<rect
key=
"frame"
x=
"353"
y=
"21"
width=
"7"
height=
"7"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"7"
id=
"6dp-c6-A0b"
/>
<constraint
firstAttribute=
"height"
constant=
"7"
id=
"Vre-gs-ydB"
/>
</constraints>
</imageView>
</subviews>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"vKJ-Fp-ACU"
secondAttribute=
"trailing"
constant=
"15"
id=
"0rT-l5-ttB"
/>
<constraint
firstItem=
"Til-B7-hcz"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"7H1-9D-7gb"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"S2b-Xn-LyD"
secondAttribute=
"trailing"
id=
"HOO-OY-7gP"
/>
<constraint
firstItem=
"S2b-Xn-LyD"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"OVv-wO-fUC"
/>
<constraint
firstItem=
"Til-B7-hcz"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"Pt4-HX-3yw"
/>
<constraint
firstItem=
"vKJ-Fp-ACU"
firstAttribute=
"centerY"
secondItem=
"Til-B7-hcz"
secondAttribute=
"centerY"
id=
"bKb-kI-U02"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"S2b-Xn-LyD"
secondAttribute=
"bottom"
id=
"dql-i2-0iM"
/>
<constraint
firstItem=
"S2b-Xn-LyD"
firstAttribute=
"top"
secondItem=
"Til-B7-hcz"
secondAttribute=
"bottom"
id=
"kuV-8Y-pOI"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Til-B7-hcz"
secondAttribute=
"trailing"
id=
"uFb-2R-JmN"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"titleLbl"
destination=
"Til-B7-hcz"
id=
"dBR-zb-pVr"
/>
</connections>
<point
key=
"canvasLocation"
x=
"133"
y=
"111"
/>
</tableViewCell>
</objects>
<resources>
<image
name=
"jinru"
width=
"13"
height=
"23"
/>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92900002002716064"
green=
"0.92900002002716064"
blue=
"0.92900002002716064"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.swift
0 → 100644
View file @
aad79ca9
//
// PersonCenterViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/16.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
PersonCenterViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
@IBOutlet
weak
var
shopNameLbl
:
UILabel
!
@IBOutlet
weak
var
iconImg
:
UIImageView
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
@IBOutlet
weak
var
topBgImg
:
UIImageView
!
@IBOutlet
weak
var
topImgBg
:
UIImageView
!
@IBOutlet
weak
var
listView
:
UITableView
!
let
listArray
=
[
"格利支付"
,
"蓝牙打印设置"
,
"权限设置"
]
//MARK: -方法
@IBAction
func
editAction
(
_
sender
:
Any
)
{
print
(
"编辑资料"
)
}
@IBAction
func
toMsgCenterAction
(
_
sender
:
Any
)
{
print
(
"跳转消息中心"
)
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
let
glscale
=
UIScreen
.
main
.
bounds
.
size
.
width
/
375
topImgBg
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
227*
glscale
)
}
topBgImg
.
snp
.
makeConstraints
{
(
make
)
in
make
.
bottom
.
equalTo
(
topImgBg
.
snp_top
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
60
)
}
listView
.
delegate
=
self
listView
.
dataSource
=
self
listView
.
isScrollEnabled
=
false
listView
.
separatorStyle
=
.
none
listView
?
.
register
(
UINib
(
nibName
:
"PersonCenterCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"listCell"
)
// Do any additional setup after loading the view.
/*
自适应字体大小后重新编辑背景框
shopNameLbl.text = "123"
shopNameLbl.sizeToFit()
shopNameLbl.snp.makeConstraints { (make) in
make.left.equalTo(nameLbl.snp_left)
make.top.equalTo(nameLbl.snp_bottom).offset(10)
make.width.equalTo(shopNameLbl.frame.size.width+8)
make.height.equalTo(20)
}
*/
}
//MARK: -Cell delegate方法
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
print
(
indexPath
.
row
)
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
50
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
listArray
.
count
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
var
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"listCell"
)
as!
PersonCenterCell
cell
.
titleLbl
.
text
=
listArray
[
indexPath
.
row
]
return
cell
}
}
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.xib
0 → 100644
View file @
aad79ca9
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
View file @
aad79ca9
...
...
@@ -38,12 +38,8 @@ class MsgCenterViewController: BaseViewController,NavBarViewDelegate,UITableView
msgTbv
?
.
register
(
UINib
(
nibName
:
"MsgCenterCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"MsgCenterCell"
)
}
//MARK: -delegate方法
func
backAction
()
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
...
...
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
View file @
aad79ca9
...
...
@@ -27,7 +27,7 @@ self.navigationController?.pushViewController(vc, animated: true)
@IBAction
func
loginAction
(
_
sender
:
Any
)
{
print
(
"loginAction"
)
let
vc
=
ChangePass
ViewController
()
let
vc
=
PersonCenter
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
//MARK: - 输入账号、密码、验证码
...
...
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