白色主题

This commit is contained in:
2023-02-12 19:04:01 +08:00
parent d736a5912f
commit 57ab6fbb49
411 changed files with 1752 additions and 5304 deletions

View File

@@ -8,14 +8,14 @@ var changeNumToStr = function (arr) {
});
};
var getMessageStyles = function (zIndex, offset, wrapTop, customStyle) {
var getMessageStyles = function (zIndex, offset, wrapTop, style) {
var arr = changeNumToStr(offset);
var styleOffset = '';
styleOffset += 'top:' + changeNumToStr([wrapTop * 2]) + ';';
styleOffset += 'right:' + arr[1] + ';';
styleOffset += 'left:' + arr[1] + ';';
var zIndexStyle = zIndex ? 'z-index:' + zIndex + ';' : '';
return zIndexStyle + styleOffset + customStyle;
return zIndexStyle + styleOffset + style;
};
module.exports = {