Authored by dongjunjie

input输入长度bug,筛选ID bug

... ... @@ -8,13 +8,15 @@
<div class="form-group">
<input id="uploadBox" name="file" type="file" style="position: absolute; top: 0;left: 0;z-index: -999">
<div id="chooseFile" class="file-name btn btn-success">上传商品</div>
<a href="/operations/activitytemplate/index" class="btn btn-default">返回</a>
<p style="color: #999">注:上传.xls文件</p>
</div>
</div>
</div>
<div class="panel-body" id="condition">
<div class="panel-col">
<input type="text" class="form-control" name="product_skn" placeholder="输入SKN查询" id="productSkn">
<input type="text" class="form-control" name="product_skn" placeholder="输入SKN查询" id="productSkn"
onkeyup="this.value=this.value.replace(/\D/gi,'')">
</div>
<a id="filter-btn" class="btn btn-info">筛选</a>
<a href="<%url%>" class="btn btn-info">全部</a>
... ...
... ... @@ -24,20 +24,20 @@
<div class="form-group">
<label class="col-sm-1 control-label">分享名称</label>
<div class="col-sm-9">
<input type="text" name="title" class="form-control observe" placeholder="活动分享名称" required="" value="[[title]]" data-field="title">
<input maxlength="128" type="text" name="title" class="form-control observe" placeholder="活动分享名称" required="" value="[[title]]" data-field="title">
<p style="color:#999">注:分享名称必填</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">分享主标题</label>
<div class="col-sm-9">
<input type="text" name="share_title_main" class="form-control observe" placeholder="分享主标题" value="[[shareTitleMain]]" data-field="shareTitleMain">
<input maxlength="128" type="text" name="share_title_main" class="form-control observe" placeholder="分享主标题" value="[[shareTitleMain]]" data-field="shareTitleMain">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">分享副标题</label>
<div class="col-sm-9">
<input type="text" name="share_title_sub" class="form-control observe" placeholder="分享副标题" value="[[shareTitleSub]]" data-field="shareTitleSub">
<input maxlength="128" type="text" name="share_title_sub" class="form-control observe" placeholder="分享副标题" value="[[shareTitleSub]]" data-field="shareTitleSub">
</div>
</div>
<div class="form-group">
... ...
... ... @@ -13,7 +13,7 @@
<div class="panel-body" id="condition">
<div class="row">
<div class="panel-col">
<input type="text" class="form-control" name="product_skn" placeholder="分享id" id="shareId-filter">
<input type="text" class="form-control" name="product_skn" placeholder="分享id" id="shareId-filter" onkeyup="this.value=this.value.replace(/\D/gi,'')">
</div>
<div class="panel-col">
<input type="text" class="form-control" name="product_skn" placeholder="标题" id="title-filter">
... ...