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(["./index-legacy.b2528a15.js","./index-legacy.207dc8c2.js"],(function(e){"use strict";var n,t,i,r,l,s,c,a;return{setters:[function(e){n=e.d,t=e.W,i=e.i,r=e.N,l=e.A,s=e.F,c=e.p},function(e){a=e.C}],execute:function(){var o="./assets/icon-address.135cd83f.png",_="_cell_13jw9_1",u="_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((function(){return[e.item.province,e.item.city,e.item.region,e.item.detailAddress].join("")})),p=function(){e.isLink&&c({api:"setAddress",content:{}})};return function(){return i(s,null,[e.item&&e.item.phoneNumber?i(a,{class:_,"is-link":e.isLink,onClick:function(){return p()}},{icon:function(){return i(r,{name:o,size:19},null)},title:function(){return i("div",null,[i("span",{class:u},[e.item.name]),i("span",{class:m},[e.item&&e.item.phoneNumber&&e.item.phoneNumber.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2")])])},label:function(){return i("span",{class:d},[n.value])}}):i(a,{class:_,"is-link":e.isLink,onClick:function(){return p()}},{icon:function(){return i(r,{name:o,size:19},null)},title:function(){return i("div",{class:f},[l("去填写收货地址")])}})])}}}))}}}))}();
|