Authored by wangwei

首页改版

... ... @@ -888,7 +888,7 @@
<div class="row">
<label class="col-sm-2 control-label">活动ID</label>
<div class="col-sm-8" >
<input value="[[contentData.data.activityId]]" class="form-control observe input-form" data-field="activityId" placeholder="商品池ID"/>
<input value="[[contentData.data.activityId]]" id="activityId" class="form-control observe input-form number" data-field="activityId" placeholder="商品池ID"/>
</div>
</div>
</div>
... ... @@ -1241,18 +1241,6 @@
<script type="text/template" id="shopFloor-template">
<input type="button" class="btn btn-info btn-xs addBtn addShopBtn" data-event="shopFloor.list" value="添加店铺信息" style="margin:10px;">
<br>
<div class="panel-body">
<div class="row">
<div class="col-sm-8">
<select class="form-control observe input-form" name="goodsType" value="[[contentData.data.goodsType]]" data-field="goodsType"required>
<option value="-1">店铺商品</option>
<option value="1">7天上新</option>
<option value="2">15天上新</option>
<option value="0">默认</option>
</select>
</div>
</div>
</div>
<div class="rows">
<div>
<ul class="draggable" data-array="data">
... ...
... ... @@ -1646,7 +1646,6 @@ var Button = [
dialog: "shopFloor-template",
template_name: "shopFloor",
data: {
"goodsType":"",
"list":[]
},
"isNewFloor":"1"
... ...
... ... @@ -190,7 +190,6 @@ var addObj = {
},
"alt": "",
"src": "",
"imageRatio":""
},
tabFloor_list:{
"tabName":"",
... ...
... ... @@ -1732,10 +1732,12 @@ $(document).on("keyup", "#brandsearch", function () {
});
/****************************************************************************************************/
//输入限制
$(document).on("keyup", ".number", function() {
$(this).val($(this).val().replace(/\D/g, ''));
$(document).on("keyup","#activityId",function(){
var reg = /^[0-9]+$/;
var txt = $(this).val();
if(!reg.test(txt)){
$(this).val("");
}
});
//双击弹窗
... ...