Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
5d4da860
Commit
5d4da860
authored
Mar 19, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l;i;lj;lh;h;
parent
a35fa39b
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
4 deletions
+18
-4
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/店长审核/DZSH_Detail_ViewController.swift
...form/ViewController/店长审核/DZSH_Detail_ViewController.swift
+0
-0
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.swift
...ssPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.swift
+6
-0
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.xib
...nessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.xib
+1
-1
GeliBusinessPlatform/ViewController/店长审核/DZSH_Upload_Cer_Cell.swift
...ssPlatform/ViewController/店长审核/DZSH_Upload_Cer_Cell.swift
+10
-2
GeliBusinessPlatform/ViewController/店长审核/DZSH_Upload_Cer_Cell.xib
...nessPlatform/ViewController/店长审核/DZSH_Upload_Cer_Cell.xib
+1
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
5d4da860
No preview for this file type
GeliBusinessPlatform/ViewController/店长审核/DZSH_Detail_ViewController.swift
View file @
5d4da860
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.swift
View file @
5d4da860
...
...
@@ -10,6 +10,7 @@ import UIKit
protocol
DZSH_UPLOAD_IMG_CELL_Delegate
{
func
DZSH_UPLOAD_IMG_CELL_Btn_Action
(
select
:
Int
,
cell
:
DZSH_UPLOAD_IMG_CELL
)
func
DZSH_UPLOAD_IMG_CELL_Input
(
str
:
String
,
cell
:
DZSH_UPLOAD_IMG_CELL
)
func
DZSH_UPLOAD_IMG_CELL_SelectImg
(
cell
:
DZSH_UPLOAD_IMG_CELL
)
}
class
DZSH_UPLOAD_IMG_CELL
:
UITableViewCell
{
@IBAction
func
btn_click
(
_
sender
:
UIButton
)
{
...
...
@@ -29,8 +30,13 @@ class DZSH_UPLOAD_IMG_CELL: UITableViewCell {
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
input_tf
.
addTarget
(
self
,
action
:
#selector(
textChange(tf:)
)
,
for
:
.
allEditingEvents
)
let
tap
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
tapAction
)
)
img_view
.
addGestureRecognizer
(
tap
)
// Initialization code
}
@objc
func
tapAction
(){
delegate
?
.
DZSH_UPLOAD_IMG_CELL_SelectImg
(
cell
:
self
)
}
@objc
func
textChange
(
tf
:
UITextField
){
delegate
?
.
DZSH_UPLOAD_IMG_CELL_Input
(
str
:
tf
.
text
!
,
cell
:
self
)
}
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSH_UPLOAD_IMG_CELL.xib
View file @
5d4da860
...
...
@@ -24,7 +24,7 @@
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"shangchuantupian"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"8TI-5w-kaC"
>
<imageView
clipsSubviews=
"YES"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"shangchuantupian"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"8TI-5w-kaC"
>
<rect
key=
"frame"
x=
"132.5"
y=
"85.5"
width=
"110"
height=
"110"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"110"
id=
"Rk4-Ab-dYv"
/>
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSH_Upload_Cer_Cell.swift
View file @
5d4da860
...
...
@@ -7,9 +7,11 @@
//
import
UIKit
protocol
DZSH_Upload_Cer_Cell_Delegate
{
func
DZSH_Upload_Cer_Cell_UpLoadImg
(
cell
:
DZSH_Upload_Cer_Cell
)
}
class
DZSH_Upload_Cer_Cell
:
UITableViewCell
{
var
delegate
:
DZSH_Upload_Cer_Cell_Delegate
?
@IBOutlet
weak
var
img_view
:
UIImageView
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
override
func
awakeFromNib
()
{
...
...
@@ -17,6 +19,12 @@ class DZSH_Upload_Cer_Cell: UITableViewCell {
self
.
selectionStyle
=
.
none
// Initialization code
let
tap
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
tapAction
)
)
img_view
.
addGestureRecognizer
(
tap
)
// Initialization code
}
@objc
func
tapAction
(){
delegate
?
.
DZSH_Upload_Cer_Cell_UpLoadImg
(
cell
:
self
)
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
...
...
GeliBusinessPlatform/ViewController/店长审核/DZSH_Upload_Cer_Cell.xib
View file @
5d4da860
...
...
@@ -24,7 +24,7 @@
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"upload_1"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"HUt-8u-7iR"
>
<imageView
clipsSubviews=
"YES"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"upload_1"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"HUt-8u-7iR"
>
<rect
key=
"frame"
x=
"75"
y=
"43.5"
width=
"225"
height=
"125"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"225"
id=
"azg-mK-lWG"
/>
...
...
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