import{d as s,x as i,b as t}from"./vendor.27e15f5e.js";const n="_address_1wpcn_1",o="_name_1wpcn_15",d="_addressContent_1wpcn_27",l="_cellGroup_1wpcn_34",r="_cellAddress_1wpcn_43";var h={address:n,name:o,addressContent:d,cellGroup:l,cellAddress:r};const c="_white_12gjh_1";var a={white:c},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};
