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
1246862e
Commit
1246862e
authored
Nov 05, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 售后H5测评入口 数据结构
parent
5e63b9f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
YHHomePageViewController.swift
...Classes/Modules/Home(首页)/C/YHHomePageViewController.swift
+2
-2
YHSignerInfoModel.swift
...galaxy/Classes/Modules/Home(首页)/M/YHSignerInfoModel.swift
+12
-0
YHHomeHeadView.swift
...xy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomePageViewController.swift
View file @
1246862e
...
...
@@ -496,10 +496,10 @@ extension YHHomePageViewController {
let
indexPathToCheck
=
IndexPath
(
item
:
itemIndex
,
section
:
section
)
// 然后,检查这个IndexPath是否在当前可见的item列表中
if
homeCollectView
.
indexPathsForVisibleItems
.
contains
(
indexPathToCheck
)
{
printLog
(
"第
\(
itemNumber
)
个item已经展示出来了"
)
//
printLog("第\(itemNumber)个item已经展示出来了")
loadMoreData
()
}
else
{
printLog
(
"
\(
itemNumber
)
目标不在范围内"
)
//
printLog("\(itemNumber)目标不在范围内")
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/M/YHSignerInfoModel.swift
View file @
1246862e
...
...
@@ -13,6 +13,18 @@ class YHSignerInfoModel: SmartCodable {
var
name
:
String
=
""
var
sex
:
Int
=
0
//0未知 1男 2女
var
registration_timestamp
:
Int64
=
-
1
//售后H5问卷信息
var
afterSalesH5Info
:
YHAfterSalesH5InfoModel
?
required
init
()
{
}
}
class
YHAfterSalesH5InfoModel
:
SmartCodable
{
var
show
:
Bool
=
false
//是否展示
var
url
:
String
=
""
//跳转url
required
init
()
{
}
}
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
View file @
1246862e
...
...
@@ -73,7 +73,7 @@ class YHHomeHeadView: UIView {
}()
//4.1 测评页入口 - 未登录时
才
展示
//4.1 测评页入口 - 未登录时
/没有订单时
展示
lazy
var
evaluationView
:
YHEvaluationView
=
{
let
view
=
YHEvaluationView
(
frame
:
.
zero
)
view
.
isHidden
=
true
...
...
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