1 |
- !function(){var e=document.createElement("style");e.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(e),System.register(["./ResizeObserver.es-legacy.8d60aee1.js","./index-legacy.610f0a70.js"],(function(e){"use strict";var n,t,i,r,s,l,c,a;return{setters:[function(e){n=e.d,t=e.Q,i=e.W,r=e.j,s=e.N,l=e.A,c=e.F},function(e){a=e.C}],execute:function(){var o="./assets/icon-address.135cd83f.png",u="_cell_13jw9_1",_="_userName_13jw9_18",m="_phone_13jw9_23",d="_addressInfo_13jw9_28",f="_emtry_13jw9_32";e("A",n({name:"cart-address",props:{item:{type:Object,default:{}},isLink:{type:Boolean,default:!0},setAddress:{type:Function,default:function(e){}}},setup:function(e){var n=t(),p=i((function(){return[e.item.province,e.item.city,e.item.region,e.item.detailAddress].join("")})),j=function(){e.isLink&&n.push("/shopAddress")};return function(){return r(c,null,[e.item&&e.item.phoneNumber?r(a,{class:u,"is-link":e.isLink,onClick:function(){return j()}},{icon:function(){return r(s,{name:o,size:19},null)},title:function(){return r("div",null,[r("span",{class:_},[e.item.name]),r("span",{class:m},[e.item&&e.item.phoneNumber&&e.item.phoneNumber.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2")])])},label:function(){return r("span",{class:d},[p.value])}}):r(a,{class:u,"is-link":e.isLink,onClick:function(){return j()}},{icon:function(){return r(s,{name:o,size:19},null)},title:function(){return r("div",{class:f},[l("去填写收货地址")])}})])}}}))}}}))}();
|