code: function() {
  
          var node = this.node;
          var fixed = this.options.fixed;
          var dl = fixed ? 0 : getDocumentScroll('Left');
          var dt = fixed ? 0 : getDocumentScroll('Top');
          var ww = getWindowSize('Width');
          var wh = getWindowSize('Height');
          var ow = node.offsetWidth;
          var oh = node.offsetHeight;
          var left = (ww - ow) / 2 + dl;
          var top = (wh - oh) * 382 / 1000 + dt; // 黄金比例
          var style = node.style;
  
  
          style.left = Math.max(parseInt(left), dl) + 'px';
          style.top = Math.max(parseInt(top), dt) + 'px';
      }
docs: 居中浮层