zoujiandong 2bd2fd31ac 1.22
2024-01-22 08:55:30 +08:00

10 lines
262 B
XML

var getStyles = function (top, zIndex, customStyle) {
var topStyle = top ? 'top:' + top + 'px;' : '';
var zIndexStyle = zIndex ? 'z-index:' + zIndex + ';' : '';
return topStyle + zIndexStyle + customStyle;
};
module.exports = {
getStyles: getStyles,
};