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
18826261
Commit
18826261
authored
Feb 01, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 配偶初始信息
parent
d02e3f34
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
113 additions
and
95 deletions
+113
-95
YHChildInitialInfoVC.swift
...viceProcess(流程)/FamilyMember/C/YHChildInitialInfoVC.swift
+1
-1
YHSpouseInfoVC.swift
...心)/ServiceProcess(流程)/FamilyMember/C/YHSpouseInfoVC.swift
+1
-0
YHSpouseInitialInfoVC.swift
...iceProcess(流程)/FamilyMember/C/YHSpouseInitialInfoVC.swift
+65
-41
YHFamilyInitialInfo.swift
...rviceProcess(流程)/FamilyMember/M/YHFamilyInitialInfo.swift
+44
-53
YHFormItemDoubleChoiceCell.swift
...ss(流程)/FamilyMember/View/YHFormItemDoubleChoiceCell.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHChildInitialInfoVC.swift
View file @
18826261
...
@@ -92,7 +92,7 @@ class YHChildInitialInfoVC: YHBaseViewController {
...
@@ -92,7 +92,7 @@ class YHChildInitialInfoVC: YHBaseViewController {
if
child
.
isFollow
()
{
// 随行才加后面的信息
if
child
.
isFollow
()
{
// 随行才加后面的信息
// 国籍
// 国籍
let
title1
=
YHFormTitleItem
(
type
:
.
countr
y
)
let
title1
=
YHFormTitleItem
(
type
:
.
nationalit
y
)
let
item10
=
YHFormDetailItem
(
type
:
.
nationOrArea
)
let
item10
=
YHFormDetailItem
(
type
:
.
nationOrArea
)
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHSpouseInfoVC.swift
View file @
18826261
...
@@ -147,6 +147,7 @@ class YHSpouseInfoVC: YHBaseViewController, YHSpouseInfoVCProtocol {
...
@@ -147,6 +147,7 @@ class YHSpouseInfoVC: YHBaseViewController, YHSpouseInfoVCProtocol {
}
}
}
}
self
.
view
.
bringSubviewToFront
(
stepView
)
self
.
view
.
bringSubviewToFront
(
stepView
)
self
.
view
.
bringSubviewToFront
(
bottomView
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHSpouseInitialInfoVC.swift
View file @
18826261
...
@@ -63,7 +63,7 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
...
@@ -63,7 +63,7 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
if
spouse
.
isFollow
()
{
// 随行才加后面的信息
if
spouse
.
isFollow
()
{
// 随行才加后面的信息
// 国籍
// 国籍
let
title1
=
YHFormTitleItem
(
type
:
.
countr
y
)
let
title1
=
YHFormTitleItem
(
type
:
.
nationalit
y
)
let
item10
=
YHFormDetailItem
(
type
:
.
nationOrArea
)
let
item10
=
YHFormDetailItem
(
type
:
.
nationOrArea
)
item10
.
value
=
spouse
.
nationality
item10
.
value
=
spouse
.
nationality
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
...
@@ -72,7 +72,7 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
...
@@ -72,7 +72,7 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
var
arr2
=
[
YHFormItemProtocol
]()
var
arr2
=
[
YHFormItemProtocol
]()
let
title2
=
YHFormTitleItem
(
type
:
.
liveInfo
)
let
title2
=
YHFormTitleItem
(
type
:
.
liveInfo
)
let
item20
=
YHFormDetailItem
(
type
:
.
isLiveTother
)
let
item20
=
YHFormDetailItem
(
type
:
.
isLiveTother
)
item20
.
value
=
String
(
spouse
.
finishFollow
==
1
)
item20
.
value
=
String
(
spouse
.
isLiveTother
()
)
arr2
.
append
(
title2
)
arr2
.
append
(
title2
)
arr2
.
append
(
item20
)
arr2
.
append
(
item20
)
...
@@ -85,15 +85,29 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
...
@@ -85,15 +85,29 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
if
let
address
=
spouse
.
address
{
if
let
address
=
spouse
.
address
{
if
let
country
=
address
.
country
,
!
country
.
isEmpty
{
if
let
country
=
address
.
country
,
!
country
.
isEmpty
{
let
item22
=
YHFormDetailItem
(
type
:
.
liveCity
)
if
let
area
=
address
.
area
{
// 居住信息中选择中国才会显示现居住城市
item22
.
value
=
area
.
joined
(
separator
:
"/"
)
let
isLiveInChina
=
country
.
contains
(
"中国"
.
local
)
if
isLiveInChina
{
let
item22
=
YHFormDetailItem
(
type
:
.
liveCity
)
if
let
area
=
address
.
area
{
item22
.
value
=
area
.
joined
(
separator
:
"/"
)
}
arr2
.
append
(
item22
)
}
}
let
item23
=
YHFormDetailItem
(
type
:
.
detailAddress
)
let
item23
=
YHFormDetailItem
(
type
:
.
detailAddress
)
item23
.
value
=
address
.
details
item23
.
value
=
address
.
details
item23
.
placeHolder
=
"请填写小区、楼栋、单元室等"
item23
.
placeHolder
=
(
isLiveInChina
?
"请填写小区、楼栋、单元室等"
.
local
:
"请填写国外居住地"
.
local
)
arr2
.
append
(
item22
)
arr2
.
append
(
item23
)
arr2
.
append
(
item23
)
if
!
isLiveInChina
{
// 在国外
// 是否在海外居住满1年及以上
let
item24
=
YHFormDetailItem
(
type
:
.
isLiveOverSeasMore1Year
)
item24
.
value
=
String
(
spouse
.
isOverSeasOver1Year
())
arr2
.
append
(
item24
)
}
}
}
}
}
}
}
...
@@ -155,7 +169,7 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -155,7 +169,7 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
let
detailItem
=
item
as!
YHFormDetailItem
let
detailItem
=
item
as!
YHFormDetailItem
// 是否随行到香港 / 是否办理港澳通行证 / // 是否与主申请人同住 均用双项按钮cell
// 是否随行到香港 / 是否办理港澳通行证 / // 是否与主申请人同住 均用双项按钮cell
if
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassPort
||
detailItem
.
type
==
.
isLiveTother
{
if
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassPort
||
detailItem
.
type
==
.
isLiveTother
||
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemDoubleChoiceCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemDoubleChoiceCell
cell
.
title
=
detailItem
.
getTitle
()
cell
.
title
=
detailItem
.
getTitle
()
...
@@ -171,29 +185,34 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -171,29 +185,34 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
[
weak
self
]
(
arr
,
selectIndex
)
in
[
weak
self
]
(
arr
,
selectIndex
)
in
guard
let
self
=
self
else
{
return
}
let
selectItem
:
YHFormChoiceItem
=
arr
[
selectIndex
]
let
selectItem
:
YHFormChoiceItem
=
arr
[
selectIndex
]
let
option
=
(
selectItem
.
title
==
"是"
.
local
?
true
:
false
)
let
option
=
(
selectItem
.
title
==
"是"
.
local
?
true
:
false
)
if
detailItem
.
type
==
.
isAccompanyToHK
{
// 是否随行
if
detailItem
.
type
==
.
isAccompanyToHK
{
// 是否随行
self
?
.
spouse
?
.
setFollow
(
option
)
self
.
spouse
?
.
setFollow
(
option
)
self
?
.
loadSponseInfo
()
self
.
loadSponseInfo
()
if
let
delegate
=
self
?
.
delegate
{
if
let
delegate
=
self
.
delegate
{
delegate
.
updateStepView
?()
delegate
.
updateStepView
?()
}
}
}
else
if
detailItem
.
type
==
.
isHandleHKPassPort
{
// 是否办理港澳通行证
}
else
if
detailItem
.
type
==
.
isHandleHKPassPort
{
// 是否办理港澳通行证
self
?
.
spouse
?
.
setNeedHandleHKPassPort
(
option
)
self
.
spouse
?
.
setNeedHandleHKPassPort
(
option
)
self
?
.
loadSponseInfo
()
self
.
loadSponseInfo
()
}
else
if
detailItem
.
type
==
.
isLiveTother
{
// 是否与主申请人同住
}
else
if
detailItem
.
type
==
.
isLiveTother
{
// 是否与主申请人同住
self
?
.
spouse
?
.
setLiveTother
(
option
)
self
.
spouse
?
.
setLiveTother
(
option
)
if
option
{
if
option
{
self
?
.
spouse
?
.
address
?
.
country
=
nil
self
.
spouse
?
.
address
?
.
country
=
nil
self
?
.
spouse
?
.
address
?
.
details
=
nil
self
.
spouse
?
.
address
?
.
details
=
nil
self
?
.
spouse
?
.
address
?
.
area
=
nil
self
.
spouse
?
.
address
?
.
area
=
nil
}
}
self
?
.
loadSponseInfo
()
self
.
loadSponseInfo
()
}
else
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
// 是否在海外居住满1年及以上
self
.
spouse
?
.
setOverSearsOver1Year
(
option
)
self
.
loadSponseInfo
()
}
}
}
}
return
cell
return
cell
...
@@ -259,7 +278,8 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -259,7 +278,8 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
let
detailItem
=
item
as!
YHFormDetailItem
let
detailItem
=
item
as!
YHFormDetailItem
if
detailItem
.
type
==
.
isLiveTother
||
if
detailItem
.
type
==
.
isLiveTother
||
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassPort
detailItem
.
type
==
.
isHandleHKPassPort
||
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
{
return
UITableView
.
automaticDimension
return
UITableView
.
automaticDimension
}
}
...
@@ -294,30 +314,34 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -294,30 +314,34 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
let
detailItem
=
item
as!
YHFormDetailItem
let
detailItem
=
item
as!
YHFormDetailItem
// 选国籍/现居住城市/详细地址
// 选国籍/现居住城市/详细地址
if
detailItem
.
type
==
.
nationOrArea
{
if
detailItem
.
type
==
.
nationOrArea
{
// YHSelectCountryViewController
let
vc
=
YHSelectCountryViewController
()
vc
.
backLocationStringController
=
{
[
weak
self
]
country
in
guard
let
self
=
self
else
{
return
}
let
title
=
arr
[
0
]
as!
YHFormTitleItem
if
title
.
type
==
.
nationality
{
self
.
spouse
?
.
nationality
=
country
}
else
if
title
.
type
==
.
liveInfo
{
self
.
spouse
?
.
address
?
.
country
=
country
}
self
.
loadSponseInfo
()
}
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
detailItem
.
type
==
.
liveCity
{
}
else
if
detailItem
.
type
==
.
liveCity
{
let
vc
=
YHAddressViewController
()
// YHFormPickerView.show(type:.certificate, selectType: .certificate(.passport)) { [weak self] selectType in
vc
.
backLocationStringController
=
{
// let res = selectType.title
[
weak
self
]
(
string1
,
string2
,
string3
,
string4
)
in
// if let self = self {
guard
let
self
=
self
else
{
return
}
// if detailItem.type == .nationOrArea {
print
(
"
\(
string1
)\n\(
string2
)\n\(
string3
)\n\(
string4
)
"
)
// let title = arr[0] as! YHFormTitleItem
self
.
spouse
?
.
address
?
.
area
=
[
string2
,
string3
,
string4
]
// if title.type == .liveInfo {
self
.
loadSponseInfo
()
// self.spouse?.address?.country = res
}
// } else if title.type == .country {
self
.
present
(
vc
,
animated
:
true
)
// self.spouse?.nationality = res
// }
//
// } else if detailItem.type == .liveCity {
// self.spouse?.address?.area = [res, res]
// }
// self.loadSponseInfo()
// }
// }
}
else
if
detailItem
.
type
==
.
detailAddress
{
// self.spouse?.address?.details = res
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/M/YHFamilyInitialInfo.swift
View file @
18826261
...
@@ -30,7 +30,7 @@ enum YHFormTitleItemType:Int, CaseIterable {
...
@@ -30,7 +30,7 @@ enum YHFormTitleItemType:Int, CaseIterable {
// 随行
// 随行
case
accompany
case
accompany
// 国籍
// 国籍
case
countr
y
case
nationalit
y
// 居住信息
// 居住信息
case
liveInfo
case
liveInfo
// 港澳通信证
// 港澳通信证
...
@@ -88,6 +88,8 @@ enum YHFormDetailItemType:Int {
...
@@ -88,6 +88,8 @@ enum YHFormDetailItemType:Int {
case
liveCity
case
liveCity
// 详细地址
// 详细地址
case
detailAddress
case
detailAddress
// 是否在海外居住满1年及以上
case
isLiveOverSeasMore1Year
// 是否办理
// 是否办理
case
isHandleHKPassPort
case
isHandleHKPassPort
...
@@ -208,7 +210,7 @@ class YHFormTitleItem : YHFormItemProtocol {
...
@@ -208,7 +210,7 @@ class YHFormTitleItem : YHFormItemProtocol {
return
"子女"
.
local
return
"子女"
.
local
case
.
accompany
:
case
.
accompany
:
return
"随行"
.
local
return
"随行"
.
local
case
.
countr
y
:
case
.
nationalit
y
:
return
"国籍"
.
local
return
"国籍"
.
local
case
.
liveInfo
:
case
.
liveInfo
:
return
"居住信息"
.
local
return
"居住信息"
.
local
...
@@ -258,7 +260,7 @@ class YHFormTitleItem : YHFormItemProtocol {
...
@@ -258,7 +260,7 @@ class YHFormTitleItem : YHFormItemProtocol {
return
""
.
local
return
""
.
local
case
.
accompany
:
case
.
accompany
:
return
""
.
local
return
""
.
local
case
.
countr
y
:
case
.
nationalit
y
:
return
""
.
local
return
""
.
local
case
.
liveInfo
:
case
.
liveInfo
:
return
""
.
local
return
""
.
local
...
@@ -323,70 +325,50 @@ class YHFormDetailItem : YHFormItemProtocol {
...
@@ -323,70 +325,50 @@ class YHFormDetailItem : YHFormItemProtocol {
return
"现居住城市"
.
local
return
"现居住城市"
.
local
case
.
detailAddress
:
case
.
detailAddress
:
return
"详细地址"
.
local
return
"详细地址"
.
local
case
.
isLiveOverSeasMore1Year
:
return
"是否在海外居住满1年及以上"
.
local
case
.
isHandleHKPassPort
:
case
.
isHandleHKPassPort
:
return
"是否办理"
.
local
return
"是否办理"
.
local
// 证件类别
case
.
certificateType
:
case
.
certificateType
:
return
"证件类别"
.
local
return
"证件类别"
.
local
// 证件号码
case
.
certificateNumber
:
case
.
certificateNumber
:
return
"证件号码"
.
local
return
"证件号码"
.
local
// 证件号码
case
.
chinaIdentityCardNumber
:
case
.
chinaIdentityCardNumber
:
return
"中国身份证号"
.
local
return
"中国身份证号"
.
local
// 旅行证件号码
case
.
traverlPassportNumber
:
case
.
traverlPassportNumber
:
return
"旅行证件号码"
.
local
return
"旅行证件号码"
.
local
// 签发日期
case
.
certificateSignDate
:
case
.
certificateSignDate
:
return
"签发日期"
.
local
return
"签发日期"
.
local
// 届满日期
case
.
certificateValidDate
:
case
.
certificateValidDate
:
return
"届满日期"
.
local
return
"届满日期"
.
local
case
.
certificateSignPlace
:
case
.
certificateSignPlace
:
return
"签发地"
.
local
return
"签发地"
.
local
// 配偶姓名
case
.
spouseName
:
case
.
spouseName
:
return
"配偶姓名"
.
local
return
"配偶姓名"
.
local
// 曾用名
case
.
everName
:
case
.
everName
:
return
"曾用名"
.
local
return
"曾用名"
.
local
// 婚前姓氏
case
.
befourMarryFirstName
:
case
.
befourMarryFirstName
:
return
"婚前姓氏"
.
local
return
"婚前姓氏"
.
local
// 出生日期
case
.
birthday
:
case
.
birthday
:
return
"出生日期"
.
local
return
"出生日期"
.
local
// 出生国家/地区
case
.
birthNation
:
case
.
birthNation
:
return
"出生国家/地区"
.
local
return
"出生国家/地区"
.
local
// 出生城市
case
.
birthCity
:
case
.
birthCity
:
return
"出生城市"
.
local
return
"出生城市"
.
local
// 职业
case
.
occupation
:
case
.
occupation
:
return
"职业"
.
local
return
"职业"
.
local
// 职业名称
case
.
occupationName
:
case
.
occupationName
:
return
"职业名称"
.
local
return
"职业名称"
.
local
// 是否拥有学位
case
.
ownDegree
:
case
.
ownDegree
:
return
"是否拥有学位"
.
local
return
"是否拥有学位"
.
local
// 目前是否在港
case
.
isNowInHK
:
case
.
isNowInHK
:
return
"目前是否在港"
.
local
return
"目前是否在港"
.
local
// 获准逗留至
case
.
stayHKDate
:
case
.
stayHKDate
:
return
"获准逗留至"
.
local
return
"获准逗留至"
.
local
// 在港身份
case
.
roleInHK
:
case
.
roleInHK
:
return
"在港身份"
.
local
return
"在港身份"
.
local
// 是否办理过(香港身份证)
case
.
isHaveHkIdentityCard
:
case
.
isHaveHkIdentityCard
:
return
"是否办理过"
.
local
return
"是否办理过"
.
local
// 香港身份证号码
case
.
hkIdentityCardNumber
:
case
.
hkIdentityCardNumber
:
return
"香港身份证号码"
.
local
return
"香港身份证号码"
.
local
case
.
degreeDetailInfo
:
case
.
degreeDetailInfo
:
...
@@ -474,34 +456,6 @@ enum YHFamilyMemberType: Int {
...
@@ -474,34 +456,6 @@ enum YHFamilyMemberType: Int {
class
YHFamilyMember
:
SmartCodable
,
YHFormItemProtocol
{
class
YHFamilyMember
:
SmartCodable
,
YHFormItemProtocol
{
// 是否随行
func
isFollow
()
->
Bool
{
return
follow
==
1
}
func
setFollow
(
_
follow
:
Bool
)
{
self
.
follow
=
(
follow
?
1
:
0
)
}
// 是否要办理港澳通行证
func
isNeedHandleHKPassPort
()
->
Bool
{
return
self
.
isHandled
==
1
}
func
setNeedHandleHKPassPort
(
_
need
:
Bool
)
{
self
.
isHandled
=
(
need
?
1
:
0
)
}
// 是否与主申请人同住
func
isLiveTother
()
->
Bool
{
return
self
.
finishFollow
==
1
}
func
setLiveTother
(
_
together
:
Bool
)
{
self
.
finishFollow
=
(
together
?
1
:
0
)
}
var
id
:
Int
=
0
var
id
:
Int
=
0
var
deceased
:
Int
=
0
var
deceased
:
Int
=
0
var
custody
:
Int
=
0
var
custody
:
Int
=
0
...
@@ -618,6 +572,43 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
...
@@ -618,6 +572,43 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
}
}
// 是否随行
func
isFollow
()
->
Bool
{
return
follow
==
1
}
func
setFollow
(
_
follow
:
Bool
)
{
self
.
follow
=
(
follow
?
1
:
0
)
}
// 是否要办理港澳通行证
func
isNeedHandleHKPassPort
()
->
Bool
{
return
self
.
isHandled
==
1
}
func
setNeedHandleHKPassPort
(
_
need
:
Bool
)
{
self
.
isHandled
=
(
need
?
1
:
0
)
}
// 是否与主申请人同住
func
isLiveTother
()
->
Bool
{
return
self
.
nows
==
1
}
func
setLiveTother
(
_
together
:
Bool
)
{
self
.
nows
=
(
together
?
1
:
0
)
}
// 是否在海外居住满1年及以上
func
isOverSeasOver1Year
()
->
Bool
{
return
self
.
isLiveOverseaYear
==
1
}
func
setOverSearsOver1Year
(
_
value
:
Bool
)
{
self
.
isLiveOverseaYear
=
value
?
1
:
0
}
var
relationType
:
YHFamilyMemberType
{
var
relationType
:
YHFamilyMemberType
{
if
relation
==
"1"
{
if
relation
==
"1"
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemDoubleChoiceCell.swift
View file @
18826261
...
@@ -86,6 +86,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
...
@@ -86,6 +86,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
systemFont
(
ofSize
:
14
)
label
.
font
=
UIFont
.
systemFont
(
ofSize
:
14
)
label
.
lineBreakMode
=
.
byCharWrapping
return
label
return
label
}()
}()
...
@@ -160,6 +161,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
...
@@ -160,6 +161,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
}
}
}
}
@objc
func
didClickResponseBtn
(
btn
:
UIButton
)
{
@objc
func
didClickResponseBtn
(
btn
:
UIButton
)
{
let
selectIndex
=
btn
.
tag
-
answerBaseTag
let
selectIndex
=
btn
.
tag
-
answerBaseTag
...
...
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