Showing
2 changed files
with
6 additions
and
2 deletions
@@ -1375,11 +1375,12 @@ | @@ -1375,11 +1375,12 @@ | ||
1375 | <div class="col-sm-8"> | 1375 | <div class="col-sm-8"> |
1376 | <input type="radio" name="shopSource" class="shopSource" value="1" [[contentData.data.shopSource=="1"?"checked":""]]> 固定推荐 | 1376 | <input type="radio" name="shopSource" class="shopSource" value="1" [[contentData.data.shopSource=="1"?"checked":""]]> 固定推荐 |
1377 | <input type="radio" name="shopSource" class="shopSource" value="2" [[contentData.data.shopSource=="2"?"checked":""]]> 个性化推荐   | 1377 | <input type="radio" name="shopSource" class="shopSource" value="2" [[contentData.data.shopSource=="2"?"checked":""]]> 个性化推荐   |
1378 | + <input type="radio" name="shopSource" class="shopSource" value="3" [[contentData.data.shopSource=="3"?"checked":""]]> 新品到着   | ||
1378 | <input type="hidden" id="shopSource" for="radio" value="[[contentData.data.shopSource]]" /> | 1379 | <input type="hidden" id="shopSource" for="radio" value="[[contentData.data.shopSource]]" /> |
1379 | </div> | 1380 | </div> |
1380 | </div> | 1381 | </div> |
1381 | </div> | 1382 | </div> |
1382 | - <div class="panel-body shopIdShow" [[contentData.data.shopSource=="2"?"hidden":""]]> | 1383 | + <div class="panel-body shopIdShow" [[contentData.data.shopSource=="2"||contentData.data.shopSource=="3"?"hidden":""]]> |
1383 | <div class="row"> | 1384 | <div class="row"> |
1384 | <label class="col-sm-2 control-label">店铺ID</label> | 1385 | <label class="col-sm-2 control-label">店铺ID</label> |
1385 | <div class="col-sm-8"> | 1386 | <div class="col-sm-8"> |
@@ -1387,7 +1388,7 @@ | @@ -1387,7 +1388,7 @@ | ||
1387 | </div> | 1388 | </div> |
1388 | </div> | 1389 | </div> |
1389 | </div> | 1390 | </div> |
1390 | - <div class="panel-body recommendChannelShow" [[contentData.data.shopSource==""||contentData.data.shopSource=="1"?"hidden":""]] [[contentData.data.dataSource=="2"?"display":""]]> | 1391 | + <div class="panel-body recommendChannelShow" [[contentData.data.shopSource==""||contentData.data.shopSource=="1"||contentData.data.shopSource=="3"?"hidden":""]] [[contentData.data.dataSource=="2"?"display":""]]> |
1391 | <div class="row"> | 1392 | <div class="row"> |
1392 | <label class="col-sm-2 control-label">推荐频道</label> | 1393 | <label class="col-sm-2 control-label">推荐频道</label> |
1393 | <div class="col-sm-8"> | 1394 | <div class="col-sm-8"> |
@@ -1133,6 +1133,9 @@ $(document).on("click", '.shopSource', function () { | @@ -1133,6 +1133,9 @@ $(document).on("click", '.shopSource', function () { | ||
1133 | if(_shopSource=='1') { | 1133 | if(_shopSource=='1') { |
1134 | $(".shopIdShow").css('display', 'block'); | 1134 | $(".shopIdShow").css('display', 'block'); |
1135 | $(".recommendChannelShow").css('display', 'none'); | 1135 | $(".recommendChannelShow").css('display', 'none'); |
1136 | + }else if(_shopSource=='3'){ | ||
1137 | + $(".recommendChannelShow").css('display', 'noe'); | ||
1138 | + $(".shopIdShow").css('display', 'none'); | ||
1136 | }else{ | 1139 | }else{ |
1137 | $(".recommendChannelShow").css('display', 'block'); | 1140 | $(".recommendChannelShow").css('display', 'block'); |
1138 | $(".shopIdShow").css('display', 'none'); | 1141 | $(".shopIdShow").css('display', 'none'); |
-
Please register or login to post a comment