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
ab5efc62
Commit
ab5efc62
authored
Sep 12, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化显示
parent
13457957
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Other/Web/WebViewController.swift
GeliBusinessPlatform/Other/Web/WebViewController.swift
+5
-3
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+3
-3
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
...m/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
+1
-1
GeliBusinessPlatform/ViewController/地址管理/XinZengDiZhiViewController.swift
...form/ViewController/地址管理/XinZengDiZhiViewController.swift
+0
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ab5efc62
No preview for this file type
GeliBusinessPlatform/Other/Web/WebViewController.swift
View file @
ab5efc62
...
@@ -24,11 +24,11 @@ class WebViewController: BaseViewController {
...
@@ -24,11 +24,11 @@ class WebViewController: BaseViewController {
}
}
var
urlStr
:
String
?
=
""
var
urlStr
:
String
?
=
""
var
isAddObserver
=
false
func
initInterface
()
->
()
{
func
initInterface
()
->
()
{
let
url
=
URL
(
string
:
urlStr
!
)
let
url
=
URL
(
string
:
urlStr
!
)
let
request
=
URLRequest
.
init
(
url
:
url
!
,
cachePolicy
:
.
reloadRevalidatingCacheData
,
timeoutInterval
:
10
)
let
request
=
URLRequest
.
init
(
url
:
url
!
,
cachePolicy
:
.
reloadRevalidatingCacheData
,
timeoutInterval
:
10
)
isAddObserver
=
true
wkWebView
.
navigationDelegate
=
self
wkWebView
.
navigationDelegate
=
self
wkWebView
.
load
(
request
)
wkWebView
.
load
(
request
)
self
.
view
.
addSubview
(
self
.
wkWebView
)
self
.
view
.
addSubview
(
self
.
wkWebView
)
...
@@ -50,7 +50,9 @@ class WebViewController: BaseViewController {
...
@@ -50,7 +50,9 @@ class WebViewController: BaseViewController {
}
}
deinit
{
deinit
{
print
(
"con is deinit"
)
print
(
"con is deinit"
)
wkWebView
.
removeObserver
(
self
,
forKeyPath
:
"estimatedProgress"
)
if
isAddObserver
{
wkWebView
.
removeObserver
(
self
,
forKeyPath
:
"estimatedProgress"
)
}
}
}
}
}
extension
WebViewController
:
WKNavigationDelegate
extension
WebViewController
:
WKNavigationDelegate
...
...
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
ab5efc62
...
@@ -430,7 +430,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -430,7 +430,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
make
.
right
.
equalTo
(
-
15
)
make
.
right
.
equalTo
(
-
15
)
make
.
bottom
.
equalTo
(
self
.
navbar
.
snp_bottom
)
.
offset
(
-
7
)
make
.
bottom
.
equalTo
(
self
.
navbar
.
snp_bottom
)
.
offset
(
-
7
)
make
.
height
.
equalTo
(
30
)
make
.
height
.
equalTo
(
30
)
make
.
width
.
equalTo
(
self
.
locBtn
.
bounds
.
size
.
width
)
make
.
width
.
equalTo
(
locBtn
.
bounds
.
size
.
width
)
})
})
if
adrArr
.
count
==
0
{
if
adrArr
.
count
==
0
{
...
@@ -731,7 +731,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -731,7 +731,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
vc
.
urlStr
=
logPayPriceModel
!.
kjxy_jd
vc
.
urlStr
=
logPayPriceModel
!.
kjxy_jd
}
else
if
index
==
1
{
}
else
if
index
==
1
{
print
(
"顺丰快件服务协议"
)
print
(
"顺丰快件服务协议"
)
if
logPayPriceModel
!.
kjxy_sf
?
.
count
==
0
{
if
logPayPriceModel
!.
kjxy_sf
?
.
count
==
0
||
logPayPriceModel
!.
kjxy_sf
==
nil
{
HUD
.
flash
(
.
label
(
"暂无相关链接"
),
delay
:
1.2
)
HUD
.
flash
(
.
label
(
"暂无相关链接"
),
delay
:
1.2
)
return
return
}
}
...
@@ -913,7 +913,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -913,7 +913,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
self
.
selectLoc
=
(
firstPL
?
.
postalAddress
?
.
city
)
!
self
.
selectLoc
=
(
firstPL
?
.
postalAddress
?
.
city
)
!
self
.
locBtn
.
sizeToFit
()
self
.
locBtn
.
sizeToFit
()
self
.
locBtn
.
snp_
mak
eConstraints
({
(
make
)
in
self
.
locBtn
.
snp_
updat
eConstraints
({
(
make
)
in
make
.
right
.
equalTo
(
-
15
)
make
.
right
.
equalTo
(
-
15
)
make
.
bottom
.
equalTo
(
self
.
navbar
.
snp_bottom
)
.
offset
(
-
7
)
make
.
bottom
.
equalTo
(
self
.
navbar
.
snp_bottom
)
.
offset
(
-
7
)
make
.
height
.
equalTo
(
30
)
make
.
height
.
equalTo
(
30
)
...
...
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
View file @
ab5efc62
<?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=
"16097.
2
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097.
3
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_5"
orientation=
"portrait"
appearance=
"light"
/>
<device
id=
"retina6_5"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
...
...
GeliBusinessPlatform/ViewController/地址管理/XinZengDiZhiViewController.swift
View file @
ab5efc62
...
@@ -463,7 +463,6 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -463,7 +463,6 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
if
component
==
0
{
if
component
==
0
{
return
self
.
addressArray
.
count
return
self
.
addressArray
.
count
}
else
if
component
==
1
{
}
else
if
component
==
1
{
print
(
"alkjdflkasd == "
,
provinceIndex
)
let
province
=
self
.
addressArray
[
provinceIndex
]
as!
Dictionary
<
String
,
Any
>
let
province
=
self
.
addressArray
[
provinceIndex
]
as!
Dictionary
<
String
,
Any
>
return
(
province
[
"city_list"
]
!
as
AnyObject
)
.
count
return
(
province
[
"city_list"
]
!
as
AnyObject
)
.
count
}
else
{
}
else
{
...
...
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