glhcp/server/public/mobile/static/js/bundle-pages-user_address-u...

1 line
7.5 KiB
JavaScript
Raw Normal View History

2023-08-10 06:59:52 +00:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-user_address-user_address"],{2241:function(e,t,s){"use strict";s.d(t,"b",(function(){return a})),s.d(t,"c",(function(){return n})),s.d(t,"a",(function(){return i}));var i={uRadioGroup:s("9a0c4").default,uRadio:s("d999").default,uModal:s("211d").default},a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-uni-view",{staticClass:"user-address"},[e.hasAddress?s("v-uni-view",{staticClass:"address-list"},[s("u-radio-group",{staticClass:"radio-group",attrs:{"active-color":e.colorConfig.primary},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.radioChange.apply(void 0,arguments)}},model:{value:e.currentId,callback:function(t){e.currentId=t},expression:"currentId"}},e._l(e.addressList,(function(t,i){return s("v-uni-view",{key:i,staticClass:"item bg-white m-b-20",on:{click:function(s){arguments[0]=s=e.$handleEvent(s),e.onSelect(t.id)}}},[s("v-uni-view",{staticClass:"address"},[s("v-uni-view",{staticClass:"consignee md bold"},[e._v(e._s(t.contact)),s("v-uni-text",{staticClass:"phone m-l-10"},[e._v(e._s(t.telephone))])],1),s("v-uni-view",{staticClass:"lighter sm m-t-10"},[e._v(e._s(t.province)+" "+e._s(t.city)+" "+e._s(t.district)+" "+e._s(t.address))])],1),s("v-uni-view",{staticClass:"operation flex row-between"},[s("v-uni-view",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t)}}},[s("u-radio",{staticClass:"radio flex",attrs:{name:t.id}},[s("v-uni-text",{staticClass:"xs"},[e._v(e._s(e.currentId==t.id?"默认":"设为默认"))])],1)],1),s("v-uni-view",{staticClass:"flex row-center"},[s("router-link",{attrs:{to:{path:"/bundle/pages/address_edit/address_edit",query:{id:t.id}}}},[s("v-uni-view",{staticClass:"flex m-r-20"},[s("v-uni-image",{staticClass:"icon-md m-r-10",attrs:{src:"/static/images/icon_edit.png"}}),e._v("编辑")],1)],1),s("v-uni-view",{staticClass:"flex m-l-20",on:{click:function(s){s.stopPropagation(),arguments[0]=s=e.$handleEvent(s),e.showSurePop(t.id)}}},[s("v-uni-image",{staticClass:"icon-md m-r-10",attrs:{src:"/static/images/icon_del_1.png"}}),e._v("删除")],1)],1)],1)],1)})),1)],1):s("v-uni-view",{staticClass:"no-address flex-col col-center"},[s("v-uni-image",{staticClass:"img-null mt20",attrs:{src:"/static/images/address_null.png"}}),s("v-uni-view",{staticClass:"sm muted"},[e._v("暂无添加地址,请添加~")])],1),s("u-modal",{attrs:{id:"delete-dialog","show-cancel-button":!0,"confirm-text":"狠心删除","confirm-color":e.colorConfig.primary,"show-title":!1},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.delAddressFun.apply(void 0,arguments)}},model:{value:e.deleteSure,callback:function(t){e.deleteSure=t},expression:"deleteSure"}},[s("v-uni-view",{staticClass:"flex-col col-center tips-dialog p-t-40"},[s("v-uni-image",{staticClass:"icon-lg",attrs:{src:"/static/images/icon_warning.png"}}),s("v-uni-view",{staticStyle:{"margin-top":"30rpx"}},[e._v("确认删除该地址吗?")])],1)],1),s("v-uni-view",{staticClass:"footer flex row-between fixed bg-white"},[e.isWeixin?s("v-uni-view",{staticClass:"btn flex row-center bg-gray br60 m-r-20",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.getWxAddressFun.apply(void 0,arguments)}}},[s("v-uni-image",{staticClass:"icon-lg m-r-10",attrs:{src:"/static/images/icon_wechat.png"}}),s("v-uni-text",{staticClass:"md"},[e._v("微信导入")])],1):e._e(),s("router-link",{staticClass:"flex-1",attrs:{to:{path:"/bundle/pages/address_edit/address_edit"}}},[s("v-uni-view",{staticClass:"btn bg-primary white md flex row-center br60"},[e._v("新增收货地址")])],1)],1)],1)},n=[]},"3a04":function(e,t,s){"use strict";var i=s("640d"),a=s.n(i);a.a},"640d":function(e,t,s){var i=s("ab44");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=s("4f06").default;a("4d0179ca",i,!0,{sourceMap:!1,shadowMode:!1})},"7aa4":function(e,t,s){"use strict";var i=s("4ea4");s("7db0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,s("96cf");var a=i(s("1da1")),n=s("e9dc"),d=i(s("5769")),r=s("357b"),o={data:function(){retu