pages-my-editaddress-editaddress.395d597c.js 24 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-editaddress-editaddress"],{"0477":function(e,a,t){"use strict";var i=t("e302"),n=t.n(i);n.a},4339:function(e,a,t){"use strict";t("99af"),t("c740"),t("c975"),t("d81d"),t("a434"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{contact:"",address:"",city:"",sex:1,tag:2,house_number:"",type:1,mobile:"",id:"",county:"",areas:[[{name:"省份选择",value:"-1"}],[{name:"城市选择",value:"-1"}],[{name:"县区选择",value:"-1"}]],areasIndex:[0,0,0],roleDeep:4,streetAreas:[{name:"街道选择",value:"-1"}],streetIndex:0,goods_id:""}},methods:{changeType:function(e){this.type=e.detail.value?2:1},selectAddress:function(){var e=this;uni.chooseLocation({success:function(a){e.address=a.address+a.name,e.qqmapsdk.reverseGeocoder({location:a.latitude+","+a.longitude,success:function(a){e.city=a.result.ad_info.adcode,e.county=a.result.ad_info.adcode}})}})},changeSex:function(e){this.sex=e.currentTarget.dataset.id},changeTag:function(e){var a=e.currentTarget.dataset.id;this.tag=a==this.tag?"":a},submit:function(){var e=this,a=this.contact,t=this.house_number,i=this.mobile,n=this.type,o=this.id,d=this.areas.map((function(a,t){return a[e.areasIndex[t]].value})).join(",");d+=","+this.streetAreas[this.streetIndex].value;var r=this.areas.map((function(a,t){return a[e.areasIndex[t]].name})).join("");r+=this.streetAreas[this.streetIndex].name,a?i?/1\d{10}/.test(i)?!d||d.indexOf("-1")>-1?uni.showToast({icon:"error",title:"请填写地址"}):t?this.reqByuser({url:"service/agent/?l=address.up",data:{contact:a,address:r,province:this.areas[0][this.areasIndex[0]].value,city:this.areas[1][this.areasIndex[1]].value,county:this.areas[2][this.areasIndex[2]].value,town:this.streetAreas[this.streetIndex].value,house_number:t,mobile:i,type:n,id:o},success:function(e){if(1==e.data.status){var a=getCurrentPages();a[a.length-2].$vm.loadAddresslist(),uni.navigateBack({})}}}):uni.showToast({icon:"error",title:"请填写门牌号"}):uni.showToast({icon:"error",title:"手机号格式错误"}):uni.showToast({icon:"error",title:"请填写手机号"}):uni.showToast({icon:"error",title:"请填写昵称"})},delAddress:function(){var e=this.id;this.reqByuser({url:"service/agent/?l=my.delAddress",data:{id:e},success:function(e){if(1==e.data.status){var a=getCurrentPages();a.length>1?(a[a.length-2].$vm.loadAddresslist(),uni.navigateBack({})):uni.reLaunch({url:"/pages/rights/myrights/myrights"})}}})},loadAreas:function(e,a,t,i){var n=this;a>4||this.reqByuser({url:"app/shop/?l=area.get",data:{level_num:a,level_id:e,level_search:1,level_total:4,goods_id:this.goods_id},success:function(e){if(1==e.data.status){var o=e.data.data;if(a-1<3?n.areas.splice(a-1,1,o.list):n.streetAreas=o.list,"function"==typeof i&&i(o.list),t&&a<n.roleDeep-1){var d=o.list[0];-1!==d.value&&n.loadAreas(d.value,a+1)}}}})},multChange:function(e){var a=this.areas.map((function(a,t){return a[e.detail.value[t]]&&a[e.detail.value[t]].value})).join(",");if(a+=","+this.streetAreas[this.streetIndex].value,this.areas.length==this.roleDeep&&-1==a.indexOf("-1"))this.roles[this.roleIndex]},bindMultiPickerColumnChange:function(e){var a=this.areasIndex.map((function(a,t){return t==e.detail.column?e.detail.value:t<e.detail.column?a:0}));if(this.$set(this,"areasIndex",a),e.detail.column<this.roleDeep-1){var t=this.areas[e.detail.column][e.detail.value].value;if(0==e.detail.column&&this.areas.splice(2,1,[{name:"县区选择",value:"-1"}]),this.streetAreas=[{name:"街道选择",value:"-1"}],this.streetIndex=0,-1==t){var i=[].concat(this.areas);return i.splice(e.detail.column+1,5),void(this.areas=i)}this.loadAreas(this.areas[e.detail.column][e.detail.value].value,e.detail.column+2,1)}},bindStreetChange:function(e){var a=this;this.streetIndex=e.detail.value;this.areas.map((function(e,t){return e[a.areasIndex[t]].value})).join(",");this.streetAreas[this.streetIndex].value},initAreasIndex:function(e){var a=this,t=[].concat(e),i=function i(n,o){a.loadAreas(n,o,0,(function(n){var d=n.findIndex((function(a){return e[o-1]==a.value}));4==o?a.streetIndex=Math.max(0,d):a.areasIndex[o-1]=Math.max(0,d);var r=t.shift();r&&i(r,o+1)}),1)};i("",1)}},onLoad:function(e){var a=this;this.goods_id=e.goods_id,this.id=e.id||"",this.id?this.reqByuser({url:"service/agent/?l=my.getAddress",data:{id:this.id},success:function(e){if(1==e.data.status){var t=e.data.data;a.contact=t.contact,a.address=t.address,a.city=t.city,a.sex=t.sex,a.tag=t.tag,a.house_number=t.house_number,a.type=t.type,a.mobile=t.mobile,a.initAreasIndex([t.province,t.city,t.county,t.town])}}}):this.loadAreas("",1)}};a.default=i},4780:function(e,a,t){"use strict";var i=t("b533"),n=t.n(i);n.a},"650b":function(e,a,t){"use strict";t.r(a);var i=t("4339"),n=t.n(i);for(var o in i)"default"!==o&&function(e){t.d(a,e,(function(){return i[e]}))}(o);a["default"]=n.a},"6bbd":function(e,a,t){var i=t("24fb"),n=t("1de5"),o=t("e516"),d=t("2457"),r=t("d5ae"),s=t("71c5"),l=t("be44"),c=t("d3a1"),u=t("6464"),b=t("c334"),h=t("af09"),p=t("68b2"),v=t("c1b7"),f=t("d609"),g=t("b275"),m=t("24a3"),x=t("2350"),w=t("d186"),y=t("f546"),k=t("f3d6"),z=t("9b34"),C=t("356a"),_=t("74ea"),A=t("5134"),I=t("5a97");a=i(!1);var j=n(o),T=n(d),P=n(r),$=n(s),M=n(l),S=n(c),B=n(u),E=n(b),q=n(h),F=n(p),D=n(v),O=n(f),L=n(g),R=n(m),G=n(x),J=n(w),U=n(y),H=n(k),K=n(z),N=n(C),Q=n(_),V=n(A),W=n(I);a.push([e.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-6da25be8]{display:none}uni-page-body[data-v-6da25be8]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-6da25be8]::-webkit-scrollbar{display:none}.button[data-v-6da25be8]{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-6da25be8]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-6da25be8]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-6da25be8]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-6da25be8]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-6da25be8]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-6da25be8]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-6da25be8]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-6da25be8]{display:flex;align-items:center}.addr[data-v-6da25be8]:before{content:"";background:url('+j+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-6da25be8]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-6da25be8]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-6da25be8]{background:url('+T+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-6da25be8]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-6da25be8]{background:url("+P+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-6da25be8]{background:url("+$+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-6da25be8]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+M+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-6da25be8]{background:url("+S+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-6da25be8]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-6da25be8]{background:url("+E+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-6da25be8]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-6da25be8]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-6da25be8]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-6da25be8]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-6da25be8]{background:url("+L+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-6da25be8]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-6da25be8]{background:url("+G+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-6da25be8]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-6da25be8]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-6da25be8]{background:url("+H+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-6da25be8]{background:url("+K+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-6da25be8]{background:url("+j+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-6da25be8]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-6da25be8]{margin-top:%?12?%;display:flex}.tag[data-v-6da25be8]{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-6da25be8]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-6da25be8]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-6da25be8]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-6da25be8]{border-color:#999;color:#333}.btn-page-back[data-v-6da25be8], .btn-page-home[data-v-6da25be8]{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-6da25be8]{background-image:url("+Q+')}.btns-buygroup[data-v-6da25be8]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-6da25be8]{margin:0 %?15?%}.topinfo[data-v-6da25be8]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-6da25be8]{flex:1}.topinfo .address[data-v-6da25be8]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-6da25be8]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-6da25be8]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-6da25be8]{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-6da25be8]{flex-shrink:0}.topinfo .address .range[data-v-6da25be8]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-6da25be8]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-6da25be8]{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-6da25be8]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-6da25be8]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-6da25be8]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-6da25be8]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-6da25be8]: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-6da25be8]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-6da25be8]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-6da25be8]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-6da25be8]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-6da25be8]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-6da25be8]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-6da25be8]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-6da25be8]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-6da25be8]{margin-bottom:%?8?%}.nav-item[data-v-6da25be8]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-6da25be8]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-6da25be8]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-6da25be8]{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-6da25be8]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+M+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-6da25be8]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-6da25be8]{color:#999}.nav-item[data-v-6da25be8]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-6da25be8]:after{display:none}.nav-item.help[data-v-6da25be8]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-6da25be8]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-6da25be8]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-6da25be8]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-6da25be8]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-6da25be8]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-6da25be8]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-6da25be8]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-6da25be8], .goods-item.inorder uni-image[data-v-6da25be8]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-6da25be8]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-6da25be8]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-6da25be8]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-6da25be8]{position:relative}.swiper-cont .swiper[data-v-6da25be8]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-6da25be8], .swiper-cont .swiper uni-image[data-v-6da25be8]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-6da25be8]: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-6da25be8]{background:url('+W+") 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-6da25be8]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-6da25be8], .swiper-cont .swiper .videoposter.playing[data-v-6da25be8]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-6da25be8]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-6da25be8]{display:block}.swiper-cont .dots[data-v-6da25be8]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-6da25be8]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-6da25be8]{background-color:#fff;width:%?36?%}.form[data-v-6da25be8]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-6da25be8]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-6da25be8]:last-child{border-bottom:0}.form .form-item .label[data-v-6da25be8]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-6da25be8]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-6da25be8]{flex:1}.form .form-item .content .disabled[data-v-6da25be8]{color:#999}.form .form-item .link[data-v-6da25be8]{color:#00ab78}.form .form-item .checkboxgroup[data-v-6da25be8]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-6da25be8]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-6da25be8]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-6da25be8], .form.mini .content[data-v-6da25be8]{font-size:%?24?%}.form.mini .form-item[data-v-6da25be8]{padding-bottom:%?8?%}",""]),e.exports=a},b533:function(e,a,t){var i=t("bbdb");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=t("4f06").default;n("4aa5462f",i,!0,{sourceMap:!1,shadowMode:!1})},bbdb:function(e,a,t){var i=t("24fb");a=i(!1),a.push([e.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-6da25be8]{background-color:#f7f7f7}.form[data-v-6da25be8]{background-color:#fff;margin-top:%?4?%}.form .tag[data-v-6da25be8]{line-height:%?40?%;border-radius:%?20?%;display:inline-block;padding:0 %?30?%;font-size:%?30?%;margin-right:%?32?%}.form .btn-address[data-v-6da25be8]{display:flex;align-items:center;width:%?40?%;height:%?40?%;margin-left:0}.form .tip[data-v-6da25be8]{color:#666}.bt-fixed[data-v-6da25be8]{position:absolute;bottom:%?16?%;left:0;width:100%;box-sizing:border-box;display:flex;justify-content:center;padding:0 %?60?%}.bt-fixed.single[data-v-6da25be8]{padding:0 %?85?%}.bt-fixed .button[data-v-6da25be8]{line-height:%?80?%;border-radius:%?56?%;box-sizing:border-box;margin:0 %?16?%;flex:1}uni-picker[data-v-6da25be8]{flex:1}body.?%PAGE?%[data-v-6da25be8]{background-color:#f7f7f7}',""]),e.exports=a},e302:function(e,a,t){var i=t("6bbd");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=t("4f06").default;n("2e6bf2d0",i,!0,{sourceMap:!1,shadowMode:!1})},e5ca:function(e,a,t){"use strict";t.r(a);var i=t("efa7"),n=t("650b");for(var o in n)"default"!==o&&function(e){t.d(a,e,(function(){return n[e]}))}(o);t("0477"),t("4780");var d,r=t("f0c5"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"6da25be8",null,!1,i["a"],d);a["default"]=s.exports},efa7:function(e,a,t){"use strict";var i;t.d(a,"b",(function(){return n})),t.d(a,"c",(function(){return o})),t.d(a,"a",(function(){return i}));var n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("v-uni-view",{staticClass:"app"},[t("v-uni-view",{staticClass:"form"},[t("v-uni-view",{staticClass:"form-item"},[t("v-uni-text",{staticClass:"label"},[e._v("收货人")]),t("v-uni-view",{staticClass:"content"},[t("v-uni-input",{attrs:{type:"text",maxlength:"10",placeholder:"用于收货时对您的称呼"},model:{value:e.contact,callback:function(a){e.contact=a},expression:"contact"}})],1)],1),t("v-uni-view",{staticClass:"form-item"},[t("v-uni-text",{staticClass:"label"},[e._v("手机号")]),t("v-uni-view",{staticClass:"content"},[t("v-uni-input",{attrs:{type:"number",placeholder:"请输入您的手机号"},model:{value:e.mobile,callback:function(a){e.mobile=a},expression:"mobile"}})],1)],1),t("v-uni-view",{staticClass:"form-item hasright"},[t("v-uni-text",{staticClass:"label"},[e._v("省市区")]),t("v-uni-view",{staticClass:"content"},[t("v-uni-picker",{attrs:{mode:"multiSelector",value:e.areasIndex,"range-key":"name",range:e.areas},on:{columnchange:function(a){arguments[0]=a=e.$handleEvent(a),e.bindMultiPickerColumnChange.apply(void 0,arguments)},change:function(a){arguments[0]=a=e.$handleEvent(a),e.multChange.apply(void 0,arguments)}}},[t("v-uni-view",{staticClass:"picker"},[e._l(e.areas,(function(a,t){return t<3?[e._v(e._s(e.areas[t]&&e.areas[t][e.areasIndex[t]]&&e.areas[t][e.areasIndex[t]].name)),t<e.areas.length-1?[e._v(",")]:e._e()]:e._e()}))],2)],1),t("v-uni-view",{staticClass:"btn-address"},[t("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1),t("v-uni-view",{staticClass:"form-item hasright"},[t("v-uni-text",{staticClass:"label"},[e._v("街道")]),t("v-uni-view",{staticClass:"content"},[t("v-uni-picker",{attrs:{value:e.streetIndex,"range-key":"name",range:e.streetAreas},on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.bindStreetChange.apply(void 0,arguments)}}},[t("v-uni-view",{staticClass:"picker"},[e._v(e._s(e.streetAreas[e.streetIndex]&&e.streetAreas[e.streetIndex].name))])],1),t("v-uni-view",{staticClass:"btn-address"},[t("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1),t("v-uni-view",{staticClass:"form-item"},[t("v-uni-text",{staticClass:"label"},[e._v("详细地址")]),t("v-uni-view",{staticClass:"content"},[t("v-uni-input",{attrs:{type:"text",placeholder:"如:1号楼287室"},model:{value:e.house_number,callback:function(a){e.house_number=a},expression:"house_number"}})],1)],1),t("v-uni-view",{staticClass:"form-item"},[t("v-uni-text",{staticClass:"label"},[e._v("默认地址")]),t("v-uni-view",{staticClass:"content"},[t("v-uni-text"),t("v-uni-switch",{attrs:{checked:2==e.type},on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.changeType.apply(void 0,arguments)}}})],1)],1)],1),t("v-uni-view",{staticClass:"bt-fixed",class:e.id?"":"single"},[e.id?t("v-uni-view",{staticClass:"button border",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.delAddress.apply(void 0,arguments)}}},[e._v("删除")]):e._e(),t("v-uni-view",{staticClass:"button",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.submit.apply(void 0,arguments)}}},[e._v("保存")])],1)],1)},o=[]}}]);