"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _screenWidth = _interopRequireDefault(require("../screen-width"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _default = function _default(rpx) {
  return _screenWidth.default / 750 * rpx / (process.env.REMAX_PLATFORM === 'wechat' ? _screenWidth.default / 750 : 1);
};

exports.default = _default;