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
0121ef4cf8596600364fab4a023ccb20832f3150
1 parent
06ca8b3b
update for change the submit button style and logic
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletions
apps/me/views/partial/returns-change.hbs
public/js/me/exchange.page.js
public/scss/me/return/_change.css
apps/me/views/partial/returns-change.hbs
View file @
0121ef4
...
...
@@ -84,5 +84,5 @@
{{/
address
}}
{{/
returnsChange
}}
<span
class=
"btn confirm right"
>
提交申请
</span>
<span
class=
"btn confirm right
disable
"
>
提交申请
</span>
</div>
...
...
public/js/me/exchange.page.js
View file @
0121ef4
...
...
@@ -279,6 +279,12 @@ function bindCheckboxEvent() {
$box
.
removeClass
(
'will-change'
);
$box
.
find
(
'.form'
).
addClass
(
'hide'
);
}
if
(
$
(
'.will-change'
).
length
)
{
$
(
'.btn.disable'
).
removeClass
(
'disable'
);
}
else
{
$
(
'.btn.confirm'
).
addClass
(
'disable'
);
}
}
});
}
...
...
@@ -333,6 +339,10 @@ function bindConfirmEvent() {
var
$imgs
;
var
imgs
=
[];
if
(
$
(
this
).
hasClass
(
'disable'
))
{
return
false
;
}
if
(
!
validateData
())
{
return
false
;
}
...
...
public/scss/me/return/_change.css
View file @
0121ef4
...
...
@@ -21,6 +21,15 @@
}
}
.btn
{
&.confirm
{
width
:
130px
;
height
:
40px
;
line-height
:
40px
;
font-size
:
16px
;
}
}
.goods-container
{
width
:
990px
;
}
...
...
Please
register
or
login
to post a comment