Authored by 姜枫

change color img

... ... @@ -118,7 +118,8 @@ const helpers = {
return {
id: c.colorId,
title: c.colorName,
rgb: c.colorValue ? `url(${c.colorValue})` : '#' + c.colorCode
rgb: c.colorValue ? `url(${c.colorValue})` : '#' + c.colorCode,
bgImg: c.colorValue || ''
};
});
} else {
... ...
... ... @@ -21,6 +21,7 @@
img {
width: 100%;
height: 100%;
margin-top: -1px;
}
}
... ...