1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-edit-address"],{"05c3":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("bar-title",{attrs:{bgColor:"bg-white",isBack:!0}},[i("template",{attrs:{slot:"content"},slot:"content"},[t._v("编辑地址")]),i("template",{attrs:{slot:"right"},slot:"right"},[i("v-uni-text",{staticClass:"text-orange"},[t._v("保存")])],1)],2),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("收货人名")]),i("v-uni-input",{attrs:{placeholder:"您的姓名"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.nameInput.apply(void 0,arguments)}}}),t.nameClose?i("v-uni-text",{staticClass:"cuIcon-roundclosefill text-grey"}):t._e()],1),i("v-uni-view",{staticClass:"cu-form-group"},[i("v-uni-view",{staticClass:"title"},[t._v("手机号码")]),i("v-uni-input",{attrs:{placeholder:"卖家和快递员联系您的方式"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.phoneInput.apply(void 0,arguments)}}}),t.phoneClose?i("v-uni-text",{staticClass:"cuIcon-roundclosefill text-grey"}):t._e()],1),i("v-uni-view",{staticClass:"cu-form-group"},[i("v-uni-view",{staticClass:"title"},[t._v("邮政编码")]),i("v-uni-input",{attrs:{placeholder:"可以不用那么精确"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.zipCodeInput.apply(void 0,arguments)}}}),t.zipCodeClose?i("v-uni-text",{staticClass:"cuIcon-roundclosefill text-grey"}):t._e()],1),i("v-uni-view",{staticClass:"cu-form-group"},[i("v-uni-view",{staticClass:"title"},[t._v("所在地区")]),i("v-uni-picker",{attrs:{mode:"multiSelector",value:t.multiIndex,range:t.multiArray},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.MultiChange.apply(void 0,arguments)},columnchange:function(e){arguments[0]=e=t.$handleEvent(e),t.MultiColumnChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"picker"},[t._v(t._s(t.multiArray[0][t.multiIndex[0]])+","+t._s(t.multiArray[1][t.multiIndex[1]])+","+t._s(t.multiArray[2][t.multiIndex[2]]))])],1)],1),i("v-uni-view",{staticClass:"cu-form-group"},[i("v-uni-view",{staticClass:"title"},[t._v("详细地址")]),i("v-uni-input",{attrs:{placeholder:"请输入详细的地址信息"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.addressInput.apply(void 0,arguments)}}}),t.addressClose?i("v-uni-text",{staticClass:"cuIcon-roundclosefill text-grey"}):t._e()],1),i("v-uni-view",{staticClass:"cu-list menu margin-top"},[i("v-uni-view",{staticClass:"cu-item"},[i("v-uni-view",{staticClass:"content"},[i("v-uni-text",{staticClass:"text-red"},[t._v("删除地址")])],1)],1)],1)],1)},n=[]},"0d511":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c975");var a={name:"bar-title",props:{bgColor:{type:String,default:""},isBack:{type:Boolean,default:!0},backText:{type:String,default:""},fixed:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1},title:{type:String,default:""}},data:function(){return{isWechatBrowser:!1}},methods:{BackPage:function(){uni.navigateBack()},leftTap:function(){this.$emit("leftTap")},contentTap:function(){this.$emit("contentTap")},rightTap:function(){this.$emit("rightTap")}},created:function(){uni.setNavigationBarTitle({title:this.title}),this.isWechatBrowser=navigator.userAgent.toLocaleLowerCase().indexOf("micromessenger")>0},watch:{title:function(t){uni.setNavigationBarTitle({title:t})}}};e.default=a},"3b7a":function(t,e,i){"use strict";i("7a82");var a=i("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("713c")),u=a(i("b27f")),o={components:{barTitle:n.default},data:function(){return{multiIndex:[0,0,0],nameClose:!1,phoneClose:!1,zipCodeClose:!1,addressClose:!1,multiArray:[["重庆市","四川省"],["渝中区","渝北区","江北区","南岸区"],["周边","周边地区"]]}},onLoad:function(){},onReady:function(){u.default.setBarColor(!0),uni.pageScrollTo({scrollTop:0,duration:0})},methods:{nameInput:function(t){var e=t.detail.value;this.nameClose=""!=e},phoneInput:function(t){var e=t.detail.value;this.phoneClose=""!=e},zipCodeInput:function(t){var e=t.detail.value;this.zipCodeClose=""!=e},addressInput:function(t){var e=t.detail.value;this.addressClose=""!=e},MultiChange:function(t){this.multiIndex=t.detail.value},MultiColumnChange:function(t){var e={multiArray:this.multiArray,multiIndex:this.multiIndex};switch(e.multiIndex[t.detail.column]=t.detail.value,t.detail.column){case 0:switch(e.multiIndex[0]){case 0:e.multiArray[1]=["渝中区","渝北区","江北区","南岸区"],e.multiArray[2]=["周边","周边地区"];break;case 1:e.multiArray[1]=["渝中区","渝北区","江北区","南岸区"],e.multiArray[2]=["周边","周边地区"];break}e.multiIndex[1]=0,e.multiIndex[2]=0;break;case 1:switch(e.multiIndex[0]){case 0:switch(e.multiIndex[1]){case 0:e.multiArray[2]=["周边","周边地区"];break;case 1:e.multiArray[2]=["周边","周边地区"];break;case 2:e.multiArray[2]=["周边","周边地区"];break;case 3:e.multiArray[2]=["周边","周边地区"];break;case 4:e.multiArray[2]=["周边","周边地区"];break}break;case 1:switch(e.multiIndex[1]){case 0:e.multiArray[2]=["周边","周边地区"];break;case 1:e.multiArray[2]=["周边","周边地区"];break;case 2:e.multiArray[2]=["周边","周边地区"];break}break}e.multiIndex[2]=0;break}this.multiArray=e.multiArray,this.multiIndex=e.multiIndex}}};e.default=o},"5a30":function(t,e,i){var a=i("7ed5");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("e9abf2d4",a,!0,{sourceMap:!1,shadowMode:!1})},6675:function(t,e,i){"use strict";var a=i("5a30"),n=i.n(a);n.a},7137:function(t,e,i){"use strict";i.r(e);var a=i("05c3"),n=i("f2d2");for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);i("8394");var o=i("f0c5"),r=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"12940f1f",null,!1,a["a"],void 0);e["default"]=r.exports},"713c":function(t,e,i){"use strict";i.r(e);var a=i("e88e"),n=i("df75a");for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);i("6675");var o=i("f0c5"),r=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"1b7fdbfe",null,!1,a["a"],void 0);e["default"]=r.exports},"7ed5":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".zaiui-bar-title-box .cu-bar[data-v-1b7fdbfe]{padding-top:0;min-height:calc(0px + %?101?%)}.zaiui-bar-title-box .cu-bar .content[data-v-1b7fdbfe]{top:0}.zaiui-bar-title-box .cu-bar .content .cu-tag[data-v-1b7fdbfe]{position:relative;top:%?-2.72?%;padding:0 %?5.45?%}.zaiui-bar-title-box .cu-bar .content .cu-tag uni-text[data-v-1b7fdbfe]{position:relative;top:%?2?%}.zaiui-bar-title-box .cu-bar.fixed.no-shadow[data-v-1b7fdbfe]{box-shadow:inherit}.zaiui-bar-title-box .cu-bar.bg-white[data-v-1b7fdbfe]{color:#333}.zaiui-bar-title-box .zaiui-seat-height[data-v-1b7fdbfe]{width:100%;height:calc(0px + %?101?%)}",""]),t.exports=e},8394:function(t,e,i){"use strict";var a=i("8d869"),n=i.n(a);n.a},"8d869":function(t,e,i){var a=i("cbd8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("18d70e32",a,!0,{sourceMap:!1,shadowMode:!1})},b27f:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("d401"),i("d3b7"),i("25f0"),i("e25e"),i("c975"),i("ac1f"),i("5319");var a={strLeng:function(t){if(t){for(var e=t.length,i=0,a=0;a<e;a++)t.charCodeAt(a)>128?i+=2:i+=1;return i}return 0},getPageNum:function(t,e){var i=Number(t)/Number(e);if(i%1!==0){var a=i.toString(),n=parseInt(a.substring(0,a.indexOf("."))),u=a.replace(/\d+\.(\d*)/,"$1");u>0&&(i=n+1)}return i},setBarColor:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?uni.setNavigationBarColor({frontColor:"#000000",backgroundColor:"#FAFAFA"}):uni.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:"#FAFAFA"})},zaiui_log:function(t){}},n=a;e.default=n},cbd8:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".wecanui-footer-fixed .flex-direction[data-v-12940f1f]{padding:%?18.18?%}",""]),t.exports=e},df75a:function(t,e,i){"use strict";i.r(e);var a=i("0d511"),n=i.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(u);e["default"]=n.a},e88e:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"zaiui-bar-title-box",style:t.isWechatBrowser?"display: none;":""},[i("v-uni-view",{staticClass:"cu-bar",class:[t.fixed?"fixed":"",t.shadow?"":"no-shadow",t.bgColor]},[t.isBack?i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BackPage.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-back"}),i("v-uni-text",[t._v(t._s(t.backText))])],1):t._e(),t.isBack?t._e():i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.leftTap.apply(void 0,arguments)}}},[t._t("left")],2),i("v-uni-view",{staticClass:"content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.contentTap.apply(void 0,arguments)}}},[t._t("content")],2),i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.rightTap.apply(void 0,arguments)}}},[t._t("right")],2)],1),t.fixed?i("v-uni-view",{staticClass:"zaiui-seat-height"}):t._e()],1)},n=[]},f2d2:function(t,e,i){"use strict";i.r(e);var a=i("3b7a"),n=i.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(u);e["default"]=n.a}}]);
|