...
|
...
|
@@ -284,7 +284,7 @@ var Bll = { |
|
|
|
|
|
// 添加模块
|
|
|
if(!nonAdded) {
|
|
|
if(moduleType == 'ProductSort'){
|
|
|
if(moduleType == 'ProductSort' || moduleType == 'PcSearch'){
|
|
|
editorIcon += '<a class="add-module-icon-right" href="javascript:;" title="添加模块"><img src="/static/assets/images/decorator/add-icon.png"></a>';
|
|
|
}else{
|
|
|
editorIcon += '<a class="add-module-icon" href="javascript:;" title="添加模块"><img src="/static/assets/images/decorator/add-icon.png"></a>';
|
...
|
...
|
@@ -1232,6 +1232,7 @@ var Bll = { |
|
|
};
|
|
|
break;
|
|
|
case "ProductSort":
|
|
|
case "PcSearch":
|
|
|
// 店招
|
|
|
case "ShopBanner":
|
|
|
if(+t.active) { // PC端
|
...
|
...
|
@@ -1576,7 +1577,7 @@ var handleDecoratorTemplate = function() { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
if(module.moduleType == 'ProductSort'){
|
|
|
if(module.moduleType == 'ProductSort' || module.moduleType == 'PcSearch'){
|
|
|
if(module.moduleData === undefined) {
|
|
|
module.moduleData = {data: [{"existModule":true}], properties: {}};
|
|
|
}
|
...
|
...
|
@@ -2076,7 +2077,8 @@ $(document).on('dblclick', '.modular-editor', function() { |
|
|
var index = $(this).data('index');
|
|
|
var title = $(this).data('title');
|
|
|
var type = $(this).data('type');
|
|
|
if(type != 'ProductSort'){
|
|
|
if(type == 'ProductSort' || type == 'PcSearch'){
|
|
|
}else{
|
|
|
Bll.editEvent(index, title);
|
|
|
}
|
|
|
});
|
...
|
...
|
|