Commit d8b90eac authored by Administrator's avatar Administrator

照片佐证字数限制改为20

parent e6ea68a3
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
<div class="mask"> <div class="mask">
<div class="dialog"> <div class="dialog">
<h3>佐证项名称</h3> <h3>佐证项名称</h3>
<input type="text" placeholder="请输入照片名称,最多10个字"> <input type="text" placeholder="请输入照片名称,最多20个字">
<div style=" margin: 70px 0px 0px 0px;text-align: right;"> <div style=" margin: 70px 0px 0px 0px;text-align: right;">
<span class="btn cancel" style="margin-right: 30px">取消</span> <span class="btn cancel" style="margin-right: 30px">取消</span>
<span class="btn sure">保存</span> <span class="btn sure">保存</span>
......
...@@ -113,8 +113,8 @@ $(document).ready(function () { ...@@ -113,8 +113,8 @@ $(document).ready(function () {
layer.alert("请输入名称!"); layer.alert("请输入名称!");
return ; return ;
} }
if(name.length > 10){ if(name.length > 20){
layer.alert("不能超过十个字符!"); layer.alert("不能超过20个字符!");
return ; return ;
} }
var id = $('.dialog').attr('data-id'); var id = $('.dialog').attr('data-id');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment