码农搬砖工 9018a4f868 xxx
2025-04-23 18:23:41 +08:00

10 lines
235 B
XML

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