徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
2.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/addressWindow/index"],{"472e":function(e,t,n){"use strict";n.r(t);var s=n("c57d"),d=n("4957");for(var i in d)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return d[e]}))}(i);var a=n("828b"),r=Object(a["a"])(d["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],void 0);t["default"]=r.exports},4957:function(e,t,n){"use strict";n.r(t);var s=n("ddd1"),d=n.n(s);for(var i in s)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return s[e]}))}(i);t["default"]=d.a},c57d:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){}));var s=function(){var e=this.$createElement,t=(this._self._c,!this.is_loading&&!this.addressList.length);this.$mp.data=Object.assign({},{$root:{g0:t}})},d=[]},ddd1:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n("77d7"),d=n("e727"),i=n("bad7"),a={props:{fromType:{type:Number,default:0},pagesUrl:{type:String,default:""},address:{type:Object,default:function(){return{address:!0,addressId:0}}},isLog:{type:Boolean,default:!1},userId:{type:[String,Number],default:0}},components:{baseDrawer:function(){n.e("components/tui-drawer/tui-drawer").then(function(){return resolve(n("01c9"))}.bind(null,n)).catch(n.oe)},emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("bc18"))}.bind(null,n)).catch(n.oe)}},data:function(){return{active:0,addressList:[],is_loading:!0,imgHost:i.HTTP_REQUEST_URL}},methods:{tapAddress:function(e,t,n){this.active=e,this.$emit("OnChangeAddress",t,n)},close:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus")},goAddressPages:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus"),e.navigateTo({url:this.pagesUrl})},getAddressList:function(){var e=this,t=this;t.userId?(0,d.adminUserAddressList)(t.userId,{page:1,limit:100}).then((function(n){for(var s=n.data,d=0,i=s.length;d<i;d++)s[d].id==t.address.addressId&&(t.active=d);t.$set(t,"addressList",s),e.$emit("OnChangeAddress",s[t.active].id,s[t.active]),t.is_loading=!1})):(0,s.getAddressList)({page:1,limit:5}).then((function(n){for(var s=n.data,d=0,i=s.length;d<i;d++)s[d].id==t.address.addressId&&(t.active=d);t.$set(t,"addressList",s),e.$emit("addressList",s),t.is_loading=!1}))}}};t.default=a}).call(this,n("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/addressWindow/index-create-component',
{
'components/addressWindow/index-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("472e"))
})
},
[['components/addressWindow/index-create-component']]
]);