Authored by ch25ch@163.com

支持 显示、跳转可选

... ... @@ -898,6 +898,28 @@
</div>
</div>
</div>
<div class="panel-body">
<div class="row">
<label class="col-sm-2 control-label">显示内容</label>
<div class="col-sm-8">
<input type="radio" name="display_type" class="display_type" value="1" [[contentData.data.display_type=="1"?"checked":""]]> 商品价格
<input type="radio" name="display_type" class="display_type" value="2" [[contentData.data.display_type=="2"?"checked":""]]> 店铺 &emsp;
<input type="hidden" id="display_type" for="radio" value="[[contentData.data.display_type]]" />
</div>
</div>
</div>
<div class="panel-body">
<div class="row">
<label class="col-sm-2 control-label">跳转类型</label>
<div class="col-sm-8">
<input type="radio" name="url_type" class="url_type" value="1" [[contentData.data.url_type=="1"?"checked":""]]> 商品详情
<input type="radio" name="url_type" class="url_type" value="2" [[contentData.data.url_type=="2"?"checked":""]]> 商品列表 &emsp;
<input type="hidden" id="url_type" for="radio" value="[[contentData.data.url_type]]" />
</div>
</div>
</div>
</script>
<!--人气商品列表-->
<script type="text/template" id="popularListFloor-template">
... ... @@ -978,6 +1000,28 @@
</div>
</div>
</div>
<div class="panel-body">
<div class="row">
<label class="col-sm-2 control-label">显示内容</label>
<div class="col-sm-8">
<input type="radio" name="display_type" class="display_type" value="1" [[contentData.data.display_type=="1"?"checked":""]]> 商品价格
<input type="radio" name="display_type" class="display_type" value="2" [[contentData.data.display_type=="2"?"checked":""]]> 店铺 &emsp;
<input type="hidden" id="display_type" for="radio" value="[[contentData.data.display_type]]" />
</div>
</div>
</div>
<div class="panel-body">
<div class="row">
<label class="col-sm-2 control-label">跳转类型</label>
<div class="col-sm-8">
<input type="radio" name="url_type" class="url_type" value="1" [[contentData.data.url_type=="1"?"checked":""]]> 商品详情
<input type="radio" name="url_type" class="url_type" value="2" [[contentData.data.url_type=="2"?"checked":""]]> 商品列表 &emsp;
<input type="hidden" id="url_type" for="radio" value="[[contentData.data.url_type]]" />
</div>
</div>
</div>
</script>
<!--店铺列表-->
<script type="text/template" id="shopListFloor-template">
... ...
... ... @@ -1517,7 +1517,9 @@ var Button = [
"url": {
"action": "",
"url": ""
}
},
display_type : "",
url_type : ""
},
isNewFloor:"1"
},
... ... @@ -1535,7 +1537,9 @@ var Button = [
},
"activityId":""
},
isNewFloor:"1"
isNewFloor:"1",
display_type : "",
url_type : ""
},
{
button_name: "限定发售列表",
... ...