"use strict";var _baseComponent=_interopRequireDefault(require("../helpers/baseComponent")),_styleToCssString=_interopRequireDefault(require("../helpers/libs/styleToCssString"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,_baseComponent.default)({relations:{"../virtual-list/index":{type:"ancestor"}},properties:{prefixCls:{type:String,value:"wux-virtual-item"}},data:{index:0,wrapStyle:""},methods:{updated:function(e,t){this.setData({index:e,wrapStyle:(0,_styleToCssString.default)({position:"absolute",left:0,top:e*t,width:"100%",height:t})})}}});