Authored by zhaoqing

店铺模块化装修

... ... @@ -11,10 +11,10 @@
<div class="app-shop-banner modular-editor" data-type="ShopBanner" data-title="编辑店招模块" data-index="[[index]]" non-delete="true">
<img src="[[item.moduleData.data[0].pic]]" alt="#" class="img-item">
</div>
<div style="position: relative">
<div class="app-shop-info"><label><input class="appShopInfo" name="appShopInfo" type="checkbox" [[item.moduleData.data[0].showShopInfo ? 'checked' : '']] />展示店铺介绍 </label></div>
<img src="/static/assets/images/decorator/app-shop-intro.png" alt="#" class="app-shop-intro">
</div>
<img src="/static/assets/images/decorator/tab.png" alt="#" class="app-shop-intro">
<!--<div style="position: relative">-->
<!--<div class="app-shop-info"><label><input class="appShopInfo" name="appShopInfo" type="checkbox" [[item.moduleData.data[0].showShopInfo ? 'checked' : '']] />展示店铺介绍 </label></div>-->
<!--</div>-->
</div>
[[else]]
<!--展示默认的-->
... ... @@ -22,12 +22,10 @@
<div class="app-shop-banner modular-editor" data-type="ShopBanner" data-title="编辑店招模块" data-index="[[index]]" non-delete="true">
<img src="/static/assets/images/decorator/yoho-logo.png" alt="#" class="logo">
</div>
<div style="position: relative">
<div class="app-shop-info"><label><input class="appShopInfo" name="appShopInfo" type="checkbox" />展示店铺介绍 </label></div>
<img src="/static/assets/images/decorator/app-shop-intro.png" alt="#" class="app-shop-intro">
</div>
<img src="/static/assets/images/decorator/tab.png" alt="#" class="app-shop-intro">
<!--<div style="position: relative">-->
<!--<div class="app-shop-info"><label><input class="appShopInfo" name="appShopInfo" type="checkbox" />展示店铺介绍 </label></div>-->
<!--</div>-->
</div>
[[/if]]
[[/if]]
... ...
... ... @@ -830,6 +830,7 @@ var Bll = {
columns: [
{
display: '直播封面',
width:250,
render: function(item) {
return common.util.__template2($('#upload-image-template').html(), {item: item});
}
... ... @@ -842,6 +843,7 @@ var Bll = {
},
{
display: '直播介绍',
width:250,
render: function(item) {
var htmlArr = [];
htmlArr.push('<div data-index="' + item.__index + '">');
... ...
... ... @@ -23,7 +23,7 @@
/* shop banner + shop intro */
.app-top-banner {
height: 260px;
/*height: 260px;*/
}
.app-shop-info{
... ... @@ -51,7 +51,7 @@
.app-shop-intro {
position: relative;
z-index: 11;
top: -20px;
/*top: -20px;*/
}
/* 上传店铺banner图片 */
... ...