Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sph
上药订单生命周期升级
Commits
4b9819ef
Commit
4b9819ef
authored
Jun 20, 2025
by
xiejb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机型适配;文件预览
parent
1f90a573
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
181 additions
and
129 deletions
+181
-129
MobilePortal/MobilePortal.xcodeproj/project.pbxproj
MobilePortal/MobilePortal.xcodeproj/project.pbxproj
+4
-4
MobilePortal/MobilePortal.xcworkspace/xcuserdata/caiyang.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/caiyang.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
MobilePortal/MobilePortal.xcworkspace/xcuserdata/caiyang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
.../caiyang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+10
-10
MobilePortal/MobilePortal/Config/ModelJudgeFunc/ModelJudgeFunc.m
...ortal/MobilePortal/Config/ModelJudgeFunc/ModelJudgeFunc.m
+6
-0
MobilePortal/MobilePortal/Config/WRNavigationBar/WRCustomNavigationBar.m
...bilePortal/Config/WRNavigationBar/WRCustomNavigationBar.m
+5
-2
MobilePortal/MobilePortal/Config/WRNavigationBar/WRNavigationBar.h
...tal/MobilePortal/Config/WRNavigationBar/WRNavigationBar.h
+1
-0
MobilePortal/MobilePortal/Config/WRNavigationBar/WRNavigationBar.m
...tal/MobilePortal/Config/WRNavigationBar/WRNavigationBar.m
+14
-4
MobilePortal/MobilePortal/Http/DeviceInformation/DeviceInformation.m
...l/MobilePortal/Http/DeviceInformation/DeviceInformation.m
+8
-1
MobilePortal/MobilePortal/VC/Mine/Set/SetUpViewController.swift
...Portal/MobilePortal/VC/Mine/Set/SetUpViewController.swift
+10
-0
MobilePortal/MobilePortal/VC/Preview/PreviewController.swift
MobilePortal/MobilePortal/VC/Preview/PreviewController.swift
+16
-8
MobilePortal/MobilePortal/VC/Web/WebSwiftViewController+Preview.swift
.../MobilePortal/VC/Web/WebSwiftViewController+Preview.swift
+3
-1
MobilePortal/MobilePortal/VC/Web/WebSwiftViewController.swift
...lePortal/MobilePortal/VC/Web/WebSwiftViewController.swift
+9
-4
MobilePortal/MobilePortal/codeObfuscation.h
MobilePortal/MobilePortal/codeObfuscation.h
+95
-95
MobilePortal/symbols
MobilePortal/symbols
+0
-0
No files found.
MobilePortal/MobilePortal.xcodeproj/project.pbxproj
View file @
4b9819ef
...
@@ -5296,7 +5296,7 @@
...
@@ -5296,7 +5296,7 @@
CODE_SIGN_ENTITLEMENTS
=
MobilePortal/MobilePortal.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
MobilePortal/MobilePortal.entitlements
;
CODE_SIGN_IDENTITY
=
"iPhone Distribution: Shanghai Pharmaceutical Co., Ltd."
;
CODE_SIGN_IDENTITY
=
"iPhone Distribution: Shanghai Pharmaceutical Co., Ltd."
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
2.
5
;
CURRENT_PROJECT_VERSION
=
2.
6
;
DEVELOPMENT_TEAM
=
7FYU37G7W6
;
DEVELOPMENT_TEAM
=
7FYU37G7W6
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5315,7 +5315,7 @@
...
@@ -5315,7 +5315,7 @@
"$(PROJECT_DIR)/MobilePortal/Thirdparty/BDVoice/BDSClientLib"
,
"$(PROJECT_DIR)/MobilePortal/Thirdparty/BDVoice/BDSClientLib"
,
"$(PROJECT_DIR)/MobilePortal/Thirdparty/WXApiManager/WeChatSDK"
,
"$(PROJECT_DIR)/MobilePortal/Thirdparty/WXApiManager/WeChatSDK"
,
);
);
MARKETING_VERSION
=
2.
5
;
MARKETING_VERSION
=
2.
6
;
ONLY_ACTIVE_ARCH
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
OTHER_LDFLAGS
=
(
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"$(inherited)"
,
...
@@ -5396,7 +5396,7 @@
...
@@ -5396,7 +5396,7 @@
CODE_SIGN_ENTITLEMENTS
=
MobilePortal/MobilePortal.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
MobilePortal/MobilePortal.entitlements
;
CODE_SIGN_IDENTITY
=
"iPhone Distribution: Shanghai Pharmaceutical Co., Ltd."
;
CODE_SIGN_IDENTITY
=
"iPhone Distribution: Shanghai Pharmaceutical Co., Ltd."
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
2.
5
;
CURRENT_PROJECT_VERSION
=
2.
6
;
DEVELOPMENT_TEAM
=
7FYU37G7W6
;
DEVELOPMENT_TEAM
=
7FYU37G7W6
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5415,7 +5415,7 @@
...
@@ -5415,7 +5415,7 @@
"$(PROJECT_DIR)/MobilePortal/Thirdparty/BDVoice/BDSClientLib"
,
"$(PROJECT_DIR)/MobilePortal/Thirdparty/BDVoice/BDSClientLib"
,
"$(PROJECT_DIR)/MobilePortal/Thirdparty/WXApiManager/WeChatSDK"
,
"$(PROJECT_DIR)/MobilePortal/Thirdparty/WXApiManager/WeChatSDK"
,
);
);
MARKETING_VERSION
=
2.
5
;
MARKETING_VERSION
=
2.
6
;
OTHER_LDFLAGS
=
(
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"$(inherited)"
,
"-ObjC"
,
"-ObjC"
,
...
...
MobilePortal/MobilePortal.xcworkspace/xcuserdata/caiyang.xcuserdatad/UserInterfaceState.xcuserstate
View file @
4b9819ef
No preview for this file type
MobilePortal/MobilePortal.xcworkspace/xcuserdata/caiyang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
View file @
4b9819ef
...
@@ -1183,8 +1183,8 @@
...
@@ -1183,8 +1183,8 @@
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
startingColumnNumber =
"9223372036854775807"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"23
0
"
startingLineNumber =
"23
5
"
endingLineNumber =
"23
0
"
endingLineNumber =
"23
5
"
landmarkName =
"setHTTPCookie(count:host:)"
landmarkName =
"setHTTPCookie(count:host:)"
landmarkType =
"7"
>
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointContent>
...
@@ -1199,8 +1199,8 @@
...
@@ -1199,8 +1199,8 @@
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
startingColumnNumber =
"9223372036854775807"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"2
39
"
startingLineNumber =
"2
44
"
endingLineNumber =
"2
39
"
endingLineNumber =
"2
44
"
landmarkName =
"setHTTPCookie(count:host:)"
landmarkName =
"setHTTPCookie(count:host:)"
landmarkType =
"7"
>
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointContent>
...
@@ -1215,8 +1215,8 @@
...
@@ -1215,8 +1215,8 @@
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
startingColumnNumber =
"9223372036854775807"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"19
2
"
startingLineNumber =
"19
7
"
endingLineNumber =
"19
2
"
endingLineNumber =
"19
7
"
landmarkName =
"setwebView(strUrl:)"
landmarkName =
"setwebView(strUrl:)"
landmarkType =
"7"
>
landmarkType =
"7"
>
<Locations>
<Locations>
...
@@ -1307,8 +1307,8 @@
...
@@ -1307,8 +1307,8 @@
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
startingColumnNumber =
"9223372036854775807"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"2
05
"
startingLineNumber =
"2
10
"
endingLineNumber =
"2
05
"
endingLineNumber =
"2
10
"
landmarkName =
"setwebView(strUrl:)"
landmarkName =
"setwebView(strUrl:)"
landmarkType =
"7"
>
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointContent>
...
@@ -1323,8 +1323,8 @@
...
@@ -1323,8 +1323,8 @@
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
filePath =
"MobilePortal/VC/Web/WebSwiftViewController.swift"
startingColumnNumber =
"9223372036854775807"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"1
56
"
startingLineNumber =
"1
61
"
endingLineNumber =
"1
56
"
endingLineNumber =
"1
61
"
landmarkName =
"setStatusBarBackgroundColor()"
landmarkName =
"setStatusBarBackgroundColor()"
landmarkType =
"7"
>
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointContent>
...
...
MobilePortal/MobilePortal/Config/ModelJudgeFunc/ModelJudgeFunc.m
View file @
4b9819ef
...
@@ -62,6 +62,12 @@
...
@@ -62,6 +62,12 @@
if
([
platform
isEqualToString
:
@"iPhone15,5"
])
{
return
@"iPhone15 Plus"
;}
if
([
platform
isEqualToString
:
@"iPhone15,5"
])
{
return
@"iPhone15 Plus"
;}
if
([
platform
isEqualToString
:
@"iPhone16,1"
])
{
return
@"iPhone15 Pro"
;}
if
([
platform
isEqualToString
:
@"iPhone16,1"
])
{
return
@"iPhone15 Pro"
;}
if
([
platform
isEqualToString
:
@"iPhone16,2"
])
{
return
@"iPhone15 Pro Max"
;}
if
([
platform
isEqualToString
:
@"iPhone16,2"
])
{
return
@"iPhone15 Pro Max"
;}
if
([
platform
isEqualToString
:
@"iPhone17,1"
])
{
return
@"iPhone16 Pro"
;}
if
([
platform
isEqualToString
:
@"iPhone17,2"
])
{
return
@"iPhone16 Pro Max"
;}
if
([
platform
isEqualToString
:
@"iPhone17,3"
])
{
return
@"iPhone16"
;}
if
([
platform
isEqualToString
:
@"iPhone17,4"
])
{
return
@"iPhone16 Plus"
;}
return
platform
;
return
platform
;
}
}
@end
@end
...
...
MobilePortal/MobilePortal/Config/WRNavigationBar/WRCustomNavigationBar.m
View file @
4b9819ef
...
@@ -289,8 +289,11 @@
...
@@ -289,8 +289,11 @@
return
isIPhoneX
;
return
isIPhoneX
;
}
}
+
(
BOOL
)
isIphoneXPro
{
+
(
BOOL
)
isIphoneXPro
{
return
(
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
430
,
932
))
||
struct
utsname
systemInfo
;
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
932
,
430
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
393
,
852
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
852
,
393
)));
uname
(
&
systemInfo
);
NSString
*
platform
=
[
NSString
stringWithCString
:
systemInfo
.
machine
encoding
:
NSASCIIStringEncoding
];
return
(
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
956
,
440
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
440
,
956
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
874
,
402
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
402
,
874
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
430
,
932
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
932
,
430
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
393
,
852
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
852
,
393
))
||
[
platform
isEqualToString
:
@"iPhone17,1"
]
||
[
platform
isEqualToString
:
@"iPhone17,2"
]
||
[
platform
isEqualToString
:
@"iPhone17,3"
]
||
[
platform
isEqualToString
:
@"iPhone17,4"
]);
}
}
@end
@end
...
...
MobilePortal/MobilePortal/Config/WRNavigationBar/WRNavigationBar.h
View file @
4b9819ef
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
+
(
CGFloat
)
tabBarHeight
;
+
(
CGFloat
)
tabBarHeight
;
+
(
CGFloat
)
screenWidth
;
+
(
CGFloat
)
screenWidth
;
+
(
CGFloat
)
screenHeight
;
+
(
CGFloat
)
screenHeight
;
+
(
BOOL
)
isIphoneXPro
;
@end
@end
...
...
MobilePortal/MobilePortal/Config/WRNavigationBar/WRNavigationBar.m
View file @
4b9819ef
...
@@ -27,12 +27,22 @@
...
@@ -27,12 +27,22 @@
return
isIPhoneX
;
return
isIPhoneX
;
}
}
+
(
BOOL
)
isIphoneXPro
{
+
(
BOOL
)
isIphoneXPro
{
return
(
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
430
,
932
))
||
return
(
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
874
,
402
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
402
,
874
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
430
,
932
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
932
,
430
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
393
,
852
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
852
,
393
)));
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
932
,
430
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
393
,
852
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
852
,
393
)));
}
+
(
BOOL
)
isIphoneX2Pro
{
return
(
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
390
,
844
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
844
,
390
)));
}
+
(
BOOL
)
isIphone16ProMax
{
return
(
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
956
,
440
))
||
CGSizeEqualToSize
([
UIScreen
mainScreen
].
bounds
.
size
,
CGSizeMake
(
440
,
956
)));
}
}
+
(
CGFloat
)
navBarBottom
{
+
(
CGFloat
)
navBarBottom
{
if
([
self
isIphoneXPro
])
{
if
([
self
isIphone16ProMax
])
{
return
105
;
return
104
;
}
else
if
([
self
isIphoneXPro
])
{
return
99
;
}
else
if
([
self
isIphoneX2Pro
])
{
return
92
;
}
else
if
([
self
isIphoneX
])
{
}
else
if
([
self
isIphoneX
])
{
return
88
;
return
88
;
}
else
{
}
else
{
...
...
MobilePortal/MobilePortal/Http/DeviceInformation/DeviceInformation.m
View file @
4b9819ef
...
@@ -68,7 +68,14 @@ extern NSString * CTSIMSupportCopyMobileSubscriberIdentity(void);
...
@@ -68,7 +68,14 @@ extern NSString * CTSIMSupportCopyMobileSubscriberIdentity(void);
attrDic
[
kHttpDeviceInformationHttpCmd_device_changeid
]
=
[
AccountInfo
sharedInstance
].
appUUID
;
attrDic
[
kHttpDeviceInformationHttpCmd_device_changeid
]
=
[
AccountInfo
sharedInstance
].
appUUID
;
attrDic
[
kHttpDeviceInformationHttpCmd_device_channelid
]
=
@""
;
attrDic
[
kHttpDeviceInformationHttpCmd_device_channelid
]
=
@""
;
//设备型号 iphone67
//设备型号 iphone67
attrDic
[
kHttpDeviceInformationHttpCmd_device_model
]
=
[
ModelJudgeFunc
deviceModelName
];
// attrDic[kHttpDeviceInformationHttpCmd_device_model] = [ModelJudgeFunc deviceModelName];
attrDic
[
kHttpDeviceInformationHttpCmd_device_model
]
=
[
NSString
stringWithFormat
:
@"(%@)%f%f"
,[
ModelJudgeFunc
deviceModelName
],[
UIScreen
mainScreen
].
bounds
.
size
.
width
,[
UIScreen
mainScreen
].
bounds
.
size
.
height
];
// + (CGFloat)screenWidth {
// return [UIScreen mainScreen].bounds.size.width;
// }
// + (CGFloat)screenHeight {
// return [UIScreen mainScreen].bounds.size.height;
// }
//设备名称某某的苹果
//设备名称某某的苹果
attrDic
[
kHttpDeviceInformationHttpCmd_device_name
]
=
[
UIDevice
currentDevice
].
name
;
attrDic
[
kHttpDeviceInformationHttpCmd_device_name
]
=
[
UIDevice
currentDevice
].
name
;
//设备序列号 空
//设备序列号 空
...
...
MobilePortal/MobilePortal/VC/Mine/Set/SetUpViewController.swift
View file @
4b9819ef
...
@@ -87,6 +87,7 @@ class SetUpViewController: BaseViewController {
...
@@ -87,6 +87,7 @@ class SetUpViewController: BaseViewController {
self
.
getMineInfoTableViewCellModel
(
imageName
:
"email_image"
,
title
:
self
.
getVersionString
(),
name
:
"版本信息"
,
block
:
{[
weak
self
]
in
self
.
getMineInfoTableViewCellModel
(
imageName
:
"email_image"
,
title
:
self
.
getVersionString
(),
name
:
"版本信息"
,
block
:
{[
weak
self
]
in
// self?.gotoWei()
// self?.gotoWei()
self
?
.
webViewUrl
()
self
?
.
webViewUrl
()
// self?.chicun()
},
accessoryType
:
.
disclosureIndicator
)
},
accessoryType
:
.
disclosureIndicator
)
}
}
...
@@ -119,6 +120,15 @@ class SetUpViewController: BaseViewController {
...
@@ -119,6 +120,15 @@ class SetUpViewController: BaseViewController {
pasteboard
.
string
=
AccountInfo
.
sharedInstance
()
.
webViewUrl
pasteboard
.
string
=
AccountInfo
.
sharedInstance
()
.
webViewUrl
SMToastView
.
showMessage
(
"内容已复制!"
)
SMToastView
.
showMessage
(
"内容已复制!"
)
}
}
/// 复制设备尺寸
func
chicun
(){
let
pasteboard
=
UIPasteboard
.
general
let
dic
=
NSMutableDictionary
()
dic
[
"height"
]
=
SCREEN_HEIGHT
()
dic
[
"width"
]
=
SCREEN_WHIDTH
()
pasteboard
.
string
=
WebActionOC
.
share
()?
.
getDictStr
(
dic
)
SMToastView
.
showMessage
(
"内容已复制!"
)
}
/// 获取版本号
/// 获取版本号
func
getVersionString
()
->
String
{
func
getVersionString
()
->
String
{
let
infoDictionary
=
Bundle
.
main
.
infoDictionary
!
let
infoDictionary
=
Bundle
.
main
.
infoDictionary
!
...
...
MobilePortal/MobilePortal/VC/Preview/PreviewController.swift
View file @
4b9819ef
...
@@ -10,11 +10,11 @@ import UIKit
...
@@ -10,11 +10,11 @@ import UIKit
import
QuickLook
import
QuickLook
class
PreviewController
:
QLPreviewController
,
QLPreviewControllerDelegate
,
QLPreviewControllerDataSource
{
class
PreviewController
:
QLPreviewController
,
QLPreviewControllerDelegate
,
QLPreviewControllerDataSource
{
var
fileUrlList
=
NSMutableArray
()
var
fileUrlList
:
[
URL
]
=
[]
var
documentUrl
:
URL
?
var
documentUrl
:
URL
?
func
loadUrlPath
(
fileUrl
:
NS
URL
?){
func
loadUrlPath
(
fileUrl
:
URL
?){
if
PreviewController
.
canPreview
(
fileUrl
!
)
{
if
PreviewController
.
canPreview
(
fileUrl
!
as
QLPreviewItem
)
{
self
.
fileUrlList
.
add
(
fileUrl
!
)
self
.
fileUrlList
=
[
fileUrl
!
]
self
.
documentUrl
=
fileUrl
as
URL
?
self
.
documentUrl
=
fileUrl
as
URL
?
}
}
}
}
...
@@ -44,13 +44,21 @@ class PreviewController: QLPreviewController,QLPreviewControllerDelegate,QLPrevi
...
@@ -44,13 +44,21 @@ class PreviewController: QLPreviewController,QLPreviewControllerDelegate,QLPrevi
}
}
}
}
func
numberOfPreviewItems
(
in
controller
:
QLPreviewController
)
->
Int
{
func
numberOfPreviewItems
(
in
controller
:
QLPreviewController
)
->
Int
{
// return self.fileUrlList.count
//// return self.fileUrlList.count
return
1
// return 1
// if #available(iOS 18.0, *) {
// return self.fileUrlList.count
// }else{
return
1
// }
}
}
func
previewController
(
_
controller
:
QLPreviewController
,
previewItemAt
index
:
Int
)
->
QLPreviewItem
{
func
previewController
(
_
controller
:
QLPreviewController
,
previewItemAt
index
:
Int
)
->
QLPreviewItem
{
// return self.fileUrlList[index] as! QLPreviewItem
// if #available(iOS 18.0, *) {
return
self
.
documentUrl
as!
QLPreviewItem
// return self.fileUrlList[index] as! QLPreviewItem
// }else{
return
self
.
documentUrl
!
as
QLPreviewItem
// }
}
}
...
...
MobilePortal/MobilePortal/VC/Web/WebSwiftViewController+Preview.swift
View file @
4b9819ef
...
@@ -42,7 +42,9 @@ extension WebSwiftViewController {
...
@@ -42,7 +42,9 @@ extension WebSwiftViewController {
}
}
func
gotoPreviewVC
(
path
:
String
?){
func
gotoPreviewVC
(
path
:
String
?){
hidenHintView
()
hidenHintView
()
let
url
:
NSURL
=
NSURL
.
init
(
fileURLWithPath
:
path
!
)
let
url
:
URL
=
URL
.
init
(
fileURLWithPath
:
path
!
)
// let url:URL = URL.init(string: path)
// URLComponents.init(string: <#T##String#>)
if
url
==
nil
{
if
url
==
nil
{
print
(
"失败!"
)
print
(
"失败!"
)
SMToastView
.
showMessage
(
"文件链接有误!"
)
SMToastView
.
showMessage
(
"文件链接有误!"
)
...
...
MobilePortal/MobilePortal/VC/Web/WebSwiftViewController.swift
View file @
4b9819ef
...
@@ -112,11 +112,16 @@ class WebSwiftViewController: BaseViewController,WKUIDelegate,WKNavigationDelega
...
@@ -112,11 +112,16 @@ class WebSwiftViewController: BaseViewController,WKUIDelegate,WKNavigationDelega
if
self
.
isShowTitleType
==
.
NoShowTitleType
{
if
self
.
isShowTitleType
==
.
NoShowTitleType
{
self
.
navigationController
?
.
setNavigationBarHidden
(
true
,
animated
:
true
)
self
.
navigationController
?
.
setNavigationBarHidden
(
true
,
animated
:
true
)
setNeedsStatusBarAppearanceUpdate
()
setNeedsStatusBarAppearanceUpdate
()
if
(
self
.
isTabBarVC
==
IsTabBarVC
.
isTabBarVC
)
{
if
(
self
.
isTabBarVC
==
.
isTabBarVC
)
{
webView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
SCREEN_WHIDTH
()
,
height
:
SCREEN_HEIGHT
()
-
getTabBarH
()
+
5
)
webView
.
scrollView
.
contentInset
=
UIEdgeInsetsMake
(
-
getStatusBarH
()
-
6
,
0
,
0
,
0
)
webView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
SCREEN_WHIDTH
()
,
height
:
SCREEN_HEIGHT
()
-
getTabBarH
()
+
6
)
// self.webView.scrollView.contentInset = UIEdgeInsetsMake(-getStatusBarH()-5, 0, 0, 0)
}
else
{
}
else
{
webView
.
frame
=
CGRect
(
x
:
0
,
y
:
getStatusBarH
(),
width
:
SCREEN_WHIDTH
()
,
height
:
SCREEN_HEIGHT
()
-
getStatusBarH
()
)
webView
.
frame
=
CGRect
(
x
:
0
,
y
:
getStatusBarH
(),
width
:
SCREEN_WHIDTH
()
,
height
:
SCREEN_HEIGHT
()
-
getStatusBarH
()
-
HEIGHT_BOTTOM_MARGIN
()
)
}
if
#available(iOS 11.0, *)
{
webView
.
scrollView
.
contentInsetAdjustmentBehavior
=
.
never
}
}
// setStatusBarBackgroundColor()
// setStatusBarBackgroundColor()
}
else
{
}
else
{
...
...
MobilePortal/MobilePortal/codeObfuscation.h
View file @
4b9819ef
#ifndef Demo_codeObfuscation_h
#ifndef Demo_codeObfuscation_h
#define Demo_codeObfuscation_h
#define Demo_codeObfuscation_h
//confuse string at
Wed Jun 4 17:48:52
CST 2025
//confuse string at
Fri Jun 20 10:44:47
CST 2025
#define BaseViewController
sKDcgxGPBGUXiPoh
#define BaseViewController
djUDWbZahKlFcANY
#define myTableView
qxevYTJuYSMdnnKQ
#define myTableView
FbuUhfjzScxnArbf
#define setCacheAccountInfo
jtQRZaZOeXiCoray
#define setCacheAccountInfo
wBjSNBNNOwmoMOZe
#define setClassWebUrlAccountInfo
TbwJAwMPIkTdEmxU
#define setClassWebUrlAccountInfo
NWUVRiSCLyAacHZL
#define setWebUrlAction
ZVHgYllHDIgzwcHc
#define setWebUrlAction
HLFbPRoOmDQGyWpO
#define SinglePointWeChatVC
joIkRFLDBtLyqxux
#define SinglePointWeChatVC
yxLkrTXrgKKRdOCj
#define onLogin
MCMlnIBpRPrEvble
#define onLogin
VCrySAZygrhnsuop
#define getLoginTypeHttpAction
OabkwkulHvVYEorO
#define getLoginTypeHttpAction
AxRjTEXcTRdUvBsi
#define loginTypeHttpGetCmdTypeAction
CmZXGVkcRSvNlPRL
#define loginTypeHttpGetCmdTypeAction
uyXfReeJReDnhAZK
#define getScopeListHttpCmd
BJILGPPsvWcOcmt
a
#define getScopeListHttpCmd
HgCBeSEKifQGytG
a
#define selectSinglePointTypeAction
DfteiXcHcookLclN
#define selectSinglePointTypeAction
CqyMdYZofErvkdNd
#define getLoginHttpPostCmdCmd
OZZXuRaygLYxuJeH
#define getLoginHttpPostCmdCmd
EUvrKJEzyBAiFqMe
#define httpLoginHttpPostResultResponse
pmpkrQfBKhdZblWO
#define httpLoginHttpPostResultResponse
TivNGcdttcEPPwfL
#define getNewVersionUpdateHttpCmd
CFFjEHePMKUAuksO
#define getNewVersionUpdateHttpCmd
RDkJWGHGVqcuKlUQ
#define getLoginDeviceInformationHttpCmd
GhOddokJXnVzMFaw
#define getLoginDeviceInformationHttpCmd
baSBqNUtKhQkxDRX
#define getMyInformationHttpGetCmd
TIuQPchWBlDmNGDG
#define getMyInformationHttpGetCmd
ZoqCuQVzHQpQYfkf
#define getVerifyTokenHttpPostCmdAction
VaAsOxvtWAdeykhL
#define getVerifyTokenHttpPostCmdAction
QKoOvcRAQSyKfHOq
#define httpVerifyTokenHttpResultResponse
BoKyOYlbOzcYNHSc
#define httpVerifyTokenHttpResultResponse
YYtCjEOTxEBWIIyP
#define loginGetUserInfo
KnqrPplVrDgvPEOu
#define loginGetUserInfo
TkhoTfBwwVoIqzAE
#define httpSinglePointinfoHttpResultResponse
MOBQggvBexwGHyuD
#define httpSinglePointinfoHttpResultResponse
aWtdrqOOyOdcaxpz
#define getWeChatXinfoHttpPostCmd
iaeMLDPlPCIKESkc
#define getWeChatXinfoHttpPostCmd
jDrkFOruGfCQIHVz
#define getWeChatBindingHttpPostCmd
KCXrSlYvceSbSIdQ
#define getWeChatBindingHttpPostCmd
tJjhxJFFkUDCvVDl
#define httpWeChatXinfoHttpResultResponse
ZXWIYThejPWTusjE
#define httpWeChatXinfoHttpResultResponse
WeEpEPtbBhOkGlvt
#define SinglePointWeChatHttp
aztzgiEtJhjZiGUe
#define SinglePointWeChatHttp
fMlQRlkwVAMAnNPD
#define judgmentTokenExpired(resultBlock:@escaping
umkRDduuzzWaJLuM
#define judgmentTokenExpired(resultBlock:@escaping
YCqNWKtWjnTGzanF
#define httpVerificationTokenHttpResultResponse(result:RequestResult,resultBlock:@escaping
LLmHhUxPaylRcAez
#define httpVerificationTokenHttpResultResponse(result:RequestResult,resultBlock:@escaping
owvsoDkPzxpwpLfq
#define getRefreshTokenHttpPostCmd(resultBlock:@escaping
COgWHkFctbEjwQbX
#define getRefreshTokenHttpPostCmd(resultBlock:@escaping
eVBlWZngtcuDImKC
#define func
sNnPZTtWIgcEHcuA
#define func
pCHUbosABMtcNzjg
#define getLoginDeviceInformationHttpCmd(resultBlock:@escaping
FxQcIOlnoJzRmtai
#define getLoginDeviceInformationHttpCmd(resultBlock:@escaping
tYGYEFPOeEDnGMKn
#define httpDeviceInformationHttpResultResponse(result:
TahUymzcRcZUSjbr
#define httpDeviceInformationHttpResultResponse(result:
vHXZBdJFYWnjojFA
#define LoginViewController
ZmYRTwSuunRvLsbT
#define LoginViewController
aQNUVubPPLivxEMz
#define WeChatBindingViewController
MNymcpTLYKtBzKuK
#define WeChatBindingViewController
QqwmXVlSVxKFqhMX
#define SinglePointViewController
rwbNdKtXhZPsoWgB
#define SinglePointViewController
TUEAQYKLuUZFonjd
#define MineViewController
ehXKHjvNhqNubnqg
#define MineViewController
GSWwWoaqruDYnptC
#define getSelectCompanyHttpCmd
EfXywBaodJzvhDHi
#define getSelectCompanyHttpCmd
ISeRPaYvXCbiSScR
#define httpSelectCompanyHttpResultResponse
xxMAQeLmZcRdUxIz
#define httpSelectCompanyHttpResultResponse
KPwcXrXKvGNcQCvO
#define SelectCompanyViewController
XjxVisOiOZPUobzq
#define SelectCompanyViewController
tJFjeZpdxdiatjSj
#define MineMoreViewController
IduuZLmJnXpgfaHL
#define MineMoreViewController
ENQAKHJTtAqrECVP
#define WebSwiftViewController
mwOfYentJpzrtyxz
#define WebSwiftViewController
UsaXyeRtSzJJvMcx
#define webView
CGevnjVdOHiotiWL
#define webView
gdDEtKoRDBHRjIhD
#define webViewUrl
jxNMdAocNuGlSRJJ
#define webViewUrl
gqhYXbgPlCSfgnav
#define appid
BdfvZORVzOLJDrgx
#define appid
vwkEQXANHBpLdvXf
#define webActionTitle
sEUHPNRrswageGbR
#define webActionTitle
tnvVNSoEoagOpVnK
#define setwebView
qvHWdPmvWvcEthcj
#define setwebView
oqAtdbIUhAIKIZte
#define backPrevious
xPxnYSfwIKJCGYuS
#define backPrevious
IBqJGrITwYzfzTkJ
#define WebActionOC
YBqvSunRPceHulJk
#define WebActionOC
DZtSJFklLdEtNvgZ
#define getUrl
fcalYbxKgGNnxcfD
#define getUrl
rGnEajMNOMewuLgi
#define getWebCookie
DypYsmbGliqvpnCF
#define getWebCookie
GueySxdRUYlcITTh
#define encryptAES
ZBZWoXQgznxDdnqI
#define encryptAES
MCvpABFCcRfCsJIp
#define decryptAES
PUblmTreNbbvEljb
#define decryptAES
fWXqaEasvarnJILm
#define ChangePassWordViewController I
wMOThuMLamgHBvd
#define ChangePassWordViewController I
uOuyuZKAXkGMzlS
#define oldTextView
WrQlxOEjXdDOMEMk
#define oldTextView
lGBpJayJTQUKPDdV
#define newTextView
QqkXEKaDfVJvHEVk
#define newTextView
hBbryZJzaBjGOdWu
#define confirmPassTextView
aEWWRcUjQeSSFvqa
#define confirmPassTextView
gKAzqssHPTIXwcqc
#define actionChangePassWord
MWDCvZTpXUpCRlwj
#define actionChangePassWord
pDRiiGVzRujRdFfU
#define getChangePasswordHttpCmd
MKNOjBXiHyDoclaE
#define getChangePasswordHttpCmd
yWpmrqVOqlssXygS
#define httpChangePasswordHttpResultResponse
MjHRBvzqplyJsZgz
#define httpChangePasswordHttpResultResponse
nzrIiNFvPzyvYpEf
#define getSinglePointPasswordHttpPostCmd
RZQZSyhHnCgjmlli
#define getSinglePointPasswordHttpPostCmd
UbOCYgBBykLmAmVZ
#define httpSinglePointPasswordHttpResultResponse
pNTHisUtYbbAiENv
#define httpSinglePointPasswordHttpResultResponse
AIflNbhRcYICihPe
#define loginTypeHttpGetCmdTypeAction
NnEqcoUXBBfEWpQc
#define loginTypeHttpGetCmdTypeAction
XYTYtvBZfEbCPdUo
#define MineMoreViewController
zZbQHdSLKoqKjFIf
#define MineMoreViewController
YxJAVbNlSFvxJIJU
#define getMyApplicationListHttpCmd
vwtyxFAMibdrfSFM
#define getMyApplicationListHttpCmd
XgeMidXwAbMmkfMO
#define httpMyApplicationListHttpResultResponse
iDkkRCzusjQnspPa
#define httpMyApplicationListHttpResultResponse
auclxlRxBLAxbOVd
#define getAllApplicationHttpListCmd
ZFZYLzrCZXgGKhSS
#define getAllApplicationHttpListCmd
bAtYyXSTnaUWwMZM
#define httpMoreApplicationsTwoHttpResultResponse
reRiJcGCofwGpDIc
#define httpMoreApplicationsTwoHttpResultResponse
VEWKaEiILwEubdgX
#define changeBlockAction
lrNcgeqCogooYvDn
#define changeBlockAction
RqnMpQgrJrWftFMA
#define getHttpCollcetionViewModellArray
brLEIhbidmTRQpmQ
#define getHttpCollcetionViewModellArray
fXkCXOfGovsQekJb
#define getHttpCollcetionViewModellTwoArray
TrHxonfOWOFamGMP
#define getHttpCollcetionViewModellTwoArray
iFKsUurwZZGFwMZq
#define getHttpMineMoreCollectionViewCellModel W
iMFUCdPVXqXBjXU
#define getHttpMineMoreCollectionViewCellModel W
MSkofnPBMRhnesK
#define getSaveApplicationsHttpCmd
HLSwjhHzRYdftMIP
#define getSaveApplicationsHttpCmd
DuTByltBYCSexoht
#define httpSaveApplicationListHttpResultResponse
BQCkLTmuZyjjmrSh
#define httpSaveApplicationListHttpResultResponse
YwBBrQhecRrnpEis
#define httpSelectCompanyHttpResultResponse
cTbTAAgsHmzMUChU
#define httpSelectCompanyHttpResultResponse
OEjTTojwmUfJRFIR
#define gotoCompanyListVC
hlgFenwWGkFJRfzS
#define gotoCompanyListVC
iAvOMpxmJLtMDSEP
#define SelectCompanyViewController
tSiZvBcLLQKhmQMr
#define SelectCompanyViewController
xCIOyFOXNVunVNUh
#define actionCompanyHttpGCD
vyCIavTmaNWPeJMS
#define actionCompanyHttpGCD
cRdQMaOVOhmSHpRq
#define actiondepartmentHttpGCD
fvjOVhALbgDpzXbi
#define actiondepartmentHttpGCD
IeKLhYlESblumbne
#define myApplicationAction
VZogFjTmZwxKvLwA
#define myApplicationAction
wkJabairiZrfEGQI
#define downloadOpenApp
LQevxAOICCOmxgFK
#define downloadOpenApp
aLMrQkIXPxXUpySy
#define oftenApplicationType
raaZJnylrsEVQShl
#define oftenApplicationType
VZgIVxhgKdSLjFTk
#define HTHttpConfig
KYgZwqnPXTSSlSoJ
#define HTHttpConfig
ZjQRPzqFGYeXVpxD
#define kServiceAddressURL1
LueeKLRPWShsiAGK
#define kServiceAddressURL1
kmBsCsmBzsYHanto
#define imageURL1
qKeKunKwGGNAUSTX
#define imageURL1
GurbKnBdzcwLshVs
#define kServiceAddressURL
iJqqYUZNXmbtxzbs
#define kServiceAddressURL
hIsbgjSRYGLUHSWI
#define imageURL
UeqOPDqSFmtJGpTT
#define imageURL
nLKaswMurNhfxqQm
#define kServiceAddressURL2
yDEJdIVTphiZdZEF
#define kServiceAddressURL2
QAEuKGVdDilczMGh
#define imageURL2
wdgdauXLjnyYcfVt
#define imageURL2
TEPprIluMDCEMZeW
#define HomeViewController
NTlVHnaivWFXxbxX
#define HomeViewController
hlQDKhJavHJadKZK
#define actionHttpGCD
hGejPcBJHOOtSUIi
#define actionHttpGCD
sWkmdDTGKDtMBIAu
#define getHttpHomeClassListCmd
PyclXFCTfEXDrQUJ
#define getHttpHomeClassListCmd
DbZWpwnAkkfcSzHy
#define httpHttpHomeClassListResultResponse
ggbXqAskqhGWPaaI
#define httpHttpHomeClassListResultResponse
xIVTBhHZubEGtaOX
#define getUpcomingCountHttpPostCmd
UmgtxYQssyUEBsNj
#define getUpcomingCountHttpPostCmd
QFlUFaFFFibjPeWA
#define httpUpcomingCountHttpResultResponse
GeORnYhoHtHFGIIl
#define httpUpcomingCountHttpResultResponse
QJmIgjYwBOcMUzqx
#define getMessageNunberShowHttpPostCmd
UsHrLOTrEPMVEiYF
#define getMessageNunberShowHttpPostCmd
LYNFaYOebXJuvSRS
#define httpMessageNumberShowHttpResultResponse
YjjqzRLjEuaFoJnQ
#define httpMessageNumberShowHttpResultResponse
MEhHZKhAYmGHPkdL
#endif
#endif
MobilePortal/symbols
View file @
4b9819ef
No preview for this file type
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