index.js 2.3 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/addressWindow/index"],{"70d2":function(t,e,s){"use strict";s.r(e);var n=s("9f01"),i=s.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){s.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"9f01":function(t,e,s){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s("d1ea"),i=s("00a0"),a={props:{pagesUrl:{type:String,default:""},address:{type:Object,default:function(){return{address:!0,addressId:0}}},isLog:{type:Boolean,default:!1}},data:function(){return{imgHost:i.HTTP_REQUEST_URL,active:0,addressList:[],is_loading:!0}},methods:{tapAddress:function(t,e){this.active=t,this.$emit("OnChangeAddress",e)},close:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus")},goAddressPages:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus"),t.navigateTo({url:this.pagesUrl})},getAddressList:function(){var t=this,e=this;(0,n.getAddressList)({page:1,limit:5}).then((function(s){for(var n=s.data,i=0,a=n.length;i<a;i++)n[i].id==e.address.addressId&&(e.active=i);e.$set(e,"addressList",n),e.is_loading=!1,n.length&&t.$emit("onHaveAddressList",!0)}))}}};e.default=a}).call(this,s("543d")["default"])},ae28:function(t,e,s){"use strict";var n=s("e1f8"),i=s.n(n);i.a},bbf7:function(t,e,s){"use strict";s.r(e);var n=s("be2f"),i=s("70d2");for(var a in i)["default"].indexOf(a)<0&&function(t){s.d(e,t,(function(){return i[t]}))}(a);s("ae28");var d=s("f0c5"),r=Object(d["a"])(i["default"],n["b"],n["c"],!1,null,"4b876c93",null,!1,n["a"],void 0);e["default"]=r.exports},be2f:function(t,e,s){"use strict";s.d(e,"b",(function(){return n})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.$t("选择地址")),s=!this.is_loading&&!this.addressList.length,n=this.$t("选择其它地址");this.$mp.data=Object.assign({},{$root:{m0:e,g0:s,m1:n}})},i=[]},e1f8:function(t,e,s){}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/addressWindow/index-create-component',
  4. {
  5. 'components/addressWindow/index-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("bbf7"))
  7. })
  8. },
  9. [['components/addressWindow/index-create-component']]
  10. ]);