-
zhangwei
2025-03-05 16213c0f85aa3ac8317797bf4a05fd12940e16d3
src/uni_modules/uview-plus/components/u-sticky/u-sticky.vue
@@ -17,7 +17,7 @@
   import { props } from './props';
   import { mpMixin } from '../../libs/mixin/mpMixin';
   import { mixin } from '../../libs/mixin/mixin';
   import { addUnit, addStyle, deepMerge, getPx, guid, sys, os } from '../../libs/function/index';
   import { addUnit, addStyle, deepMerge, getPx, guid, getDeviceInfo, os } from '../../libs/function/index';
   import zIndex from '../../libs/config/zIndex';
   /**
    * sticky 吸顶
@@ -150,7 +150,7 @@
            // #endif
            // 如果安卓版本高于8.0,依然认为是支持css sticky的(因为安卓7在某些机型,可能不支持sticky)
            if (os() === 'android' && Number(sys().system) > 8) {
            if (os() === 'android' && Number(getDeviceInfo().system) > 8) {
               this.cssSticky = true
            }