Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ee30b5cd
authored
2020-12-23 09:38:48 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:填报信息
1 parent
74ffa16d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
staticCss/yysq.css
staticImages/update.png
staticJs/onlineApply/houseFill.js
staticCss/yysq.css
View file @
ee30b5c
...
...
@@ -432,11 +432,12 @@ input[type='file'] {
.pic
{
width
:
240px
;
height
:
240px
;
/* border-radius: 6px;
margin: 20px auto; */
cursor
:
pointer
;
border
:
1px
dotted
#DEDEDE
;
border-radius
:
2px
;
box-sizing
:
border-box
;
}
.ddd
{
.itemImageUpdate
{
position
:
relative
;
margin-right
:
15px
;
}
\ No newline at end of file
...
...
staticImages/update.png
View file @
ee30b5c
3.66 KB
|
W:
|
H:
5.24 KB
|
W:
|
H:
2-up
Swipe
Onion skin
staticJs/onlineApply/houseFill.js
View file @
ee30b5c
...
...
@@ -137,8 +137,6 @@ function loadMailDetail() {
}
}
$
(
'.radioInfo'
).
click
(
function
()
{
let
index
=
$
(
this
).
attr
(
"value"
)
if
(
$
(
'#layui-form .layui-form-item'
).
length
>
1
)
{
...
...
@@ -298,8 +296,8 @@ function LoadClxxDiv() {
$
.
each
(
slsqxx
.
slclList
,
function
(
index
,
item
)
{
clxxContent
=
'<div id="'
+
item
.
bsmCl
+
'">'
;
for
(
i
=
0
;
i
<
item
.
fs
;
i
++
)
{
clxxContent
+=
'<div style="float: left;">'
;
clxxContent
+=
'<img class="pic" src="
">
'
;
clxxContent
+=
'<div style="float: left;"
class="itemImageUpdate"
>'
;
clxxContent
+=
'<img class="pic" src="
../../staticImages/update.png">
'
;
clxxContent
+=
'<input name="file" accept="image/*" type="file" style="display: none" />'
;
clxxContent
+=
'<div class="certificate">'
;
clxxContent
+=
'<span>'
+
slsqxx
.
slclList
[
index
].
clmc
+
'【'
+
slsqxx
.
slclList
[
index
].
wjlxmc
+
'】('
+
slsqxx
.
slclList
[
index
].
fs
+
'-'
+
(
i
+
1
)
+
')</span>'
;
...
...
@@ -320,6 +318,7 @@ function AddCLxxClick() {
$
(
this
).
next
().
click
();
//隐藏了input:file样式后,点击头像就可以本地上传
$
(
this
).
next
().
on
(
"change"
,
function
()
{
var
objUrl
=
getObjectURL
(
this
.
files
[
0
]);
//获取图片的路径,该路径不是图片在本地的路径
console
.
log
(
999
,
objUrl
)
if
(
objUrl
)
{
let
bsm_slclmx
=
UploadPicture
(
this
.
files
[
0
],
$
(
this
).
parent
().
parent
().
prop
(
"id"
));
if
(
bsm_slclmx
==
""
)
{
...
...
@@ -428,8 +427,7 @@ function _uploadSlcl(flieList, bsmCl, fileul, sizeNum) {
});
}
// /portal/FillInformation/saveSQR填报信息保存申请人信息和邮寄信息
// 填报信息保存申请人信息和邮寄信息
function
_saveSQR
()
{
var
isSave
=
false
;
// 申请人信息
...
...
@@ -465,7 +463,6 @@ function _saveSQR() {
'sqrList'
:
sqrList
,
'addMailRecordRequest'
:
addMailRecordRequest
}),
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
)
{
isSave
=
true
...
...
@@ -476,7 +473,6 @@ function _saveSQR() {
});
return
isSave
}
//建立一個可存取到該file的url
function
getObjectURL
(
file
)
{
var
url
=
null
;
...
...
Please
register
or
sign in
to post a comment