king
2023-07-04 0b8381328068394891541b6e3824f9afb2cc9fa1
src/tabviews/custom/components/card/balcony/index.jsx
@@ -84,21 +84,23 @@
      _data.$$uuid = _data[_config.setting.primaryKey] || ''
    }
    if (_config.wrap.position === 'fixed' || _config.wrap.position === 'absolute') {
      _config.style.position = _config.wrap.position
      _config.style.zIndex = _config.wrap.position === 'fixed' ? 3 : 2
      _config.style.left = _config.wrap.left || ''
      _config.style.right = _config.wrap.right || ''
      _config.style.top = _config.wrap.top || ''
      _config.style.bottom = _config.wrap.bottom || ''
      _config.style.transform = _config.wrap.transform || ''
      _config.style.width = _config.wrap.realwidth || ''
    } else {
      _config.style.zIndex = 1
      _config.style.left = _config.wrap.left || ''
      _config.style.right = _config.wrap.right || ''
      _config.style.top = _config.wrap.top || ''
      _config.style.bottom = _config.wrap.bottom || ''
    if (!_config.style.position) {
      if (_config.wrap.position === 'fixed' || _config.wrap.position === 'absolute') {
        _config.style.position = _config.wrap.position
        _config.style.zIndex = _config.wrap.position === 'fixed' ? 3 : 2
        _config.style.left = _config.wrap.left || ''
        _config.style.right = _config.wrap.right || ''
        _config.style.top = _config.wrap.top || ''
        _config.style.bottom = _config.wrap.bottom || ''
        _config.style.transform = _config.wrap.transform || ''
        _config.style.width = _config.wrap.realwidth || ''
      } else {
        _config.style.zIndex = 1
        _config.style.left = _config.wrap.left || ''
        _config.style.right = _config.wrap.right || ''
        _config.style.top = _config.wrap.top || ''
        _config.style.bottom = _config.wrap.bottom || ''
      }
    }
    let show = true