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
7d955dd8
Commit
7d955dd8
authored
Jun 18, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'teach_video' into develop-tx-618
parents
9ffd1578
d733281c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
61 additions
and
4 deletions
+61
-4
YHGCPreviewViewModel.swift
...息流程)/PersonInfoList(个人信息预览)/VM/YHGCPreviewViewModel.swift
+3
-3
YHLoginViewModel.swift
...alaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
+2
-0
YHMyNewViewController.swift
...xy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
+33
-1
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-0
Contents.json
...sets.xcassets/Mine/mine_item_video.imageset/Contents.json
+22
-0
icon_我的课程@2x.png
...s.xcassets/Mine/mine_item_video.imageset/icon_我的课程@2x.png
+0
-0
icon_我的课程@3x.png
...s.xcassets/Mine/mine_item_video.imageset/icon_我的课程@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/VM/YHGCPreviewViewModel.swift
View file @
7d955dd8
...
...
@@ -554,7 +554,7 @@ private extension YHGCPreviewViewModel {
do
{
// 主申请人
let
title
=
model0
.
qla_correct
==
1
?
"是"
:
"否"
let
title
=
model0
.
is_name_same
==
true
?
"是"
:
"否"
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
"1、您的所有学历及资格证书的姓名及出生日期,是否与身份证完全一致?(例如:身份证上是【张四】,学位证上是【张三】,则为不同"
,
answer
:
title
)
// let title2 = model0.edu_correct == 1 ? "是" : "否"
...
...
@@ -1293,7 +1293,7 @@ private extension YHGCPreviewViewModel {
}
}
let
tmp7
=
YHPreviewQuestionAndAnswerModel
(
question
:
"届满日期:"
,
answer
:
str
.
defaultStringIfEmpty
())
let
model1
=
YHPersonInfoCellModel1
(
cellTitle
:
"
港澳通行
证"
,
cellData
:
[
tmp4
,
tmp5
,
tmp6
,
tmp7
])
let
model1
=
YHPersonInfoCellModel1
(
cellTitle
:
"
中国身份
证"
,
cellData
:
[
tmp4
,
tmp5
,
tmp6
,
tmp7
])
cerInfoArr
.
append
(
model1
)
}
...
...
@@ -1627,7 +1627,7 @@ private extension YHGCPreviewViewModel {
}
}
let
tmp7
=
YHPreviewQuestionAndAnswerModel
(
question
:
"届满日期:"
,
answer
:
str
.
defaultStringIfEmpty
())
let
model1
=
YHPersonInfoCellModel1
(
cellTitle
:
"
港澳通行
证"
,
cellData
:
[
tmp4
,
tmp5
,
tmp6
,
tmp7
])
let
model1
=
YHPersonInfoCellModel1
(
cellTitle
:
"
中国身份
证"
,
cellData
:
[
tmp4
,
tmp5
,
tmp6
,
tmp7
])
cerInfoArr
.
append
(
model1
)
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
View file @
7d955dd8
...
...
@@ -24,8 +24,10 @@ class YHUserMemberInfoModel: SmartCodable {
var
current_level
:
Int
=
0
var
growth_value
:
Int
=
0
var
max_growth
:
Int
=
0
var
has_education_video_permission
:
Bool
=
false
required
init
()
{
}
func
getVipMemberLevel
()
->
YHUserVipLevel
{
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
View file @
7d955dd8
...
...
@@ -260,6 +260,11 @@ class YHMyNewViewController: YHBaseViewController {
serviceGroupArr
.
append
(
item
)
}
if
self
.
loginViewModel
.
memberInfo
.
has_education_video_permission
{
let
item
=
PersonalModuleItem
(
icon
:
"mine_item_video"
,
title
:
"我的课程"
.
local
,
type
:
.
myCourseVideo
)
serviceGroupArr
.
append
(
item
)
}
// 其他功能
do
{
let
item
=
PersonalModuleItem
(
icon
:
"mine_item_msg"
,
title
:
"我的消息"
.
local
,
type
:
.
myMessage
)
...
...
@@ -414,6 +419,8 @@ extension YHMyNewViewController {
let
memberInfo
=
self
.
loginViewModel
.
memberInfo
self
.
userInfoView
.
vipLevel
=
memberInfo
.
getVipMemberLevel
()
self
.
vipInfoView
.
update
(
growValue
:
memberInfo
.
growth_value
,
vipLevel
:
memberInfo
.
getVipMemberLevel
())
self
.
loadItems
()
}
}
else
{
self
.
userInfoView
.
vipLevel
=
.
none
...
...
@@ -713,7 +720,32 @@ extension YHMyNewViewController {
UIViewController
.
current
?
.
tabBarController
?
.
selectedIndex
=
1
case
.
inviteFriends
:
inviteFriends
()
case
.
myCourseVideo
:
if
let
token
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
token
.
count
>
5
{
var
url
=
YHBaseUrlManager
.
shared
.
supportH5URL
()
+
"articleDetail.html#/video-list"
url
=
url
+
"?param="
+
YHLoginManager
.
shared
.
h5Token
printLog
(
"URL:
\(
url
)
"
)
var
tUrl
=
url
if
!
url
.
contains
(
"navigationH="
)
{
tUrl
=
url
+
"?navigationH=
\(
k_Height_NavigationtBarAndStatuBar
)
"
if
url
.
contains
(
"?"
)
{
tUrl
=
url
+
"&navigationH=
\(
k_Height_NavigationtBarAndStatuBar
)
"
}
}
if
!
url
.
contains
(
"statusBarH="
)
{
tUrl
=
url
+
"?statusBarH=
\(
k_Height_StatusBar
)
"
if
url
.
contains
(
"?"
)
{
tUrl
=
url
+
"&statusBarH=
\(
k_Height_StatusBar
)
"
}
}
let
vc
=
YHH5WebViewVC
()
vc
.
url
=
tUrl
vc
.
isFullScreenFlag
=
false
vc
.
navTitle
=
"我的课程"
vc
.
isSupportWebviewInterBackFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
default
:
printLog
(
"不需要响应"
)
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
7d955dd8
...
...
@@ -22,6 +22,7 @@ enum YHPersonalModuleItemType: Int {
case
myTestCode
case
appointGalaxyBay
case
exchangeHistory
case
myCourseVideo
case
notifySettings
case
permissionSettings
...
...
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_video.imageset/Contents.json
0 → 100644
View file @
7d955dd8
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"icon_我的课程@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"icon_我的课程@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_video.imageset/icon_我的课程@2x.png
0 → 100644
View file @
7d955dd8
731 Bytes
galaxy/galaxy/Res/Assets.xcassets/Mine/mine_item_video.imageset/icon_我的课程@3x.png
0 → 100644
View file @
7d955dd8
951 Bytes
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