|
|
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-address-list"],{"0fbe":function(t,e,n){"use strict";var i=n("ce22"),a=n.n(i);a.a},"20e1":function(t,e,n){"use strict";var i=n("c75b"),a=n.n(i);a.a},2702:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{type:{type:String,default:"line"},size:{type:String,default:"normal"},disable:{type:Boolean,default:!1}},methods:{click:function(){!this.disable&&this.$emit("click")}}};e.default=i},"34b0":function(t,e,n){"use strict";var i=n("4ea4");n("7db0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var a=i(n("1da1")),s=i(n("8832")),r=i(n("359f")),o=n("87c9"),d=i(n("5a25")),u={components:{BsEmpty:s.default,UiButton:r.default,UiWhiteBox:d.default},data:function(){var t=this.$Route.query;return{query:{id:t.id,source:t.source},addresList:[],isLoading:!0}},computed:{selectedId:{get:function(){var t=this.query.id,e=this.addresList.find((function(t){return t.isDefault}))||{};return t||e.id},set:function(t){uni.$emit("changeAddress",this.addresList.find((function(e){return e.id==t}))||{},this.query.source)}}},onShow:function(t){this.getAddressList()},methods:{getAddressList:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var n,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.isLoading=!0,e.next=3,(0,o.ApiGetAddress)();case 3:if(n=e.sent,i=n.error,a=n.result,t.isLoading=!1,!i){e.next=10;break}return uni.$u.toast(i.message),e.abrupt("return",!1);case 10:t.addresList=a,t.$store.commit("SET_ADDRESS",a),"submitOrder"===t.query.source&&uni.$emit("changeAddress",t.addresList.find((function(e){return e.id==t.selectedId}))||{},t.query.source);case 13:case"end":return e.stop()}}),e)})))()},changeAds:function(t){this.selectedId=t.id,this.$Router.back()}}};e.default=u},"359f":function(t,e,n){"use strict";n.r(e);var i=n("7f16"),a=n("a5d5");for(var s in a)"default"!==s&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("9f0b");var r,o=n("f0c5"),d=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"4c357d64",null,!1,i["a"],r);e["default"]=d.exports},"453d":function(t,e,n){"use strict";n.r(e);var i=n("91a7"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},"47e4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},props:{icon:{type:String,default:n("7a1a")},tips:{type:String,default:"亲,暂无相关数据"}},mounted:function(){},methods:{}};e.default=i},5726:function(t,e,n){var i=n("fc54");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("ee1499be",i,!0,{sourceMap:!1,shadowMode:!1})},5871:function(t,e,n){var i=n("fe9e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("3023f3a0",i,!0,{sourceMap:!1,shadowMode:!1})},"5a25":function(t,e,n){"use strict";var i;n.r(e);var a,s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"ui-white-box"},[t._t("default")],2)},r=[],o=(n("c557"),n("f0c5")),d={},u=Object(o["a"])(d,s,r,!1,null,"7e14885a",null,!1,i,a);e["default"]=u.exports},"5a44":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* <EFBFBD>
|