Authored by dongjunjie

店铺装修

@@ -804,15 +804,17 @@ function freshJson(id,data,status){ @@ -804,15 +804,17 @@ function freshJson(id,data,status){
804 if(status == 1){ 804 if(status == 1){
805 data[0].isShowShopName = $("input[name='isShowShopName']:checked").val(); 805 data[0].isShowShopName = $("input[name='isShowShopName']:checked").val();
806 if(curPlatform == "shopWeb-app"){ 806 if(curPlatform == "shopWeb-app"){
807 - jsonMain.resources.shopTopBanner_APP.isUsed = "Y"; 807 + jsonMain.resources.shopTopBanner_APP.isUsed = "Y"; // 用于提交审核时候校验app端是否维护店招
808 cloneArr(data,jsonMain.resources.shopTopBanner_APP.data); 808 cloneArr(data,jsonMain.resources.shopTopBanner_APP.data);
809 } 809 }
810 if(curPlatform == "shopWeb-pc"){ 810 if(curPlatform == "shopWeb-pc"){
811 cloneArr(data,jsonMain.resources.shopTopBanner.data); 811 cloneArr(data,jsonMain.resources.shopTopBanner.data);
  812 + /* app端与pc端单独配置,不取pc端的大图了
812 if(jsonMain.resources.shopTopBanner_APP.isUsed == "N"){ 813 if(jsonMain.resources.shopTopBanner_APP.isUsed == "N"){
813 cloneArr(data,jsonMain.resources.shopTopBanner_APP.data); 814 cloneArr(data,jsonMain.resources.shopTopBanner_APP.data);
814 cloneArr(data,jsonClone.resources.shopTopBanner_APP.data); 815 cloneArr(data,jsonClone.resources.shopTopBanner_APP.data);
815 } 816 }
  817 + */
816 } 818 }
817 }else if(status == 0){ 819 }else if(status == 0){
818 if(curPlatform == "shopWeb-app"){ 820 if(curPlatform == "shopWeb-app"){
@@ -259,16 +259,9 @@ @@ -259,16 +259,9 @@
259 <div class="model-wrap contentpanel-app"> 259 <div class="model-wrap contentpanel-app">
260 <!--banner--> 260 <!--banner-->
261 <div class="model-banner model-editor" data-toggle="editor-banner" data-title="顶部图片编辑"> 261 <div class="model-banner model-editor" data-toggle="editor-banner" data-title="顶部图片编辑">
262 - [[if resources.shopTopBanner_APP.isUsed == "Y"]]  
263 - <img src="[[resources.shopTopBanner_APP.data[0].shopSrc]]">  
264 - [[if resources.shopTopBanner_APP.data[0].isShowShopName == "Y"]]  
265 - <h1>[[shopName]]</h1>  
266 - [[/if]]  
267 - [[else]]  
268 - <img src="[[resources.shopTopBanner.data[0].shopSrc]]">  
269 - [[if resources.shopTopBanner.data[0].isShowShopName == "Y"]]  
270 - <h1>[[shopName]]</h1>  
271 - [[/if]] 262 + <img src="[[resources.shopTopBanner_APP.data[0].shopSrc]]">
  263 + [[if resources.shopTopBanner_APP.data[0].isShowShopName == "Y"]]
  264 + <h1>[[shopName]]</h1>
272 [[/if]] 265 [[/if]]
273 </div> 266 </div>
274 <!--nav--> 267 <!--nav-->