Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
bd7068dfdec2a8a40d5c8bce599965cee4f4a90e
1 parent
573a218f
update
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
apps/me/views/partial/returns/special-reason.hbs
public/js/me/exchange.page.js
apps/me/views/partial/returns/special-reason.hbs
View file @
bd7068d
...
...
@@ -17,7 +17,7 @@
<span
class=
"iconfont"
>

</span>
</div>
<span
class=
"img-up-tip"
>
0/4
</span>
<span
class=
"warn
hide
"
>
<span
class=
"warn"
>
<span
class=
"iconfont blue"
>

</span>
<span
class=
"blue"
>
最多上传4张照片
</span>
</span>
...
...
public/js/me/exchange.page.js
View file @
bd7068d
...
...
@@ -348,7 +348,7 @@ function bindImgDeleteEvent() {
var
number
=
$
(
this
).
closest
(
'.left.right-content'
).
find
(
'.thumb-box'
).
length
-
1
;
$t
.
text
(
number
+
'/4'
);
$thumb
.
siblings
(
'.
warn'
).
addClass
(
'hide'
);
$thumb
.
siblings
(
'.
img-upload'
).
show
(
);
$thumb
.
remove
();
});
}
...
...
@@ -381,13 +381,15 @@ function bindUploadEvent() {
$t
.
text
(
n
+
'/4'
);
bindImgDeleteEvent
();
if
(
n
>=
4
)
{
$
(
that
).
hide
();
}
}
else
{
new
_alert
(
result
.
message
).
show
();
}
}
});
}
else
{
$
(
that
).
siblings
(
'.warn'
).
removeClass
(
'hide'
);
}
});
}
...
...
Please
register
or
login
to post a comment