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
b650557d
Commit
b650557d
authored
Mar 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6
parent
de8ca5f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
redEnvelopeList.js
public/resource/js/redEnvelopeList.js
+22
-2
No files found.
public/resource/js/redEnvelopeList.js
View file @
b650557d
...
...
@@ -41,7 +41,7 @@ define (['doT', 'text!temp/red_envelope_list_template_tpl.html', 'css!style/home
e
.
stopPropagation
();
redEnvelope
.
submitAdd
();
});
//
//兑现动作
$
(
"input[name='return_action']"
).
change
(
function
(){
var
_this
=
$
(
this
);
if
(
_this
.
val
()
==
0
){
...
...
@@ -51,7 +51,27 @@ define (['doT', 'text!temp/red_envelope_list_template_tpl.html', 'css!style/home
}
});
//奖励有效期
$
(
"input[name='award-period']"
).
change
(
function
(){
var
_this
=
$
(
this
);
if
(
_this
.
val
()
==
-
1
){
$
(
'#activity-day'
).
val
(
0
);
}
});
//活动发放总次数
$
(
"input[name='activity-total']"
).
change
(
function
(){
var
_this
=
$
(
this
);
if
(
_this
.
val
()
==
-
1
){
$
(
'#activity-total-num'
).
val
(
0
);
}
});
//用户可得红包数
$
(
"input[name='activity-total-bag"
).
change
(
function
(){
var
_this
=
$
(
this
);
if
(
_this
.
val
()
==
-
1
){
$
(
'#activity-bag-num'
).
val
(
0
);
}
});
},
...
...
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