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
e42f4d4a
Commit
e42f4d4a
authored
Jul 26, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善二维码细节
parent
ae64e010
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
4 deletions
+40
-4
YHInvatationShareViewController.swift
...onWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
+18
-4
Contents.json
.../invitation_with_gifts_share_other.imageset/Contents.json
+22
-0
invitation_with_gifts_share_other@2x.png
...e_other.imageset/invitation_with_gifts_share_other@2x.png
+0
-0
invitation_with_gifts_share_other@3x.png
...e_other.imageset/invitation_with_gifts_share_other@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
View file @
e42f4d4a
...
@@ -15,6 +15,7 @@ class YHInvatationShareViewController: YHBaseViewController {
...
@@ -15,6 +15,7 @@ class YHInvatationShareViewController: YHBaseViewController {
var
centerImageView
:
UIImageView
!
var
centerImageView
:
UIImageView
!
var
imageView
:
UIImageView
!
var
imageView
:
UIImageView
!
var
logoImageView
:
UIImageView
!
var
bottomView
:
UIView
!
var
bottomView
:
UIView
!
var
leftButton
:
YHShareButton
!
var
leftButton
:
YHShareButton
!
var
centerButton
:
YHShareButton
!
var
centerButton
:
YHShareButton
!
...
@@ -63,6 +64,17 @@ extension YHInvatationShareViewController {
...
@@ -63,6 +64,17 @@ extension YHInvatationShareViewController {
make
.
width
.
height
.
equalTo
(
56
)
make
.
width
.
height
.
equalTo
(
56
)
}
}
logoImageView
=
{
let
view
=
UIImageView
()
view
.
image
=
UIImage
(
named
:
"AppIcon"
)
return
view
}()
imageView
.
addSubview
(
logoImageView
)
logoImageView
.
snp
.
makeConstraints
{
make
in
make
.
center
.
equalToSuperview
()
make
.
width
.
height
.
equalTo
(
17
)
}
bottomView
=
{
bottomView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
@@ -143,13 +155,15 @@ extension YHInvatationShareViewController {
...
@@ -143,13 +155,15 @@ extension YHInvatationShareViewController {
}
}
@objc
func
wxClick
()
{
@objc
func
wxClick
()
{
guard
let
combinedImage
=
combinedImageFrom
(
imageView
:
centerImageView
)
else
{
return
}
// guard let combinedImage = combinedImageFrom(imageView: centerImageView) else { return }
YHShareManager
.
shared
.
sendImageContent
(
combinedImage
)
YHShareManager
.
shared
.
sendLinkContent
(
"香港身份规划专属礼包,限时领取!"
,
"1000元折扣福利券,资深银河规划专家1V1评估方案"
,
UIImage
(
named
:
"invitation_with_gifts_share_other"
)
??
UIImage
(),
link
:
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge/evaluation?channel=lkhtj-app&customer_id=
\(
YHLoginManager
.
shared
.
userModel
?
.
id
??
""
)
&scene_id=30"
)
// YHShareManager.shared.sendImageContent(combinedImage)
}
}
@objc
func
peopleClick
()
{
@objc
func
peopleClick
()
{
guard
let
combinedImage
=
combinedImageFrom
(
imageView
:
centerImageView
)
else
{
return
}
// guard let combinedImage = combinedImageFrom(imageView: centerImageView) else { return }
YHShareManager
.
shared
.
sendImageContent
(
combinedImage
,
WXSceneTimeline
)
// YHShareManager.shared.sendImageContent(combinedImage, WXSceneTimeline)
YHShareManager
.
shared
.
sendLinkContent
(
"香港身份规划专属礼包,限时领取!"
,
"1000元折扣福利券,资深银河规划专家1V1评估方案"
,
UIImage
(
named
:
"invitation_with_gifts_share_other"
)
??
UIImage
(),
link
:
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge/evaluation?channel=lkhtj-app&customer_id=
\(
YHLoginManager
.
shared
.
userModel
?
.
id
??
""
)
&scene_id=30"
,
WXSceneTimeline
)
}
}
...
...
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_other.imageset/Contents.json
0 → 100644
View file @
e42f4d4a
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"invitation_with_gifts_share_other@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"invitation_with_gifts_share_other@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_other.imageset/invitation_with_gifts_share_other@2x.png
0 → 100644
View file @
e42f4d4a
77.1 KB
galaxy/galaxy/Res/Assets.xcassets/Home/Invitationr/invitation_with_gifts_share_other.imageset/invitation_with_gifts_share_other@3x.png
0 → 100644
View file @
e42f4d4a
148 KB
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