Files
Smart-Farm/front/components/fixed.js
2025-12-22 17:13:05 +08:00

11 lines
1.9 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/fixed"],{"04b4":function(t,e,n){"use strict";n.r(e);var i=n("67de"),u=n("e109");for(var o in u)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(o);n("5d09");var r=n("f0c5"),c=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports},"38d1":function(t,e,n){},"5d09":function(t,e,n){"use strict";var i=n("38d1"),u=n.n(i);u.a},"67de":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},u=[]},e109:function(t,e,n){"use strict";n.r(e);var i=n("e452"),u=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=u.a},e452:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"fixed",props:{position:{type:[String],default:function(){return"top"}},zIndex:{type:Number,default:function(){return 999}},refresh:{type:Boolean,default:function(){return!1}}},data:function(){return{height:100*t.getSystemInfoSync().windowWidth/750}},mounted:function(){this.setHeight()},onReady:function(){this.setHeight()},watch:{refresh:function(t){console.log(t,"=======val"),t||this.setHeight()}},methods:{setHeight:function(){var e=this,n=t.createSelectorQuery().in(this);n.select(".ui-fixed").boundingClientRect((function(t){e.height=t.height})).exec()}}};e.default=n}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/fixed-create-component',
{
'components/fixed-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("04b4"))
})
},
[['components/fixed-create-component']]
]);