Authored by tanling

店铺列表楼层

... ... @@ -1375,11 +1375,12 @@
<div class="col-sm-8">
<input type="radio" name="shopSource" class="shopSource" value="1" [[contentData.data.shopSource=="1"?"checked":""]]> 固定推荐
<input type="radio" name="shopSource" class="shopSource" value="2" [[contentData.data.shopSource=="2"?"checked":""]]> 个性化推荐 &emsp;
<input type="radio" name="shopSource" class="shopSource" value="3" [[contentData.data.shopSource=="3"?"checked":""]]> 新品到着 &emsp;
<input type="hidden" id="shopSource" for="radio" value="[[contentData.data.shopSource]]" />
</div>
</div>
</div>
<div class="panel-body shopIdShow" [[contentData.data.shopSource=="2"?"hidden":""]]>
<div class="panel-body shopIdShow" [[contentData.data.shopSource=="2"||contentData.data.shopSource=="3"?"hidden":""]]>
<div class="row">
<label class="col-sm-2 control-label">店铺ID</label>
<div class="col-sm-8">
... ... @@ -1387,7 +1388,7 @@
</div>
</div>
</div>
<div class="panel-body recommendChannelShow" [[contentData.data.shopSource==""||contentData.data.shopSource=="1"?"hidden":""]] [[contentData.data.dataSource=="2"?"display":""]]>
<div class="panel-body recommendChannelShow" [[contentData.data.shopSource==""||contentData.data.shopSource=="1"||contentData.data.shopSource=="3"?"hidden":""]] [[contentData.data.dataSource=="2"?"display":""]]>
<div class="row">
<label class="col-sm-2 control-label">推荐频道</label>
<div class="col-sm-8">
... ...
... ... @@ -1133,6 +1133,9 @@ $(document).on("click", '.shopSource', function () {
if(_shopSource=='1') {
$(".shopIdShow").css('display', 'block');
$(".recommendChannelShow").css('display', 'none');
}else if(_shopSource=='3'){
$(".recommendChannelShow").css('display', 'noe');
$(".shopIdShow").css('display', 'none');
}else{
$(".recommendChannelShow").css('display', 'block');
$(".shopIdShow").css('display', 'none');
... ...