;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._cellEntry_13jw9_1{align-items:center}._cellEntry_13jw9_1 .van-badge__wrapper{margin:0}._cellEntry_13jw9_1 .van-cell__title{display:flex;align-items:center;margin-left:.37333rem}._cell_13jw9_1{align-items:center}._cell_13jw9_1 .van-cell__title{margin-left:.37333rem}._userName_13jw9_18{color:#333;font-size:.42667rem;font-weight:500}._phone_13jw9_23{font-size:.42667rem;color:#333;margin-left:.37333rem}._addressInfo_13jw9_28{font-size:.37333rem;color:#666}._emtry_13jw9_32{padding-top:.05333rem}\n";document.head.appendChild(__vite_style__);System.register(['./vendor-legacy.031e1374.js','./index-legacy.f25f109a2.js','./icon-address-legacy.93b9dd46.js','./index-legacy.1cd7b6bb.js'],function(exports){'use strict';var defineComponent,computed,createVNode,Cell,Icon,createTextVNode,Fragment,iconAddress,postMessage;return{setters:[function(module){defineComponent=module.d;computed=module.at;createVNode=module.a;Cell=module.q;Icon=module.u;createTextVNode=module.j;Fragment=module.F;},function(){},function(module){iconAddress=module.i;},function(module){postMessage=module.p;}],execute:function execute(){var cellEntry="_cellEntry_13jw9_1";var cell="_cell_13jw9_1";var userName="_userName_13jw9_18";var phone="_phone_13jw9_23";var addressInfo="_addressInfo_13jw9_28";var emtry="_emtry_13jw9_32";var styles={cellEntry:cellEntry,cell:cell,userName:userName,phone:phone,addressInfo:addressInfo,emtry:emtry};var Address=exports('A',defineComponent({name:'cart-address',props:{item:{type:Object,default:{}},isLink:{type:Boolean,default:true},setAddress:{type:Function,default:function _default(n){}}},setup:function setup(props){var addressInfo=computed(function(){return[props.item.province,props.item.city,props.item.region,props.item.detailAddress].join('');});var selectAddress=function selectAddress(){if(!props.isLink)return;postMessage({api:'setAddress',content:{}});};return function(){return createVNode(Fragment,null,[props.item&&props.item.phoneNumber?createVNode(Cell,{"class":styles.cell,"is-link":props.isLink,"onClick":function onClick(){return selectAddress();}},{icon:function icon(){return createVNode(Icon,{"name":iconAddress,"size":19},null);},title:function title(){return createVNode("div",null,[createVNode("span",{"class":styles.userName},[props.item.name]),createVNode("span",{"class":styles.phone},[props.item&&props.item.phoneNumber&&props.item.phoneNumber.replace(/^(\d{3})\d{4}(\d+)/,'$1****$2')])]);},label:function label(){return createVNode("span",{"class":styles.addressInfo},[addressInfo.value]);}}):createVNode(Cell,{"class":styles.cell,"is-link":props.isLink,"onClick":function onClick(){return selectAddress();}},{icon:function icon(){return createVNode(Icon,{"name":iconAddress,"size":19},null);},title:function title(){return createVNode("div",{"class":styles.emtry},[createTextVNode("\u53BB\u586B\u5199\u6536\u8D27\u5730\u5740")]);}})]);};}}));}};});})();
