index-legacy-c75217bf.js 3.2 KB

12345
  1. <<<<<<<< HEAD:dist/assets/index-legacy-053f4eb4.js
  2. System.register(["./index-legacy-cf1f2311.js"],(function(t,e){"use strict";var o,i,n,s,f,d,r,c=document.createElement("style");return c.textContent="._sticky_4d2w6_1{position:sticky;top:0;z-index:99}._white_4d2w6_6{background-color:#fff}._white_4d2w6_6>div{padding-top:.4rem;box-shadow:0 0 .26667rem rgba(216,216,216,.5)}\n",document.head.appendChild(c),{setters:[function(t){o=t.d,i=t.O,n=t.i,s=t.o,f=t.Y,d=t.w,r=t.g}],execute:function(){var e="_sticky_4d2w6_1";t("M",o({name:"m-sticky",props:{position:{type:String,default:"top"},mode:{type:String,default:"fixed"},offsetTop:{type:String,default:"0px"},offsetBottom:{default:"0px"},varName:{type:String,default:"--header-height"}},emits:["barHeight"],setup:function(t,o){var c=o.slots,a=o.emit,u=i({divStyle:{},heightV:0,sectionStyle:{width:"100%",height:"auto",left:"0"}}),l=n(),p=n();return s((function(){"top"===t.position?u.divStyle.top=t.offsetTop||"0px":u.divStyle.bottom=t.offsetBottom||"0px",new ResizeObserver((function(){!function(e){u.sectionStyle.height="".concat(e,"px"),u.heightV=e,document.documentElement.style.setProperty(t.varName,"".concat(e,"px")),a("barHeight",e)}(f(p.value).height)})).observe(l.value)})),d((function(){return t.offsetTop}),(function(){u.divStyle.top=t.offsetTop})),d((function(){return t.offsetBottom}),(function(){u.divStyle.bottom=t.offsetBottom})),function(){return r("div",{style:[u.sectionStyle],class:"sticky"===t.mode&&e},[r("div",{ref:l,class:["van-sticky","fixed"===t.mode?"van-sticky--fixed":""],style:[u.divStyle,u.sectionStyle]},[r("div",{ref:p},[c.default&&c.default()])])])}}}))}}}));
  3. ========
  4. System.register(["./index-legacy-3a68cd4d.js"],(function(t,e){"use strict";var o,i,n,s,f,d,r,c=document.createElement("style");return c.textContent="._sticky_4d2w6_1{position:sticky;top:0;z-index:99}._white_4d2w6_6{background-color:#fff}._white_4d2w6_6>div{padding-top:.4rem;box-shadow:0 0 .26667rem rgba(216,216,216,.5)}\n",document.head.appendChild(c),{setters:[function(t){o=t.d,i=t.O,n=t.i,s=t.o,f=t.Y,d=t.w,r=t.g}],execute:function(){var e="_sticky_4d2w6_1";t("M",o({name:"m-sticky",props:{position:{type:String,default:"top"},mode:{type:String,default:"fixed"},offsetTop:{type:String,default:"0px"},offsetBottom:{default:"0px"},varName:{type:String,default:"--header-height"}},emits:["barHeight"],setup:function(t,o){var c=o.slots,a=o.emit,u=i({divStyle:{},heightV:0,sectionStyle:{width:"100%",height:"auto",left:"0"}}),l=n(),p=n();return s((function(){"top"===t.position?u.divStyle.top=t.offsetTop||"0px":u.divStyle.bottom=t.offsetBottom||"0px",new ResizeObserver((function(){!function(e){u.sectionStyle.height="".concat(e,"px"),u.heightV=e,document.documentElement.style.setProperty(t.varName,"".concat(e,"px")),a("barHeight",e)}(f(p.value).height)})).observe(l.value)})),d((function(){return t.offsetTop}),(function(){u.divStyle.top=t.offsetTop})),d((function(){return t.offsetBottom}),(function(){u.divStyle.bottom=t.offsetBottom})),function(){return r("div",{style:[u.sectionStyle],class:"sticky"===t.mode&&e},[r("div",{ref:l,class:["van-sticky","fixed"===t.mode?"van-sticky--fixed":""],style:[u.divStyle,u.sectionStyle]},[r("div",{ref:p},[c.default&&c.default()])])])}}}))}}}));
  5. >>>>>>>> 87d4d1b1 (更新):dist/assets/index-legacy-c75217bf.js