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.
shop-app/mobile/static/js/pages-account-address-list....

1 line
10 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-address-list"],{"16a8":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-button",{class:"ui-btn ui-btn__"+t.type+" ui-btn__"+t.size+(t.disabed?" ui-btn__disabed":""),on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t._t("default")],2)},i=[]},2702:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{type:{type:String,default:"line"},size:{type:String,default:"normal"},disabed:{type:Boolean,default:!1}},methods:{click:function(){!this.disabed&&this.$emit("click")}}};e.default=a},"34b0":function(t,e,n){"use strict";var a=n("4ea4");n("7db0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var s=a(n("1da1")),i=a(n("8832")),d=a(n("359f")),r=n("87c9"),o={components:{BsEmpty:i.default,UiButton:d.default},data:function(){var t=this.$Route.query;return{query:{type:t.type,id:t.id,source:t.source},addresList:[],isLoading:!0}},computed:{selectedId:function(){var t=this.addresList.find((function(t){return t.isDefault}));return this.query.id||t.id}},onLoad:function(t){this.getAddressList()},methods:{getAddressList:function(){var t=this;return(0,s.default)(regeneratorRuntime.mark((function e(){var n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.isLoading=!0,e.next=3,(0,r.ApiGetAddress)();case 3:if(n=e.sent,a=n.error,s=n.result,t.isLoading=!1,!a){e.next=10;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 10:t.addresList=s,t.$store.commit("SET_ADDRESS",s);case 12:case"end":return e.stop()}}),e)})))()},changeAds:function(t){uni.$emit("changeAddress",t,this.query.source),this.$Router.back()}}};e.default=o},"359f":function(t,e,n){"use strict";n.r(e);var a=n("16a8"),s=n("a5d5");for(var i in s)"default"!==i&&function(t){n.d(e,t,(function(){return s[t]}))}(i);n("c95f");var d,r=n("f0c5"),o=Object(r["a"])(s["default"],a["b"],a["c"],!1,null,"5577a645",null,!1,a["a"],d);e["default"]=o.exports},"3ccf":function(t,e,n){var a=n("5640");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=n("4f06").default;s("20e9ce27",a,!0,{sourceMap:!1,shadowMode:!1})},5640:function(t,e,n){var a=n("24fb");e=a(!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/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-btn[data-v-5577a645]{display:inline-block;padding:0 %?50?%;border-radius:%?50?%}.ui-btn__normal[data-v-5577a645]{height:%?70?%;line-height:%?70?%;font-size:%?28?%}.ui-btn__max[data-v-5577a645]{width:%?690?%;height:%?80?%;line-height:%?80?%;font-size:%?32?%}.ui-btn__gradual[data-v-5577a645]{background:linear-gradient(270deg,#ff7f39,#ffa35b);color:#fff}.ui-btn__solid[data-v-5577a645]{background:#ff875b;color:#fff}.ui-btn__line[data-v-5577a645]{background:none;color:#333;border:1px solid #c0b9b9}.ui-btn__primaryLine[data-v-5577a645]{background:none;color:#ff875b;border:1px solid #ff875b}.ui-btn__disabed[data-v-5577a645]{opaci