Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
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
weiqingting
2016-03-29 11:30:17 +0800
Commit
a2be830d62cda4ff192ed63accf52bc11cbd2da4
1 parent
d8dbf90b
品牌调性指数非必选
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
client/js/brand/edit.js
server/views/pages/brand/edit.html
client/js/brand/edit.js
View file @
a2be830
...
...
@@ -7,10 +7,11 @@ var edit=require('../common/edit');
//brandTonality
e
.
on
(
"validate"
,
function
(){
var
num
=
$
.
trim
(
$
(
"#brandTonality"
).
val
());
if
(
num
){
if
(
+
num
>
100
||+
num
<
1
){
return
"调性指数(范围:1-100)"
;
}
}
return
true
;
});
e
.
init
();
...
...
server/views/pages/brand/edit.html
View file @
a2be830
...
...
@@ -222,7 +222,7 @@
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
调性指数
<
span
class=
"red"
>
*
</span><
/label>
<label
class=
"col-sm-2 control-label"
>
调性指数
</label>
<div
class=
"col-sm-2"
>
<input
type=
"number"
id=
"brandTonality"
name=
"brandTonality"
class=
"form-control"
placeholder=
"调性指数(范围:1-100)"
value=
"{{brandTonality}}"
>
</div>
...
...
Please
register
or
login
to post a comment