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
e072fcb8
Commit
e072fcb8
authored
Jun 20, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开放分享小程序
parent
8e7ab464
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
0 deletions
+41
-0
YHMyFileMethodTableViewCell.swift
...中心)/MySignature(我的签字)/V/YHMyFileMethodTableViewCell.swift
+19
-0
Contents.json
...viceCenter/我的文书/share_mini_program.imageset/Contents.json
+22
-0
share_mini_program@2x.png
...的文书/share_mini_program.imageset/share_mini_program@2x.png
+0
-0
share_mini_program@3x.png
...的文书/share_mini_program.imageset/share_mini_program@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MySignature(我的签字)/V/YHMyFileMethodTableViewCell.swift
View file @
e072fcb8
...
@@ -30,6 +30,7 @@ class YHSignatureToActionTableViewCell: UITableViewCell {
...
@@ -30,6 +30,7 @@ class YHSignatureToActionTableViewCell: UITableViewCell {
var
bottomRightLineView
:
UIView
!
var
bottomRightLineView
:
UIView
!
var
fileImageView
:
UIImageView
!
var
fileImageView
:
UIImageView
!
var
fileNameLabel
:
UILabel
!
var
fileNameLabel
:
UILabel
!
var
shareButton
:
UIButton
!
var
editButton
:
UIButton
!
var
editButton
:
UIButton
!
var
submitButton
:
UIButton
!
var
submitButton
:
UIButton
!
var
lookButton
:
UIButton
!
var
lookButton
:
UIButton
!
...
@@ -109,6 +110,20 @@ class YHSignatureToActionTableViewCell: UITableViewCell {
...
@@ -109,6 +110,20 @@ class YHSignatureToActionTableViewCell: UITableViewCell {
make
.
top
.
equalTo
(
52
)
make
.
top
.
equalTo
(
52
)
}
}
shareButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
setBackgroundImage
(
UIImage
(
named
:
"share_mini_program"
),
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
shareButtonClick
)
,
for
:
.
touchUpInside
)
return
button
}()
centerView
.
addSubview
(
shareButton
)
shareButton
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
24
)
make
.
height
.
equalTo
(
20
)
make
.
width
.
equalTo
(
80
)
}
bottomView
=
{
bottomView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
.
separatorColor
view
.
backgroundColor
=
UIColor
.
separatorColor
...
@@ -265,6 +280,10 @@ class YHSignatureToActionTableViewCell: UITableViewCell {
...
@@ -265,6 +280,10 @@ class YHSignatureToActionTableViewCell: UITableViewCell {
}
}
}
}
@objc
func
shareButtonClick
()
{
YHShareManager
.
shared
.
sendMiniProgram
()
}
func
updataButton
()
{
func
updataButton
()
{
if
isSign
{
if
isSign
{
bottomLeftLineView
.
isHidden
=
true
bottomLeftLineView
.
isHidden
=
true
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的文书/share_mini_program.imageset/Contents.json
0 → 100644
View file @
e072fcb8
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"share_mini_program@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"share_mini_program@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的文书/share_mini_program.imageset/share_mini_program@2x.png
0 → 100644
View file @
e072fcb8
3.09 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的文书/share_mini_program.imageset/share_mini_program@3x.png
0 → 100644
View file @
e072fcb8
5.17 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