Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
mali
6 years ago
Commit
780727e18f2a0425d7d716b0d95c62f863d94470
1 parent
3e47fe42
二手库存优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
web/src/main/webapp/html/secondhand/list.html
web/src/main/webapp/html/secondhand/list.html
View file @
780727e
...
...
@@ -431,7 +431,7 @@ function getTableColumn() {
}
function
openModal
(
type
,
indexNo
,
imageUrl
,
imageInfo
,
skup
){
$
(
'#picType'
).
val
ue
(
type
);
$
(
'#picType'
).
val
(
type
);
if
(
type
==
0
)
{
$
(
"#showImg"
).
attr
(
"src"
,
imageUrl
);
//$("#imageInfo").text(imageInfo);
...
...
@@ -496,7 +496,7 @@ function lastImg(){
//如果还要继续向前遍历则 index<0 此时我们使index = images.length-1(数组的最后一个下标) 实现重复展示图片效果
index
=
images
.
length
-
1
;
}
if
(
$
(
'#picType'
).
val
ue
()
==
1
)
{
if
(
$
(
'#picType'
).
val
()
==
1
)
{
$
(
"#showImg"
).
attr
(
"src"
,
images
[
index
].
imageUrl
);
$
(
"#imageInfo"
).
text
(
images
[
index
].
imageDesc
);
}
else
{
...
...
@@ -513,7 +513,7 @@ function nextImg(){
index
=
0
;
}
if
(
$
(
'#picType'
).
val
ue
()
==
1
)
{
if
(
$
(
'#picType'
).
val
()
==
1
)
{
$
(
"#showImg"
).
attr
(
"src"
,
images
[
index
].
imageUrl
);
$
(
"#imageInfo"
).
text
(
images
[
index
].
imageDesc
);
}
else
{
...
...
Please
register
or
login
to post a comment