"use strict"; const common_vendor = require("../vendor.js"); const pxToRpx = (pxValue, screenWidth) => { common_vendor.index.__f__("log", "at common/js/util.js:66", "转换Px", pxValue, "屏幕宽度", screenWidth); const rpx = 750 / screenWidth * Number(pxValue); return Math.floor(rpx); }; const currentDate = () => { const now = /* @__PURE__ */ new Date(); const year = now.getFullYear(); const month = String(now.getMonth() + 1).padStart(2, "0"); const day = String(now.getDate()).padStart(2, "0"); return `${year}-${month}-${day}`; }; exports.currentDate = currentDate; exports.pxToRpx = pxToRpx; //# sourceMappingURL=../../../.sourcemap/mp-baidu/common/js/util.js.map