Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
mobile-group
galaxy-iOS
Commits
06983ff0
Commit
06983ff0
authored
Mar 13, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into develop
parents
67a22b12
cc4086fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
20 deletions
+28
-20
YHPreviewMainViewController.swift
...ersonInfoList(个人信息预览)/C/YHPreviewMainViewController.swift
+3
-0
YHWebViewViewController.swift
...Classes/Modules/Login(登录)/C/YHWebViewViewController.swift
+1
-1
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+24
-19
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/C/YHPreviewMainViewController.swift
View file @
06983ff0
...
...
@@ -250,6 +250,9 @@ extension YHPreviewMainViewController : UITableViewDelegate,UITableViewDataSourc
let
cell
=
UITableViewCell
()
cellView
.
view
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
cell
.
contentView
.
bounds
.
size
.
width
,
height
:
myCellHeight
)
cell
.
contentView
.
addSubview
(
cellView
.
view
)
cellView
.
view
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalTo
(
0
)
}
return
cell
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHWebViewViewController.swift
View file @
06983ff0
...
...
@@ -14,7 +14,7 @@ class YHWebViewViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
var
webview
=
WKWebView
()
var
progBar
=
UIProgressView
()
// var url = "https://www.baidu.com"
var
url
=
"https://docs.qq.com/openapi/drive/v2/files/embed/temporary?timestamp=17102
46548&id=a7b1253f3c344fd1878efaef62ef89cf
&clientID=2aebc2da4f0b4883bf33ef20836f2e2d"
var
url
=
"https://docs.qq.com/openapi/drive/v2/files/embed/temporary?timestamp=17102
94842&id=50b4f6dab5df4497aeb23e5a54933d83
&clientID=2aebc2da4f0b4883bf33ef20836f2e2d"
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
06983ff0
...
...
@@ -8,6 +8,7 @@
import
UIKit
import
SnapKit
import
NEConversationUIKit
import
SafariServices
enum
YHPersonalModuleItemType
:
Int
{
case
none
=
0
...
...
@@ -168,32 +169,36 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
if
(
indexPath
.
row
>=
items
.
count
)
{
return
}
// if !checkLogin() {
// let vc = UINavigationController(rootVC: YHPhoneLoginViewController())
// vc.modalPresentationStyle = .custom
// self.navigationController?.present(vc, animated: true)
// } else {
// YHHUD.flash(message: "已登录: 功能完善中...")
// }
if
indexPath
.
row
==
0
{
// if let url = URL(string: "https://docs.qq.com/doc/DTEFUd0FnQnRCdlBt"), UIApplication.shared.canOpenURL(url) {
// UIApplication.shared.open(url, options: [:], completionHandler: nil)
// }
let
vc
=
YHWebViewViewController
()
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
!
checkLogin
()
{
let
vc
=
UINavigationController
(
rootVC
:
YHPhoneLoginViewController
())
vc
.
modalPresentationStyle
=
.
custom
self
.
navigationController
?
.
present
(
vc
,
animated
:
true
)
}
else
{
let
vc
=
YHWebViewViewController
()
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
YHHUD
.
flash
(
message
:
"已登录: 功能完善中..."
)
}
return
// let url = URL(string: "https://docs.qq.com/openapi/drive/v2/files/embed/temporary?timestamp=1710298232&id=6bcaa379b0e5488abbaff85d51ee2fab&clientID=2aebc2da4f0b4883bf33ef20836f2e2d")!
//
// let tmpVC = SFSafariViewController(url: url)
// navigationController?.pushViewController(tmpVC)
//
//
// return
return
//for test hjl
// if indexPath.row == 0 {
//
//
// let vc = YHWebViewViewController()
// navigationController?.pushViewController(vc, animated: true)
// } else {
// let vc = YHWebViewViewController()
// navigationController?.pushViewController(vc, animated: true)
// }
//
// return
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
];
...
...
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