utils.js 216 B

1234567
  1. export function isObject (val) {
  2. return Object.prototype.toString.call(val) === '[object Object]'
  3. }
  4. export function getIndicatorHeight () {
  5. return Math.round(uni.getSystemInfoSync().screenWidth / (750 / 100))
  6. }