Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
b7c9f685
Commit
b7c9f685
authored
Apr 10, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
c46b837d
e9d3a8ff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
public/appapi/css/style_hl.css
+4
-2
themes/simplebootx/Appapi/Auth/authstep.html
+14
-5
No files found.
public/appapi/css/style_hl.css
View file @
b7c9f685
...
@@ -107,8 +107,10 @@
...
@@ -107,8 +107,10 @@
.smrz
.list_hd
{
font-size
:
.7rem
;
color
:
#333
;
}
.smrz
.list_hd
{
font-size
:
.7rem
;
color
:
#333
;
}
.smrz
.list_bd
{
width
:
70%
;
text-align
:
right
;
font-size
:
.7rem
;
color
:
#999
;
}
.smrz
.list_bd
{
width
:
70%
;
text-align
:
right
;
font-size
:
.7rem
;
color
:
#999
;
}
.smrz
.list_bd
::-webkit-input-placeholder
{
color
:
#999
;
}
.smrz
.list_bd
::-webkit-input-placeholder
{
color
:
#999
;
}
.smrz
.scimgBox
{
width
:
100%
;
margin-top
:
.5rem
;
padding
:
0
.7rem
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.smrz
.scimgBox
{
width
:
100%
;
margin-top
:
.5rem
;
padding
:
0
.7rem
;
position
:
relative
;
height
:
5.4rem
;
}
.smrz
.imgItem
{
width
:
5.4rem
;
height
:
5.4rem
;
border-radius
:
.4rem
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
overflow
:
hidden
;
}
.smrz
.imgItemL
{
width
:
5.4rem
;
height
:
5.4rem
;
border-radius
:
.4rem
;
position
:
absolute
;
left
:
0
;
top
:
0
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
overflow
:
hidden
;
}
.smrz
.imgItemR
{
width
:
5.4rem
;
height
:
5.4rem
;
border-radius
:
.4rem
;
position
:
absolute
;
right
:
0
;
top
:
0
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
overflow
:
hidden
;
}
.smrz
.imgItemM
{
width
:
5.4rem
;
height
:
5.4rem
;
border-radius
:
.4rem
;
position
:
absolute
;
left
:
50%
;
top
:
0
;
transform
:
translate
(
-50%
,
0
);
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
overflow
:
hidden
;
}
.smrz
.imgItem
img
{
width
:
100%
;
height
:
100%
;
}
.smrz
.imgItem
img
{
width
:
100%
;
height
:
100%
;
}
.smrz
.addTipsimg
{
width
:
1.05rem
;
height
:
1.05rem
;
}
.smrz
.addTipsimg
{
width
:
1.05rem
;
height
:
1.05rem
;
}
.smrz
.addTips_wz
{
font-size
:
.5rem
;
color
:
#C45EFF
;
margin-top
:
.35rem
;
}
.smrz
.addTips_wz
{
font-size
:
.5rem
;
color
:
#C45EFF
;
margin-top
:
.35rem
;
}
...
...
themes/simplebootx/Appapi/Auth/authstep.html
View file @
b7c9f685
...
@@ -56,13 +56,13 @@
...
@@ -56,13 +56,13 @@
</div>
</div>
<div
class=
"scimgBox"
>
<div
class=
"scimgBox"
>
<div
class=
"imgItem
"
@
click=
"addImg('front_view')"
>
<div
v-if=
"isFile"
class=
"imgItemL
"
@
click=
"addImg('front_view')"
>
<img
:src=
"form.front_view ? form.front_view : upload_image"
>
<img
:src=
"form.front_view ? form.front_view : upload_image"
>
</div>
</div>
<div
class=
"imgItem"
@
click=
"addImg('back_view')"
>
<div
class=
"imgItem
M
"
@
click=
"addImg('back_view')"
>
<img
:src=
"form.back_view ? form.back_view : upload_image2"
>
<img
:src=
"form.back_view ? form.back_view : upload_image2"
>
</div>
</div>
<div
class=
"imgItem"
@
click=
"addImg('handset_view')"
>
<div
class=
"imgItem
R
"
@
click=
"addImg('handset_view')"
>
<img
:src=
"form.handset_view ? form.handset_view : upload_image3"
>
<img
:src=
"form.handset_view ? form.handset_view : upload_image3"
>
</div>
</div>
<!-- <input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<!-- <input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
...
@@ -106,6 +106,8 @@
...
@@ -106,6 +106,8 @@
uploadName
:
''
,
uploadName
:
''
,
isSubmit
:
true
,
isSubmit
:
true
,
isFile
:
true
,
isFile
:
true
,
isFile2
:
true
,
isFile3
:
true
,
upload_image
:
'__PUBLIC__/appapi/img/iconCard-1.png'
,
upload_image
:
'__PUBLIC__/appapi/img/iconCard-1.png'
,
upload_image2
:
'__PUBLIC__/appapi/img/iconCard-2.png'
,
upload_image2
:
'__PUBLIC__/appapi/img/iconCard-2.png'
,
upload_image3
:
'__PUBLIC__/appapi/img/iconCard-3.png'
,
upload_image3
:
'__PUBLIC__/appapi/img/iconCard-3.png'
,
...
@@ -183,12 +185,15 @@
...
@@ -183,12 +185,15 @@
this
.
uploadName
=
name
;
this
.
uploadName
=
name
;
if
(
this
.
uploadName
===
'front_view'
)
{
if
(
this
.
uploadName
===
'front_view'
)
{
$
(
"#file"
).
click
();
$
(
"#file"
).
click
();
console
.
log
(
this
.
isFile
)
}
}
if
(
this
.
uploadName
===
'back_view'
)
{
if
(
this
.
uploadName
===
'back_view'
)
{
$
(
"#file2"
).
click
();
$
(
"#file2"
).
click
();
console
.
log
(
this
.
isFile2
)
}
}
if
(
this
.
uploadName
===
'handset_view'
)
{
if
(
this
.
uploadName
===
'handset_view'
)
{
$
(
"#file3"
).
click
();
$
(
"#file3"
).
click
();
console
.
log
(
this
.
isFile3
)
}
}
},
},
upload
:
function
()
{
upload
:
function
()
{
...
@@ -198,6 +203,7 @@
...
@@ -198,6 +203,7 @@
if
(
_this
.
uploadName
===
'front_view'
)
{
if
(
_this
.
uploadName
===
'front_view'
)
{
id
=
'file'
;
id
=
'file'
;
saveName
=
'auth_'
+
uid
+
'_1'
;
saveName
=
'auth_'
+
uid
+
'_1'
;
console
.
log
(
1111
)
}
}
if
(
_this
.
uploadName
===
'back_view'
)
{
if
(
_this
.
uploadName
===
'back_view'
)
{
id
=
'file2'
;
id
=
'file2'
;
...
@@ -208,7 +214,7 @@
...
@@ -208,7 +214,7 @@
saveName
=
'auth_'
+
uid
+
'_3'
;
saveName
=
'auth_'
+
uid
+
'_3'
;
}
}
var
loadingIndex
=
layer
.
load
(
2
);
var
loadingIndex
=
layer
.
load
(
2
);
this
.
isFile
=
false
_
this
.
isFile
=
false
$
.
ajaxFileUpload
({
$
.
ajaxFileUpload
({
url
:
'./index.php?g=Appapi&m=Auth&a=upload'
,
url
:
'./index.php?g=Appapi&m=Auth&a=upload'
,
secureuri
:
false
,
secureuri
:
false
,
...
@@ -226,13 +232,16 @@
...
@@ -226,13 +232,16 @@
layer
.
msg
(
msg
);
layer
.
msg
(
msg
);
}
else
{
}
else
{
if
(
_this
.
uploadName
===
'front_view'
)
{
if
(
_this
.
uploadName
===
'front_view'
)
{
console
.
log
(
1111
)
_this
.
form
.
front_view
=
str
.
data
.
url
;
_this
.
form
.
front_view
=
str
.
data
.
url
;
this
.
isFile
=
true
_
this
.
isFile
=
true
}
}
if
(
_this
.
uploadName
===
'back_view'
)
{
if
(
_this
.
uploadName
===
'back_view'
)
{
console
.
log
(
22222
)
_this
.
form
.
back_view
=
str
.
data
.
url
;
_this
.
form
.
back_view
=
str
.
data
.
url
;
}
}
if
(
_this
.
uploadName
===
'handset_view'
)
{
if
(
_this
.
uploadName
===
'handset_view'
)
{
console
.
log
(
3333
)
_this
.
form
.
handset_view
=
str
.
data
.
url
;
_this
.
form
.
handset_view
=
str
.
data
.
url
;
}
}
_this
.
checkSubmit
();
_this
.
checkSubmit
();
...
...
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