Authored by mali

样式修改

... ... @@ -54,7 +54,7 @@ var g = new common.grid({
name:"offlineBrandIco",
render: function(item) {
if (item.offlineBrandIco) {
return '<img src="' + item.offlineBrandIco + '" width="100" height="100" id="offline-logo-' + item.__index + '"/>';
return '<img src="' + item.offlineBrandIco + '" width="100" height="100" id="offline-logo-' + item.__index + '" class="offline-logo-image"/>';
}
return '<div id="offline-logo-' + item.__index + '"/>';
}
... ... @@ -95,7 +95,13 @@ var g = new common.grid({
toolbar: 0,
movable: false
});
new common.viewer(document.getElementById($(images[i]).attr('id')), {
}
}
var offlineimages = $('.offline-logo-image');
if(offlineimages) {
for(var i = 0; i < offlineimages.length; i++) {
new common.viewer(document.getElementById($(offlineimages[i]).attr('id')), {
navbar: 0,
title: 0,
toolbar: 0,
... ...