pages-my-addresslist-addresslist.6653a598.js 24 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-addresslist-addresslist"],{"0457":function(a,t,e){var i=e("24fb"),n=e("1de5"),o=e("e516"),d=e("2457"),r=e("d5ae"),s=e("71c5"),c=e("be44"),f=e("d3a1"),l=e("6464"),g=e("af09"),u=e("68b2"),p=e("c1b7"),b=e("d609"),h=e("b275"),v=e("24a3"),m=e("2350"),k=e("d186"),w=e("f546"),y=e("f3d6"),x=e("9b34"),A=e("356a"),z=e("74ea"),C=e("5134"),T=e("5a97");t=i(!1);var S=n(o),B=n(d),F=n(r),J=n(s),R=n(c),j=n(f),P=n(l),D=n(g),E=n(u),U=n(p),q=n(b),Q=n(h),Y=n(v),O=n(m),Z=n(k),M=n(w),W=n(y),K=n(x),N=n(A),L=n(z),V=n(C),X=n(T);t.push([a.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-head[data-v-6fca21f6]{display:none}uni-page-body[data-v-6fca21f6]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-6fca21f6]::-webkit-scrollbar{display:none}.button[data-v-6fca21f6]{background-color:#00ae75;border-radius:%?32?%;font-size:%?32?%;line-height:%?64?%;color:#fff;padding:0 %?30?%;text-align:center;position:relative}.button.border[data-v-6fca21f6]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-6fca21f6]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-6fca21f6]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-6fca21f6]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-6fca21f6]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-6fca21f6]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-6fca21f6]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-6fca21f6]{display:flex;align-items:center}.addr[data-v-6fca21f6]:before{content:"";background:url('+S+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-6fca21f6]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-6fca21f6]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-6fca21f6]{background:url('+B+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-6fca21f6]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-6fca21f6]{background:url("+F+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-6fca21f6]{background:url("+J+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-6fca21f6]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+R+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-6fca21f6]{background:url("+j+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-6fca21f6]{background:url("+P+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-6fca21f6]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-6fca21f6]{background:url("+E+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-6fca21f6]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-6fca21f6]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-6fca21f6]{background:url("+Q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-6fca21f6]{background:url("+Y+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-6fca21f6]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-6fca21f6]{background:url("+Z+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-6fca21f6]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-6fca21f6]{background:url("+W+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-6fca21f6]{background:url("+K+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-6fca21f6]{background:url("+S+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-6fca21f6]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-6fca21f6]{margin-top:%?12?%;display:flex}.tag[data-v-6fca21f6]{border:%?1?% solid #00ab78;line-height:%?28?%;font-size:%?20?%;padding:0 %?8?%;border-radius:%?4?%;margin-right:%?8?%;color:#00ab78}.tag.orange[data-v-6fca21f6]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-6fca21f6]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-6fca21f6]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-6fca21f6]{border-color:#999;color:#333}.btn-page-back[data-v-6fca21f6], .btn-page-home[data-v-6fca21f6]{position:fixed;background:url("+N+") no-repeat 50% rgba(0,0,0,.3);background-size:%?44?%;width:%?44?%;height:%?44?%;z-index:999;left:0}.btn-page-home[data-v-6fca21f6]{background-image:url("+L+')}.btns-buygroup[data-v-6fca21f6]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-6fca21f6]{margin:0 %?15?%}.topinfo[data-v-6fca21f6]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-6fca21f6]{flex:1}.topinfo .address[data-v-6fca21f6]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-6fca21f6]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-6fca21f6]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-6fca21f6]{margin:0 %?16?%;color:#333;font-size:%?28?%;line-height:%?40?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topinfo .address .adr-shop .icon-address[data-v-6fca21f6]{flex-shrink:0}.topinfo .address .range[data-v-6fca21f6]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-6fca21f6]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-6fca21f6]{font-size:%?24?%;color:#fff;padding:0 %?18?%;border-radius:%?30?%;line-height:%?38?%;display:inline-block}.topinfo .address .switch uni-text.active[data-v-6fca21f6]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-6fca21f6]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-6fca21f6]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-6fca21f6]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-6fca21f6]:after{content:"";background:url('+V+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-6fca21f6]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-6fca21f6]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-6fca21f6]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-6fca21f6]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-6fca21f6]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-6fca21f6]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-6fca21f6]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-6fca21f6]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-6fca21f6]{margin-bottom:%?8?%}.nav-item[data-v-6fca21f6]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-6fca21f6]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-6fca21f6]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-6fca21f6]{display:flex;align-items:baseline;color:#333;flex:1;margin-left:%?12?%;justify-content:flex-end;text-align:right}.nav-item > uni-view[data-v-6fca21f6]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+R+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-6fca21f6]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-6fca21f6]{color:#999}.nav-item[data-v-6fca21f6]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-6fca21f6]:after{display:none}.nav-item.help[data-v-6fca21f6]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-6fca21f6]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-6fca21f6]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-6fca21f6]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-6fca21f6]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-6fca21f6]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-6fca21f6]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-6fca21f6]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-6fca21f6], .goods-item.inorder uni-image[data-v-6fca21f6]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-6fca21f6]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-6fca21f6]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-6fca21f6]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-6fca21f6]{position:relative}.swiper-cont .swiper[data-v-6fca21f6]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-6fca21f6], .swiper-cont .swiper uni-image[data-v-6fca21f6]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-6fca21f6]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);top:0;left:0;right:0;bottom:0}.swiper-cont .swiper .videoposter .btn-play[data-v-6fca21f6]{background:url('+X+") no-repeat;background-size:contain;width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.swiper-cont .swiper .videoposter uni-video[data-v-6fca21f6]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-6fca21f6], .swiper-cont .swiper .videoposter.playing[data-v-6fca21f6]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-6fca21f6]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-6fca21f6]{display:block}.swiper-cont .dots[data-v-6fca21f6]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-6fca21f6]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-6fca21f6]{background-color:#fff;width:%?36?%}.form[data-v-6fca21f6]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-6fca21f6]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-6fca21f6]:last-child{border-bottom:0}.form .form-item .label[data-v-6fca21f6]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-6fca21f6]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-6fca21f6]{flex:1}.form .form-item .content .disabled[data-v-6fca21f6]{color:#999}.form .form-item .link[data-v-6fca21f6]{color:#00ab78}.form .form-item .checkboxgroup[data-v-6fca21f6]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-6fca21f6]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-6fca21f6]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-6fca21f6], .form.mini .content[data-v-6fca21f6]{font-size:%?24?%}.form.mini .form-item[data-v-6fca21f6]{padding-bottom:%?8?%}",""]),a.exports=t},"172e6":function(a,t,e){"use strict";var i;e.d(t,"b",(function(){return n})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}));var n=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("v-uni-view",{staticClass:"app"},[a.addresslist.length?i("v-uni-view",{staticClass:"card"},a._l(a.addresslist,(function(t,e){return i("v-uni-view",{key:e,staticClass:"dl",attrs:{"data-item":t},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.selectAddress.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"dt"},[i("v-uni-view",{class:2==t.type?"default":""},[a._v(a._s(t.address)+a._s(t.house_number))]),a._v(a._s(t.contact)+","+a._s(t.mobile))],1),i("v-uni-view",{staticClass:"dd"},[i("v-uni-text",{staticClass:"icon-edit",attrs:{"data-item":t},on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t),a.editAddress.apply(void 0,arguments)}}})],1)],1)})),1):a._e(),a.addresslist.length?a._e():i("v-uni-view",{staticClass:"nodata"},[i("v-uni-image",{attrs:{src:e("50da"),mode:"widthFix"}}),i("v-uni-text",[a._v("暂无地址信息\n点击底部按钮添加地址")])],1),i("v-uni-view",{staticClass:"bt-fixed"},[i("v-uni-view",{staticClass:"button big",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.addAddress.apply(void 0,arguments)}}},[a._v("添加地址")])],1)],1)},o=[]},"226b":function(a,t,e){var i=e("24fb"),n=e("1de5"),o=e("4934");t=i(!1);var d=n(o);t.push([a.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-6fca21f6]{height:100%;display:flex;flex-direction:column}.app[data-v-6fca21f6]{flex:1;background-color:#f7f7f7;padding:%?16?% %?32?% %?100?%;box-sizing:border-box;min-height:100%;display:flex;flex-direction:column}.nodata[data-v-6fca21f6]{display:flex;flex-direction:column;align-items:center;font-size:%?28?%;color:#999;flex:1;justify-content:center;text-align:center}.nodata uni-image[data-v-6fca21f6]{width:%?280?%;display:block;margin-bottom:%?48?%}.card[data-v-6fca21f6]{width:%?686?%;margin:%?24?% 0;background-color:#fff;border-radius:%?30?%;box-shadow:0 4px 8px 0 rgba(0,0,0,.05);padding:%?32?%;box-sizing:border-box}.card .dl[data-v-6fca21f6]{padding:%?30?% 0;border-bottom:%?2?% dashed #cacccb;display:flex;justify-content:space-between;align-items:center}.card .dl .dt[data-v-6fca21f6]{display:flex;flex-direction:column}.card .dl .dt uni-view[data-v-6fca21f6]{display:flex;flex-direction:column;align-items:flex-start;font-size:%?28?%;font-weight:bolder;margin-bottom:%?12?%}.card .dl .dt uni-view.default[data-v-6fca21f6]:before{flex-shrink:0;content:"默认地址";background-color:#00ab78;padding:0 %?10?%;font-size:%?20?%;line-height:%?28?%;color:#fff;border-radius:%?4?%;margin-bottom:%?8?%}.card .dl .dd[data-v-6fca21f6]{width:%?34?%;flex-shrink:0;margin-left:%?10?%}.card .dl[data-v-6fca21f6]:first-child{padding-top:0}.card .dl[data-v-6fca21f6]:last-child{padding-bottom:0;border-bottom:0}.bt-fixed[data-v-6fca21f6]{position:fixed;bottom:0;left:0;width:100%;box-sizing:border-box;display:flex;justify-content:space-between;padding:%?16?% %?70?%}.bt-fixed .button[data-v-6fca21f6]{width:%?580?%;flex-shrink:0;padding:0}.bt-fixed .button.icon-wechat[data-v-6fca21f6]{display:flex;align-items:center;justify-content:center}.bt-fixed .button.icon-wechat[data-v-6fca21f6]:before{content:"";background:url('+d+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%;margin-right:%?6?%}",""]),a.exports=t},"3a39":function(a,t,e){"use strict";e.r(t);var i=e("172e6"),n=e("a622");for(var o in n)"default"!==o&&function(a){e.d(t,a,(function(){return n[a]}))}(o);e("7814"),e("efe1");var d,r=e("f0c5"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"6fca21f6",null,!1,i["a"],d);t["default"]=s.exports},4934:function(a,t){a.exports="data:image/png;base64,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"},"50da":function(a,t,e){a.exports=e.p+"static/img/noaddress.cae15f28.png"},7814:function(a,t,e){"use strict";var i=e("8ba8"),n=e.n(i);n.a},"8ba8":function(a,t,e){var i=e("0457");"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var n=e("4f06").default;n("7e38156c",i,!0,{sourceMap:!1,shadowMode:!1})},a622:function(a,t,e){"use strict";e.r(t);var i=e("d593"),n=e.n(i);for(var o in i)"default"!==o&&function(a){e.d(t,a,(function(){return i[a]}))}(o);t["default"]=n.a},d593:function(a,t,e){"use strict";var i=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(e("5530")),o={data:function(){return{addresslist:[],outsell:0,fromCard:0,goods_id:""}},methods:{importAddress:function(){var a=this;uni.chooseAddress({success:function(t){a.reqByuser({url:"package/passport/?l=address.up",data:{contact:t.userName,address:t.provinceName+t.cityName+t.countyName,city:t.postalCode,house_number:t.detailInfo,mobile:t.telNumber,type:1},success:function(t){1==t.data.status&&a.loadAddresslist()}})}})},addAddress:function(){uni.navigateTo({url:"/pages/my/editaddress/editaddress?goods_id="+this.goods_id})},editAddress:function(a){uni.navigateTo({url:"/pages/my/editaddress/editaddress?goods_id="+this.goods_id+"&id="+a.currentTarget.dataset.item.id})},loadAddresslist:function(){var a=this;this.reqByuser({url:"service/agent/?l=my.address",data:{},success:function(t){1==t.data.status&&(a.addresslist=t.data.data),uni.stopPullDownRefresh()}})},selectAddress:function(a){var t=this;if(this.fromOrder)this.getShop(a.currentTarget.dataset.item,(function(e){t.setShop(e);var i=(0,n.default)({},t.geoinfo);i.outsellAddress=a.currentTarget.dataset.item,t.setGeoInfo(i);var o=getCurrentPages();o[o.length-2]&&o[o.length-2].$vm.setAddress?(o[o.length-2].$vm.setAddress(a.currentTarget.dataset.item),uni.navigateBack({delta:1})):(getApp().globalData.selectedAddress=a.currentTarget.dataset.item,uni.switchTab({url:"/pages/app/shop/shop"}))}));else if(this.fromCard){var e=getCurrentPages();e[e.length-2]&&e[e.length-2].$vm.setAddress&&(e[e.length-2].$vm.setAddress(a.currentTarget.dataset.item),uni.navigateBack({delta:1}))}},getShop:function(a,t){var e=this;this.reqByuser({url:"app/shop/?l=main.getShopOne",data:{city:a.city,address:a.address,method:2,km:1},success:function(a){if(1==a.data.status){var i=a.data.data.shop;10!=e.shop.type&&10==i.type?e.showModalNoCancel({content:"很抱歉,暂无法为当前地址提供外送服务,是否进入平台商城?",success:function(a){a.confirm&&t(i)}}):t(i)}else uni.showToast({icon:"error",title:a.data.msg})}})},globalLoginedCallback:function(){this.loadAddresslist()}},onLoad:function(a){this.fromOrder=a.fromOrder,this.fromCard=a.fromCard,this.outsell=a.outsell,this.goods_id=a.goods_id,this.loadAddresslist()},onPullDownRefresh:function(){this.loadAddresslist()}};t.default=o},df26:function(a,t,e){var i=e("226b");"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var n=e("4f06").default;n("45c56eae",i,!0,{sourceMap:!1,shadowMode:!1})},efe1:function(a,t,e){"use strict";var i=e("df26"),n=e.n(i);n.a}}]);