Showing
3 changed files
with
7 additions
and
5 deletions
@@ -8,13 +8,15 @@ | @@ -8,13 +8,15 @@ | ||
8 | <div class="form-group"> | 8 | <div class="form-group"> |
9 | <input id="uploadBox" name="file" type="file" style="position: absolute; top: 0;left: 0;z-index: -999"> | 9 | <input id="uploadBox" name="file" type="file" style="position: absolute; top: 0;left: 0;z-index: -999"> |
10 | <div id="chooseFile" class="file-name btn btn-success">上传商品</div> | 10 | <div id="chooseFile" class="file-name btn btn-success">上传商品</div> |
11 | + <a href="/operations/activitytemplate/index" class="btn btn-default">返回</a> | ||
11 | <p style="color: #999">注:上传.xls文件</p> | 12 | <p style="color: #999">注:上传.xls文件</p> |
12 | </div> | 13 | </div> |
13 | </div> | 14 | </div> |
14 | </div> | 15 | </div> |
15 | <div class="panel-body" id="condition"> | 16 | <div class="panel-body" id="condition"> |
16 | <div class="panel-col"> | 17 | <div class="panel-col"> |
17 | - <input type="text" class="form-control" name="product_skn" placeholder="输入SKN查询" id="productSkn"> | 18 | + <input type="text" class="form-control" name="product_skn" placeholder="输入SKN查询" id="productSkn" |
19 | + onkeyup="this.value=this.value.replace(/\D/gi,'')"> | ||
18 | </div> | 20 | </div> |
19 | <a id="filter-btn" class="btn btn-info">筛选</a> | 21 | <a id="filter-btn" class="btn btn-info">筛选</a> |
20 | <a href="<%url%>" class="btn btn-info">全部</a> | 22 | <a href="<%url%>" class="btn btn-info">全部</a> |
@@ -24,20 +24,20 @@ | @@ -24,20 +24,20 @@ | ||
24 | <div class="form-group"> | 24 | <div class="form-group"> |
25 | <label class="col-sm-1 control-label">分享名称</label> | 25 | <label class="col-sm-1 control-label">分享名称</label> |
26 | <div class="col-sm-9"> | 26 | <div class="col-sm-9"> |
27 | - <input type="text" name="title" class="form-control observe" placeholder="活动分享名称" required="" value="[[title]]" data-field="title"> | 27 | + <input maxlength="128" type="text" name="title" class="form-control observe" placeholder="活动分享名称" required="" value="[[title]]" data-field="title"> |
28 | <p style="color:#999">注:分享名称必填</p> | 28 | <p style="color:#999">注:分享名称必填</p> |
29 | </div> | 29 | </div> |
30 | </div> | 30 | </div> |
31 | <div class="form-group"> | 31 | <div class="form-group"> |
32 | <label class="col-sm-1 control-label">分享主标题</label> | 32 | <label class="col-sm-1 control-label">分享主标题</label> |
33 | <div class="col-sm-9"> | 33 | <div class="col-sm-9"> |
34 | - <input type="text" name="share_title_main" class="form-control observe" placeholder="分享主标题" value="[[shareTitleMain]]" data-field="shareTitleMain"> | 34 | + <input maxlength="128" type="text" name="share_title_main" class="form-control observe" placeholder="分享主标题" value="[[shareTitleMain]]" data-field="shareTitleMain"> |
35 | </div> | 35 | </div> |
36 | </div> | 36 | </div> |
37 | <div class="form-group"> | 37 | <div class="form-group"> |
38 | <label class="col-sm-1 control-label">分享副标题</label> | 38 | <label class="col-sm-1 control-label">分享副标题</label> |
39 | <div class="col-sm-9"> | 39 | <div class="col-sm-9"> |
40 | - <input type="text" name="share_title_sub" class="form-control observe" placeholder="分享副标题" value="[[shareTitleSub]]" data-field="shareTitleSub"> | 40 | + <input maxlength="128" type="text" name="share_title_sub" class="form-control observe" placeholder="分享副标题" value="[[shareTitleSub]]" data-field="shareTitleSub"> |
41 | </div> | 41 | </div> |
42 | </div> | 42 | </div> |
43 | <div class="form-group"> | 43 | <div class="form-group"> |
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <div class="panel-body" id="condition"> | 13 | <div class="panel-body" id="condition"> |
14 | <div class="row"> | 14 | <div class="row"> |
15 | <div class="panel-col"> | 15 | <div class="panel-col"> |
16 | - <input type="text" class="form-control" name="product_skn" placeholder="分享id" id="shareId-filter"> | 16 | + <input type="text" class="form-control" name="product_skn" placeholder="分享id" id="shareId-filter" onkeyup="this.value=this.value.replace(/\D/gi,'')"> |
17 | </div> | 17 | </div> |
18 | <div class="panel-col"> | 18 | <div class="panel-col"> |
19 | <input type="text" class="form-control" name="product_skn" placeholder="标题" id="title-filter"> | 19 | <input type="text" class="form-control" name="product_skn" placeholder="标题" id="title-filter"> |
-
Please register or login to post a comment