import{d as s,x as i,b as t}from"./vendor.2bcdc9cf.js";const d="_address_1wpcn_1",n="_name_1wpcn_15",o="_addressContent_1wpcn_27",c="_cellGroup_1wpcn_34",l="_cellAddress_1wpcn_43";var h={address:d,name:n,addressContent:o,cellGroup:c,cellAddress:l};const r="_white_12gjh_1";var a={white:r},y=s({name:"col-sticky",props:{position:{type:String,default:"top"},background:{type:String,default:""}},data(){return{divStyle:{},sectionStyle:{width:"100%",height:"auto"}}},mounted(){this.position==="top"?this.divStyle.top="0px":this.divStyle.bottom="0px";const{height:e}=i(this.$refs.div);this.sectionStyle.height=`${e}px`},render(){return t("div",{style:this.sectionStyle},[t("div",{ref:"div",class:["van-sticky van-sticky--fixed",a[this.background]],style:[this.divStyle,this.sectionStyle]},[this.$slots.default&&this.$slots.default()])])}});export{y as C,h as s};
