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
b2df442e
Commit
b2df442e
authored
Mar 11, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、其他资料的展示问题
2、另一个文案展示的问题
parent
924debce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
12 deletions
+57
-12
YHScoreOptionsView.swift
...rviceProcess(流程)/MyScore(我的评分)/V/YHScoreOptionsView.swift
+2
-0
YHOtherInfoFillModel.swift
...s(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
+1
-0
YHOtherInfoFillCell.swift
...ss(流程)/OtherInformation(其他信息)/V/YHOtherInfoFillCell.swift
+1
-1
YHPreviewViewModel.swift
...ss(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
+47
-10
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+6
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MyScore(我的评分)/V/YHScoreOptionsView.swift
View file @
b2df442e
...
@@ -60,6 +60,8 @@ class YHScoreOptionsView: UIView {
...
@@ -60,6 +60,8 @@ class YHScoreOptionsView: UIView {
private
extension
YHScoreOptionsView
{
private
extension
YHScoreOptionsView
{
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
.
white
addSubview
(
bottomLine
)
addSubview
(
bottomLine
)
bottomLine
.
snp
.
makeConstraints
{
make
in
bottomLine
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
left
.
right
.
equalToSuperview
()
make
.
bottom
.
left
.
right
.
equalToSuperview
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
View file @
b2df442e
...
@@ -52,6 +52,7 @@ class LanguageDetail : SmartCodable {
...
@@ -52,6 +52,7 @@ class LanguageDetail : SmartCodable {
var
levelDes
:
String
=
""
var
levelDes
:
String
=
""
var
name
:
String
=
""
var
name
:
String
=
""
var
remark
:
String
=
""
var
remark
:
String
=
""
var
localRemark
:
String
=
""
//以下为本地使用的参数
//以下为本地使用的参数
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherInfoFillCell.swift
View file @
b2df442e
...
@@ -385,7 +385,7 @@ extension YHOtherInfoFillCell {
...
@@ -385,7 +385,7 @@ extension YHOtherInfoFillCell {
//7、其他奖励
//7、其他奖励
let
fzView7
=
YHOtherTextViewItemView
(
frame
:
.
zero
)
let
fzView7
=
YHOtherTextViewItemView
(
frame
:
.
zero
)
fzView7
.
updateUI
(
title
:
"7、其他
奖励
"
,
value
:
dataModel
.
question
?
.
other_information
??
""
,
type
:
.
otherAwards
)
fzView7
.
updateUI
(
title
:
"7、其他
资料
"
,
value
:
dataModel
.
question
?
.
other_information
??
""
,
type
:
.
otherAwards
)
fzView7
.
block
=
{
txt
in
fzView7
.
block
=
{
txt
in
dataModel
.
question
?
.
other_information
=
txt
dataModel
.
question
?
.
other_information
=
txt
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
View file @
b2df442e
...
@@ -692,7 +692,12 @@ private extension YHPreviewViewModel {
...
@@ -692,7 +692,12 @@ private extension YHPreviewViewModel {
//语言能力
//语言能力
if
let
model
=
otherInfoPreviewModel
?
.
language
{
if
let
model
=
otherInfoPreviewModel
?
.
language
{
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
model
.
levelDes
,
answer
:
model
.
remark
)
var
title
=
""
if
model
.
level
==
4
{
title
=
model
.
name
.
defaultStringIfEmpty
()
+
"
\n
"
+
model
.
remark
.
defaultStringIfEmpty
()
}
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
model
.
levelDes
,
answer
:
model
.
localRemark
,
remark
:
title
)
let
arr
=
[
tmp0
]
let
arr
=
[
tmp0
]
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
questionAndAnswer
,
cellTitle
:
"语言能力"
,
cellData0
:
arr
)
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
questionAndAnswer
,
cellTitle
:
"语言能力"
,
cellData0
:
arr
)
arrDataForOtherInfo
.
append
(
model1
)
arrDataForOtherInfo
.
append
(
model1
)
...
@@ -739,7 +744,7 @@ private extension YHPreviewViewModel {
...
@@ -739,7 +744,7 @@ private extension YHPreviewViewModel {
if
target
==
item
[
"id"
]
{
if
target
==
item
[
"id"
]
{
language
.
levelDes
=
item
[
"title"
]
??
"--"
language
.
levelDes
=
item
[
"title"
]
??
"--"
language
.
r
emark
=
item
[
"dec"
]
??
"--"
language
.
localR
emark
=
item
[
"dec"
]
??
"--"
break
break
}
}
}
}
...
@@ -1212,7 +1217,7 @@ private extension YHPreviewViewModel {
...
@@ -1212,7 +1217,7 @@ private extension YHPreviewViewModel {
installDataForSpouseOp
(
model
:
model
)
installDataForSpouseOp
(
model
:
model
)
}
}
private
func
installDataForChildOp
(
model
:
YHFamilyMember
,
childIndex
:
Int
)
{
private
func
installDataForChildOp
(
model
:
YHFamilyMember
,
childIndex
:
Int
,
totalChild
:
Int
=
0
)
{
var
arrTemp
:
[
YHPreviewInfoSessionModel
]
=
[]
var
arrTemp
:
[
YHPreviewInfoSessionModel
]
=
[]
do
{
do
{
if
model
.
follow
!=
1
{
if
model
.
follow
!=
1
{
...
@@ -1221,7 +1226,13 @@ private extension YHPreviewViewModel {
...
@@ -1221,7 +1226,13 @@ private extension YHPreviewViewModel {
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
"是否随行至香港:"
,
answer
:
"否"
)
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
"是否随行至香港:"
,
answer
:
"否"
)
let
arr
=
[
tmp0
]
let
arr
=
[
tmp0
]
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"随行信息"
+
String
(
childIndex
+
1
),
cellData0
:
arr
)
var
title
=
""
if
totalChild
>
1
{
title
=
String
(
childIndex
+
1
)
}
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"随行信息"
+
title
,
cellData0
:
arr
)
arrTemp
.
append
(
model1
)
arrTemp
.
append
(
model1
)
}
}
...
@@ -1265,7 +1276,12 @@ private extension YHPreviewViewModel {
...
@@ -1265,7 +1276,12 @@ private extension YHPreviewViewModel {
arr
.
append
(
tmp5
)
arr
.
append
(
tmp5
)
}
}
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"子女信息"
+
String
(
childIndex
+
1
),
cellData0
:
arr
)
var
title
=
""
if
totalChild
>
1
{
title
=
String
(
childIndex
+
1
)
}
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"子女信息"
+
title
,
cellData0
:
arr
)
arrTemp
.
append
(
model1
)
arrTemp
.
append
(
model1
)
}
}
...
@@ -1277,7 +1293,12 @@ private extension YHPreviewViewModel {
...
@@ -1277,7 +1293,12 @@ private extension YHPreviewViewModel {
let
tmp1
=
YHPreviewQuestionAndAnswerModel
(
question
:
"国家/国籍:"
,
answer
:
model
.
nationality
)
let
tmp1
=
YHPreviewQuestionAndAnswerModel
(
question
:
"国家/国籍:"
,
answer
:
model
.
nationality
)
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"港澳通行证:"
,
answer
:
model
.
isHandled
==
1
?
"已办理"
:
"未办理"
)
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"港澳通行证:"
,
answer
:
model
.
isHandled
==
1
?
"已办理"
:
"未办理"
)
let
arr
=
[
tmp00
,
tmp0
,
tmp1
,
tmp2
]
let
arr
=
[
tmp00
,
tmp0
,
tmp1
,
tmp2
]
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"随行信息"
+
String
(
childIndex
+
1
),
cellData0
:
arr
)
var
title
=
""
if
totalChild
>
1
{
title
=
String
(
childIndex
+
1
)
}
let
model1
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"随行信息"
+
title
,
cellData0
:
arr
)
arrTemp
.
append
(
model1
)
arrTemp
.
append
(
model1
)
}
}
...
@@ -1389,7 +1410,13 @@ private extension YHPreviewViewModel {
...
@@ -1389,7 +1410,13 @@ private extension YHPreviewViewModel {
let
tmp16
=
YHPreviewQuestionAndAnswerModel
(
question
:
"是否办理过香港身份证:"
,
answer
:
"否"
)
let
tmp16
=
YHPreviewQuestionAndAnswerModel
(
question
:
"是否办理过香港身份证:"
,
answer
:
"否"
)
arr
.
append
(
tmp16
)
arr
.
append
(
tmp16
)
}
}
let
model2
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"子女信息"
+
String
(
childIndex
+
1
),
cellData0
:
arr
)
var
title
=
""
if
totalChild
>
1
{
title
=
String
(
childIndex
+
1
)
}
let
model2
=
YHPreviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"子女信息"
+
title
,
cellData0
:
arr
)
arrTemp
.
append
(
model2
)
arrTemp
.
append
(
model2
)
}
}
}
}
...
@@ -1474,7 +1501,12 @@ private extension YHPreviewViewModel {
...
@@ -1474,7 +1501,12 @@ private extension YHPreviewViewModel {
arr
.
append
(
model2
)
arr
.
append
(
model2
)
}
}
let
model3
=
YHPreviewInfoSessionModel
(
cellType
:
.
idCardInfoType
,
cellTitle
:
"证件信息"
+
String
(
childIndex
+
1
),
cellData1
:
arr
)
var
title
=
""
if
totalChild
>
1
{
title
=
String
(
childIndex
+
1
)
}
let
model3
=
YHPreviewInfoSessionModel
(
cellType
:
.
idCardInfoType
,
cellTitle
:
"证件信息"
+
title
,
cellData1
:
arr
)
arrTemp
.
append
(
model3
)
arrTemp
.
append
(
model3
)
}
}
...
@@ -1493,7 +1525,12 @@ private extension YHPreviewViewModel {
...
@@ -1493,7 +1525,12 @@ private extension YHPreviewViewModel {
arr
.
append
(
model2
)
arr
.
append
(
model2
)
}
}
let
model4
=
YHPreviewInfoSessionModel
(
cellType
:
.
idPictureType
,
cellTitle
:
"证件照片"
+
String
(
childIndex
+
1
),
cellData2
:
arr
)
var
title
=
""
if
totalChild
>
1
{
title
=
String
(
childIndex
+
1
)
}
let
model4
=
YHPreviewInfoSessionModel
(
cellType
:
.
idPictureType
,
cellTitle
:
"证件照片"
+
title
,
cellData2
:
arr
)
arrTemp
.
append
(
model4
)
arrTemp
.
append
(
model4
)
}
}
}
}
...
@@ -1508,7 +1545,7 @@ private extension YHPreviewViewModel {
...
@@ -1508,7 +1545,7 @@ private extension YHPreviewViewModel {
}
}
arrDataForChildren
.
removeAll
()
arrDataForChildren
.
removeAll
()
for
(
index
,
model
)
in
model1
.
enumerated
()
{
for
(
index
,
model
)
in
model1
.
enumerated
()
{
installDataForChildOp
(
model
:
model
,
childIndex
:
index
)
installDataForChildOp
(
model
:
model
,
childIndex
:
index
,
totalChild
:
model1
.
count
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
b2df442e
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
import
UIKit
import
UIKit
class
YHPhoneLoginViewController
:
YHBaseViewController
{
class
YHPhoneLoginViewController
:
YHBaseViewController
{
var
bgImageView
:
UIImageView
!
var
bgImageView
:
UIImageView
!
var
closeButton
:
UIButton
!
var
closeButton
:
UIButton
!
var
logImageView
:
UIImageView
!
var
logImageView
:
UIImageView
!
...
@@ -186,6 +186,11 @@ class YHPhoneLoginViewController: YHBaseViewController {
...
@@ -186,6 +186,11 @@ class YHPhoneLoginViewController: YHBaseViewController {
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
}
else
{
YHHUD
.
flash
(
message
:
error
?
.
errorMsg
??
""
)
YHHUD
.
flash
(
message
:
error
?
.
errorMsg
??
""
)
#if DEBUG
let
vc
=
YHCodeSueecssViewController
()
vc
.
phoneNumber
=
self
.
phoneMessageView
.
phoneTextField
.
text
self
.
navigationController
?
.
pushViewController
(
vc
)
#endif
}
}
})
})
}
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