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
82ad94e1
Commit
82ad94e1
authored
Nov 28, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动画
parent
96ca62d1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHSelectLookView.swift
...lasses/Modules/Home(首页)/YHSelect/V/YHSelectLookView.swift
+17
-2
zhibo.json
galaxy/galaxy/Res/jsons/zhibo.json
+1
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
82ad94e1
...
...
@@ -11,6 +11,7 @@
04013E382CF84B29001A8E40
/* YHSelectViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04013E372CF84B29001A8E40
/* YHSelectViewModel.swift */
;
};
04013E3A2CF85086001A8E40
/* YHSelectCategoryModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04013E392CF85086001A8E40
/* YHSelectCategoryModel.swift */
;
};
04013E3C2CF86BB5001A8E40
/* YHSelectMenuView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04013E3B2CF86BB5001A8E40
/* YHSelectMenuView.swift */
;
};
04013E3E2CF87F3A001A8E40
/* zhibo.json in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04013E3D2CF87F3A001A8E40
/* zhibo.json */
;
};
040450CF2CC8A0F400D1CFE5
/* YHResignDocumentMultiLineTipsCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
040450CE2CC8A0F400D1CFE5
/* YHResignDocumentMultiLineTipsCell.swift */
;
};
0408C3632BEC7C6900DB1E25
/* YHVideoPlayerControlView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0408C3622BEC7C6900DB1E25
/* YHVideoPlayerControlView.swift */
;
};
0409BEEB2C5B41D4003FCFD7
/* YHPrincipleProfileListCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0409BEEA2C5B41D4003FCFD7
/* YHPrincipleProfileListCell.swift */
;
};
...
...
@@ -1075,6 +1076,7 @@
04013E372CF84B29001A8E40
/* YHSelectViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectViewModel.swift
;
sourceTree
=
"<group>"
;
};
04013E392CF85086001A8E40
/* YHSelectCategoryModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectCategoryModel.swift
;
sourceTree
=
"<group>"
;
};
04013E3B2CF86BB5001A8E40
/* YHSelectMenuView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectMenuView.swift
;
sourceTree
=
"<group>"
;
};
04013E3D2CF87F3A001A8E40
/* zhibo.json */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.json
;
path
=
zhibo.json
;
sourceTree
=
"<group>"
;
};
040450CE2CC8A0F400D1CFE5
/* YHResignDocumentMultiLineTipsCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignDocumentMultiLineTipsCell.swift
;
sourceTree
=
"<group>"
;
};
0408C3622BEC7C6900DB1E25
/* YHVideoPlayerControlView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVideoPlayerControlView.swift
;
sourceTree
=
"<group>"
;
};
0409BEEA2C5B41D4003FCFD7
/* YHPrincipleProfileListCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrincipleProfileListCell.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -5502,6 +5504,7 @@
A5DF3D4A2BF9A304003D5F03
/* jsons */
=
{
isa
=
PBXGroup
;
children
=
(
04013E3D2CF87F3A001A8E40
/* zhibo.json */
,
A5F9EA022C647D32005BCA73
/* tabbar */
,
043BA8822C24360C006EF02D
/* people_rotate */
,
043BA87C2C2435D4006EF02D
/* people_launch */
,
...
...
@@ -5734,6 +5737,7 @@
A51044182B493675006B60BB
/* README.md in Resources */
,
A5EE42012C216C78005BBA5D
/* img_0.png in Resources */
,
04F0ABF32C364F9400518C30
/* home.json in Resources */
,
04013E3E2CF87F3A001A8E40
/* zhibo.json in Resources */
,
04564D5D2CF49F0A004456E4
/* live_room_test_bg.png in Resources */
,
04943BE82CF0A0B500BF2255
/* submit_page_scroll.gif in Resources */
,
A5573EDB2B317C0000D98EC0
/* Assets.xcassets in Resources */
,
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/YHSelect/V/YHSelectLookView.swift
View file @
82ad94e1
...
...
@@ -7,6 +7,7 @@
//
import
UIKit
import
Lottie
class
YHSelectLookView
:
UIView
{
static
let
viewH
:
CGFloat
=
92.0
...
...
@@ -99,6 +100,7 @@ extension YHSelectLookView: UICollectionViewDelegate, UICollectionViewDataSource
class
YHSelectLookViewCell
:
UICollectionViewCell
{
static
let
cellReuseIdentifier
=
"YHSelectLookViewCell"
var
animationView
:
LottieAnimationView
!
lazy
var
headIamge
:
UIImageView
=
{
let
image
=
UIImageView
()
...
...
@@ -133,17 +135,30 @@ class YHSelectLookViewCell: UICollectionViewCell {
}
private
func
setupUI
()
{
contentView
.
addSubview
(
headIamge
)
headIamge
.
snp
.
makeConstraints
{
make
in
animationView
=
{
let
view
=
LottieAnimationView
(
name
:
"zhibo"
)
view
.
loopMode
=
.
loop
return
view
}()
contentView
.
addSubview
(
animationView
)
animationView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
centerX
.
equalToSuperview
()
make
.
width
.
height
.
equalTo
(
54
)
}
contentView
.
addSubview
(
headIamge
)
headIamge
.
snp
.
makeConstraints
{
make
in
make
.
center
.
equalTo
(
animationView
.
snp
.
center
)
make
.
width
.
height
.
equalTo
(
48
)
}
contentView
.
addSubview
(
descripeLable
)
descripeLable
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
height
.
equalTo
(
14
)
}
animationView
.
play
()
}
func
updataAllSubViews
()
{
...
...
galaxy/galaxy/Res/jsons/zhibo.json
0 → 100644
View file @
82ad94e1
{
"v"
:
"5.6.10"
,
"fr"
:
60
,
"ip"
:
0
,
"op"
:
120
,
"w"
:
180
,
"h"
:
180
,
"nm"
:
"Test"
,
"ddd"
:
0
,
"assets"
:[],
"layers"
:[{
"ddd"
:
0
,
"ind"
:
1
,
"ty"
:
4
,
"nm"
:
"Ellipse 1886"
,
"sr"
:
1
,
"ks"
:{
"o"
:{
"a"
:
1
,
"k"
:[{
"i"
:{
"x"
:[
0.667
],
"y"
:[
1
]},
"o"
:{
"x"
:[
0.333
],
"y"
:[
0
]},
"t"
:
48
,
"s"
:[
100
]},{
"t"
:
90
,
"s"
:[
0
]}],
"ix"
:
11
},
"r"
:{
"a"
:
0
,
"k"
:
0
,
"ix"
:
10
},
"p"
:{
"a"
:
0
,
"k"
:[
90
,
90
,
0
],
"ix"
:
2
},
"a"
:{
"a"
:
0
,
"k"
:[
0
,
0
,
0
],
"ix"
:
1
},
"s"
:{
"a"
:
1
,
"k"
:[{
"i"
:{
"x"
:[
0.667
,
0.667
,
0.667
],
"y"
:[
1
,
1
,
1
]},
"o"
:{
"x"
:[
0.333
,
0.333
,
0.333
],
"y"
:[
0
,
0
,
0
]},
"t"
:
0
,
"s"
:[
100
,
100
,
100
]},{
"t"
:
90
,
"s"
:[
126
,
126
,
100
]}],
"ix"
:
6
}},
"ao"
:
0
,
"shapes"
:[{
"ty"
:
"gr"
,
"it"
:[{
"d"
:
1
,
"ty"
:
"el"
,
"s"
:{
"a"
:
0
,
"k"
:[
138
,
138
],
"ix"
:
2
},
"p"
:{
"a"
:
0
,
"k"
:[
0
,
0
],
"ix"
:
3
},
"nm"
:
"椭圆路径 1"
,
"mn"
:
"ADBE Vector Shape - Ellipse"
,
"hd"
:
false
},{
"ty"
:
"st"
,
"c"
:{
"a"
:
0
,
"k"
:[
0.701960802078
,
0.784313738346
,
0.913725495338
,
1
],
"ix"
:
3
},
"o"
:{
"a"
:
0
,
"k"
:
100
,
"ix"
:
4
},
"w"
:{
"a"
:
0
,
"k"
:
4.5
,
"ix"
:
5
},
"lc"
:
1
,
"lj"
:
1
,
"ml"
:
4
,
"bm"
:
0
,
"nm"
:
"描边 1"
,
"mn"
:
"ADBE Vector Graphic - Stroke"
,
"hd"
:
false
},{
"ty"
:
"tr"
,
"p"
:{
"a"
:
0
,
"k"
:[
0
,
0
],
"ix"
:
2
},
"a"
:{
"a"
:
0
,
"k"
:[
0
,
0
],
"ix"
:
1
},
"s"
:{
"a"
:
0
,
"k"
:[
100
,
100
],
"ix"
:
3
},
"r"
:{
"a"
:
0
,
"k"
:
0
,
"ix"
:
6
},
"o"
:{
"a"
:
0
,
"k"
:
100
,
"ix"
:
7
},
"sk"
:{
"a"
:
0
,
"k"
:
0
,
"ix"
:
4
},
"sa"
:{
"a"
:
0
,
"k"
:
0
,
"ix"
:
5
},
"nm"
:
"变换"
}],
"nm"
:
"Ellipse 1886"
,
"np"
:
2
,
"cix"
:
2
,
"bm"
:
0
,
"ix"
:
1
,
"mn"
:
"ADBE Vector Group"
,
"hd"
:
false
}],
"ip"
:
0
,
"op"
:
300
,
"st"
:
0
,
"bm"
:
0
}],
"markers"
:[]}
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