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
e7ae0600
Commit
e7ae0600
authored
Apr 27, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人中心首页+账号信息接口对接完成
parent
04ae3556
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
13 deletions
+34
-13
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.swift
...form/ViewController/个人中心/PersonCenterViewController.swift
+13
-3
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.xib
...atform/ViewController/个人中心/PersonCenterViewController.xib
+19
-8
GeliBusinessPlatform/ViewController/商品管理/GoodsManageListVC.xib
...usinessPlatform/ViewController/商品管理/GoodsManageListVC.xib
+2
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
e7ae0600
No preview for this file type
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.swift
View file @
e7ae0600
...
...
@@ -16,12 +16,22 @@ class PersonCenterViewController: BaseViewController,UITableViewDelegate,UITable
@IBOutlet
weak
var
topBgImg
:
UIImageView
!
@IBOutlet
weak
var
topImgBg
:
UIImageView
!
@IBOutlet
weak
var
listView
:
UITableView
!
var
dataModel
:
AdminInfoModel
?
=
nil
let
listArray
=
[
"格利支付"
,
"蓝牙打印设置"
,
"权限设置"
]
//MARK:--加载数据
func
loadData
(){
adminInfo
([
"user_token"
:
UserToken
],
success
:
{
(
data
)
in
self
.
dataModel
=
data
as!
AdminInfoModel
self
.
iconImg
.
kf
.
setImage
(
with
:
URL
(
string
:
SERVERCE_HOST
+
(
self
.
dataModel
?
.
data
?
.
shop_img
)
!
))
self
.
shopNameLbl
.
text
=
self
.
dataModel
?
.
data
?
.
stall_name
self
.
nameLbl
.
text
=
self
.
dataModel
?
.
data
?
.
admin_name
})
{
(
error
)
in
}
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
loadData
()
topImgBg
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
227*
glscale
)
...
...
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.xib
View file @
e7ae0600
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
5702
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
6096
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina4_7"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
5704
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
6086
"
/>
<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"
/>
...
...
@@ -78,13 +78,18 @@
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<
label
opaque=
"NO"
userInteractionEnabled=
"NO"
alpha=
"0.69999999999999996"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"省冷一区49档"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"1dW-Zl-K3m
"
>
<rect
key=
"frame"
x=
"
100"
y=
"107"
width=
"78.5"
height=
"20
"
/>
<
view
alpha=
"0.75"
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"L5q-yc-640
"
>
<rect
key=
"frame"
x=
"
95"
y=
"105"
width=
"80.5"
height=
"17.5
"
/>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"20"
id=
"d9r-4U-n3t"
/>
<constraint
firstAttribute=
"width"
constant=
"78.5"
id=
"xyl-cX-9SE"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"3"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"省冷一区49档"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"1dW-Zl-K3m"
>
<rect
key=
"frame"
x=
"100"
y=
"107"
width=
"70.5"
height=
"13.5"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"个人中心灰色字体"
/>
<nil
key=
"highlightedColor"
/>
...
...
@@ -143,6 +148,8 @@
<constraint
firstItem=
"fgk-Rc-0oD"
firstAttribute=
"top"
secondItem=
"XS7-um-ERL"
secondAttribute=
"bottom"
constant=
"80"
id=
"5Vq-dc-2PO"
/>
<constraint
firstItem=
"XS7-um-ERL"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"5dt-Rh-U95"
/>
<constraint
firstItem=
"DwS-q4-jGe"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
constant=
"15"
id=
"7sM-zc-klQ"
/>
<constraint
firstItem=
"L5q-yc-640"
firstAttribute=
"bottom"
secondItem=
"1dW-Zl-K3m"
secondAttribute=
"bottom"
constant=
"2"
id=
"9hY-dh-120"
/>
<constraint
firstItem=
"L5q-yc-640"
firstAttribute=
"top"
secondItem=
"1dW-Zl-K3m"
secondAttribute=
"top"
constant=
"-2"
id=
"E1O-zB-HgF"
/>
<constraint
firstItem=
"1dW-Zl-K3m"
firstAttribute=
"leading"
secondItem=
"fgk-Rc-0oD"
secondAttribute=
"leading"
id=
"EIK-Gd-lLv"
/>
<constraint
firstItem=
"FHK-Ns-Jbj"
firstAttribute=
"centerY"
secondItem=
"DwS-q4-jGe"
secondAttribute=
"centerY"
id=
"JK4-XS-vBE"
/>
<constraint
firstItem=
"fgk-Rc-0oD"
firstAttribute=
"leading"
secondItem=
"DwS-q4-jGe"
secondAttribute=
"trailing"
constant=
"10"
id=
"K68-Yb-HVk"
/>
...
...
@@ -154,15 +161,19 @@
<constraint
firstItem=
"DwS-q4-jGe"
firstAttribute=
"top"
secondItem=
"XS7-um-ERL"
secondAttribute=
"bottom"
constant=
"70"
id=
"VTx-E9-roD"
/>
<constraint
firstItem=
"rVJ-yV-KJf"
firstAttribute=
"leading"
secondItem=
"fgk-Rc-0oD"
secondAttribute=
"trailing"
constant=
"15"
id=
"Vr2-ou-tfd"
/>
<constraint
firstItem=
"rVJ-yV-KJf"
firstAttribute=
"trailing"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"trailing"
id=
"WsU-SM-AkY"
/>
<constraint
firstItem=
"L5q-yc-640"
firstAttribute=
"leading"
secondItem=
"1dW-Zl-K3m"
secondAttribute=
"leading"
constant=
"-5"
id=
"ZUA-Dl-gzJ"
/>
<constraint
firstItem=
"1dW-Zl-K3m"
firstAttribute=
"leading"
secondItem=
"DwS-q4-jGe"
secondAttribute=
"trailing"
constant=
"10"
id=
"bgX-1r-ER4"
/>
<constraint
firstItem=
"g4L-Xg-xC1"
firstAttribute=
"leading"
secondItem=
"FHK-Ns-Jbj"
secondAttribute=
"trailing"
constant=
"9"
id=
"bjJ-fD-OXZ"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"HeU-V1-6DM"
secondAttribute=
"trailing"
id=
"gHU-E2-SuW"
/>
<constraint
firstItem=
"XS7-um-ERL"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
constant=
"-60"
id=
"hST-i2-ChZ"
/>
<constraint
firstItem=
"rVJ-yV-KJf"
firstAttribute=
"leading"
relation=
"greaterThanOrEqual"
secondItem=
"1dW-Zl-K3m"
secondAttribute=
"trailing"
constant=
"10"
id=
"kQU-x8-Upg"
/>
<constraint
firstItem=
"HeU-V1-6DM"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"mg9-jE-IY9"
/>
<constraint
firstItem=
"rVJ-yV-KJf"
firstAttribute=
"centerY"
secondItem=
"DwS-q4-jGe"
secondAttribute=
"centerY"
id=
"rBe-8F-ejm"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"5jU-Ew-dGr"
secondAttribute=
"trailing"
constant=
"15"
id=
"rzW-MO-fAP"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"cLg-xh-ou1"
secondAttribute=
"trailing"
constant=
"15"
id=
"sHN-S7-6ms"
/>
<constraint
firstItem=
"5jU-Ew-dGr"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
constant=
"15"
id=
"v0e-5c-etM"
/>
<constraint
firstItem=
"HeU-V1-6DM"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"vP5-n9-lJH"
/>
<constraint
firstItem=
"L5q-yc-640"
firstAttribute=
"trailing"
secondItem=
"1dW-Zl-K3m"
secondAttribute=
"trailing"
constant=
"5"
id=
"yMD-Gd-585"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"XS7-um-ERL"
secondAttribute=
"trailing"
id=
"zG1-1C-ytv"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
...
...
GeliBusinessPlatform/ViewController/商品管理/GoodsManageListVC.xib
View file @
e7ae0600
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
5702
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
6096
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina4_7"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
5704
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
6086
"
/>
<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"
/>
...
...
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