Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
317931d2
Commit
317931d2
authored
Sep 17, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台 商铺图片 优化
parent
5f7fd9a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
pictureShow.js
public/resource/js/pictureShow.js
+8
-1
No files found.
public/resource/js/pictureShow.js
View file @
317931d2
...
@@ -74,6 +74,12 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
...
@@ -74,6 +74,12 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
});
});
var
pictures
=
$
(
'#modal'
).
find
(
'.img_area'
).
find
(
'.pictures'
);
var
pictures
=
$
(
'#modal'
).
find
(
'.img_area'
).
find
(
'.pictures'
);
console
.
log
(
pictures
.
length
-
0
>
0
);
if
(
!
(
pictures
.
length
-
0
>
0
)
){
alert
(
"请选择图片"
);
return
false
;
}
//有几张图片就保存几次
//有几张图片就保存几次
$
(
'#modal'
).
find
(
'.img_area'
).
find
(
'.pictures'
).
each
(
function
(
i
,
event
){
$
(
'#modal'
).
find
(
'.img_area'
).
find
(
'.pictures'
).
each
(
function
(
i
,
event
){
if
(
i
==
pictures
.
length
-
1
){
if
(
i
==
pictures
.
length
-
1
){
...
@@ -256,7 +262,8 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
...
@@ -256,7 +262,8 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
yetai
=
''
;
yetai
=
''
;
}
else
{
}
else
{
if
(
data_yetai
==
''
){
if
(
data_yetai
==
''
){
alert
(
"请选择业态"
);
alert
(
"请选择业态"
);
return
;
}
}
}
}
...
...
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