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
4fd5405f
Commit
4fd5405f
authored
May 28, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
628 iOS:个人中心,补充头像占位图、当前用户账号。
parent
d224db7b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
38 additions
and
3 deletions
+38
-3
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+8
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/Contents.json
...atform/Assets.xcassets/信息中心/个人设置头像.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像.png
...sPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像@2x.png
...atform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像@3x.png
...atform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像@3x.png
+0
-0
GeliBusinessPlatform/Interface/Interface_Z.plist
GeliBusinessPlatform/Interface/Interface_Z.plist
+4
-0
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.swift
...form/ViewController/个人中心/PersonCenterViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.xib
...atform/ViewController/个人中心/PersonCenterViewController.xib
+2
-2
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
4fd5405f
...
@@ -1523,6 +1523,7 @@
...
@@ -1523,6 +1523,7 @@
E09B03A92445B09200211A51
/* Model */
=
{
E09B03A92445B09200211A51
/* Model */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
F95B8533247F47D800790719
/* Work */
,
E00D85DC244561FD00F5F816
/* Products */
,
E00D85DC244561FD00F5F816
/* Products */
,
E0B5308224728D5600FFCC15
/* WarehouseManageModel */
,
E0B5308224728D5600FFCC15
/* WarehouseManageModel */
,
F956D5BE246A3649003FF510
/* OrderManageModel */
,
F956D5BE246A3649003FF510
/* OrderManageModel */
,
...
@@ -2289,6 +2290,13 @@
...
@@ -2289,6 +2290,13 @@
path
=
"查看全部"
;
path
=
"查看全部"
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
F95B8533247F47D800790719
/* Work */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
Work
;
sourceTree
=
"<group>"
;
};
F95D9B4E24484F140080D6E3
/* AlertView */
=
{
F95D9B4E24484F140080D6E3
/* AlertView */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
4fd5405f
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/Contents.json
0 → 100644
View file @
4fd5405f
{
"images"
:
[
{
"filename"
:
"个人设置头像.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"个人设置头像@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"个人设置头像@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像.png
0 → 100644
View file @
4fd5405f
1.81 KB
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像@2x.png
0 → 100644
View file @
4fd5405f
3.3 KB
GeliBusinessPlatform/Assets.xcassets/信息中心/个人设置头像.imageset/个人设置头像@3x.png
0 → 100644
View file @
4fd5405f
5.44 KB
GeliBusinessPlatform/Interface/Interface_Z.plist
View file @
4fd5405f
...
@@ -90,5 +90,9 @@
...
@@ -90,5 +90,9 @@
<string>
Adminorder/editFtNumber
</string>
<string>
Adminorder/editFtNumber
</string>
<key>
提交下单
</key>
<key>
提交下单
</key>
<string>
Adminorder/addOrder
</string>
<string>
Adminorder/addOrder
</string>
<key>
获取统计、店铺二维码、待办事项信息
</key>
<string>
Workcenter/statistics
</string>
<key>
获取权限
</key>
<string>
Workcenter/auths
</string>
</dict>
</dict>
</plist>
</plist>
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.swift
View file @
4fd5405f
...
@@ -25,7 +25,7 @@ class PersonCenterViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -25,7 +25,7 @@ class PersonCenterViewController: BaseViewController,UITableViewDelegate,UITable
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
adminInfo
([
"user_token"
:
UserToken
as
Any
],
success
:
{
(
data
)
in
adminInfo
([
"user_token"
:
UserToken
as
Any
],
success
:
{
(
data
)
in
self
.
dataModel
=
(
data
as!
AdminInfoModel
)
self
.
dataModel
=
(
data
as!
AdminInfoModel
)
self
.
iconImg
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
(
self
.
dataModel
?
.
data
?
.
shop_img
)
!
))
self
.
iconImg
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
(
self
.
dataModel
?
.
data
?
.
shop_img
)
!
),
placeholderImage
:
UIImage
.
init
(
named
:
"个人设置头像"
))
self
.
shopNameLbl
.
text
=
self
.
dataModel
?
.
data
?
.
stall_name
self
.
shopNameLbl
.
text
=
self
.
dataModel
?
.
data
?
.
stall_name
self
.
nameLbl
.
text
=
self
.
dataModel
?
.
data
?
.
admin_name
self
.
nameLbl
.
text
=
self
.
dataModel
?
.
data
?
.
admin_name
})
{
(
error
)
in
})
{
(
error
)
in
...
...
GeliBusinessPlatform/ViewController/个人中心/PersonCenterViewController.xib
View file @
4fd5405f
<?xml version="1.0" encoding="UTF-8"?>
<?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
6097
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina4_7"
orientation=
"portrait"
appearance=
"light"
/>
<device
id=
"retina4_7"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
5704
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
6087
"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.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