index-legacy.1fe2c45b.js 2.4 KB

12
  1. ;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._address_1wpcn_1{padding:.37333rem;font-size:.42667rem;color:#666;line-height:.58667rem;display:flex;align-items:center;justify-content:space-between}._address_1wpcn_1 p{padding:.10667rem 0;display:flex;align-items:baseline}._address_1wpcn_1 ._name_1wpcn_15{font-size:.48rem;font-weight:600;color:#1a1a1a;line-height:.66667rem;padding-right:.4rem;max-width:4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block}._address_1wpcn_1 ._addressContent_1wpcn_27{display:block;width:7.46667rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._cellGroup_1wpcn_34{margin-top:.32rem!important;--van-field-label-width: 2.13333rem}._cellGroup_1wpcn_34 .van-cell{font-size:.42667rem;color:#1a1a1a;padding:.42667rem .32rem}._cellGroup_1wpcn_34._cellAddress_1wpcn_43{--van-field-label-width: 3.2rem}._cellGroup_1wpcn_34._cellAddress_1wpcn_43 .van-field__control{justify-content:flex-end}._white_12gjh_1{background-color:#fff}._white_12gjh_1>div{padding:.4rem;box-shadow:0 0 .26667rem rgba(216,216,216,.5)}\n";document.head.appendChild(__vite_style__);System.register(['./vendor-legacy.73abbe39.js'],function(exports){'use strict';var defineComponent,useRect,createVNode;return{setters:[function(module){defineComponent=module.d;useRect=module.x;createVNode=module.b;}],execute:function execute(){var address="_address_1wpcn_1";var name="_name_1wpcn_15";var addressContent="_addressContent_1wpcn_27";var cellGroup="_cellGroup_1wpcn_34";var cellAddress="_cellAddress_1wpcn_43";var styles$1=exports('s',{address:address,name:name,addressContent:addressContent,cellGroup:cellGroup,cellAddress:cellAddress});var white="_white_12gjh_1";var styles={white:white};var ColSticky=exports('C',defineComponent({name:'col-sticky',props:{position:{type:String,default:'top'},background:{type:String,default:''}},data:function data(){return{divStyle:{},sectionStyle:{width:'100%',height:'auto'}};},mounted:function mounted(){if(this.position==='top'){this.divStyle.top='0px';}else{this.divStyle.bottom='0px';}var _useRect=useRect(this.$refs.div),height=_useRect.height;this.sectionStyle.height="".concat(height,"px");},render:function render(){return createVNode("div",{"style":this.sectionStyle},[createVNode("div",{"ref":"div","class":['van-sticky van-sticky--fixed',styles[this.background]],"style":[this.divStyle,this.sectionStyle]},[this.$slots.default&&this.$slots.default()])]);}}));}};});})();