12345 |
- <<<<<<<< HEAD:dist/assets/index-legacy-e20d48f5.js
- System.register(["./index-legacy-5f8741ef.js","./index-legacy-71810036.js"],(function(t,e){"use strict";var o,i,s,n,d,a,c;return{setters:[t=>{o=t.d,i=t.x,s=t.r,n=t.y,d=t.w,a=t.a},t=>{c=t.b}],execute:function(){var e=document.createElement("style");e.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(e);const h="_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(t,{slots:e,emit:o,expose:f}){const l=i({divStyle:{},heightV:0,sectionStyle:{width:"100%",height:"auto",left:"0"}}),r=e=>{l.sectionStyle.height=`${e}px`,l.heightV=e,document.documentElement.style.setProperty(t.varName,`${e}px`),o("barHeight",e)},y=s(),p=s();return n((()=>{"top"===t.position?l.divStyle.top=t.offsetTop||"0px":l.divStyle.bottom=t.offsetBottom||"0px";try{c(y.value,(t=>{const e=t[0],{height:o}=e.contentRect;Math.abs(o-l.heightV)>1&&setTimeout((()=>{r(o)}),10)}))}catch(e){}})),d((()=>t.offsetTop),(()=>{l.divStyle.top=t.offsetTop})),d((()=>t.offsetBottom),(()=>{l.divStyle.bottom=t.offsetBottom})),f({onChnageHeight:()=>{try{c(p.value,(t=>{const e=t[0],{height:o}=e.contentRect;Math.abs(o-l.heightV)>1&&setTimeout((()=>{r(o)}),10)}))}catch(t){}}}),()=>a("div",{style:[l.sectionStyle],class:"sticky"===t.mode&&h},[a("div",{ref:y,class:["van-sticky",l.heightV>0&&"fixed"===t.mode?"van-sticky--fixed":""],style:[l.divStyle,l.sectionStyle]},[a("div",{ref:p},[e.default&&e.default()])])])}}))}}}));
- ========
- System.register(["./index-legacy-23bc5b47.js","./index-legacy-7e3a2613.js"],(function(t,e){"use strict";var o,i,s,n,d,a,c;return{setters:[t=>{o=t.d,i=t.x,s=t.r,n=t.y,d=t.w,a=t.a},t=>{c=t.b}],execute:function(){var e=document.createElement("style");e.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(e);const h="_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(t,{slots:e,emit:o,expose:f}){const l=i({divStyle:{},heightV:0,sectionStyle:{width:"100%",height:"auto",left:"0"}}),r=e=>{l.sectionStyle.height=`${e}px`,l.heightV=e,document.documentElement.style.setProperty(t.varName,`${e}px`),o("barHeight",e)},y=s(),p=s();return n((()=>{"top"===t.position?l.divStyle.top=t.offsetTop||"0px":l.divStyle.bottom=t.offsetBottom||"0px";try{c(y.value,(t=>{const e=t[0],{height:o}=e.contentRect;Math.abs(o-l.heightV)>1&&setTimeout((()=>{r(o)}),10)}))}catch(e){}})),d((()=>t.offsetTop),(()=>{l.divStyle.top=t.offsetTop})),d((()=>t.offsetBottom),(()=>{l.divStyle.bottom=t.offsetBottom})),f({onChnageHeight:()=>{try{c(p.value,(t=>{const e=t[0],{height:o}=e.contentRect;Math.abs(o-l.heightV)>1&&setTimeout((()=>{r(o)}),10)}))}catch(t){}}}),()=>a("div",{style:[l.sectionStyle],class:"sticky"===t.mode&&h},[a("div",{ref:y,class:["van-sticky",l.heightV>0&&"fixed"===t.mode?"van-sticky--fixed":""],style:[l.divStyle,l.sectionStyle]},[a("div",{ref:p},[e.default&&e.default()])])])}}))}}}));
- >>>>>>>> iteration-20250327-light:dist/assets/index-legacy-8efba948.js
|