bztang-admin/addons/yun_shop/static/app/js/chunk-9e6a8a42.04172ddf.js

1 line
6.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9e6a8a42"],{"57b42":function(e,a,t){"use strict";t("85177")},85177:function(e,a,t){var s=t("9c91e");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var d=t("499e").default;d("5ec794b8",s,!0,{sourceMap:!1,shadowMode:!1})},"9c91e":function(e,a,t){var s=t("24fb");a=s(!1),a.push([e.i,"#address-manage[data-v-043ab26c]{padding-bottom:2.8125rem}#address-manage .manage-box[data-v-043ab26c]{background-color:#f5f5f5}#address-manage .manage-box .box .box-item[data-v-043ab26c]{background-color:#fff;padding-top:.875rem;padding-bottom:.625rem;padding-left:.875rem;padding-right:.875rem;margin-bottom:.625rem;border-top:1px solid #ebebeb;border-bottom:1px solid #ebebeb}#address-manage .manage-box .box .box-item .where[data-v-043ab26c]{text-align:left;padding-bottom:.625rem;border-bottom:1px solid #ebebeb;word-wrap:break-word}#address-manage .manage-box .box .box-item .choose[data-v-043ab26c]{margin-top:.625rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#address-manage .manage-box .box .box-item .choose[data-v-043ab26c],#address-manage .manage-box .box .box-item .choose .left[data-v-043ab26c],#address-manage .manage-box .box .box-item .choose .left .delete[data-v-043ab26c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#address-manage .manage-box .box .box-item .choose .left .delete[data-v-043ab26c]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#address-manage .manage-box .box .box-item .choose .left .delete .del-text[data-v-043ab26c]{margin-left:.5rem;color:#797979}#address-manage .manage-box .box .box-item .choose .left .edit[data-v-043ab26c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-left:1.25rem}#address-manage .manage-box .box .box-item .choose .left .edit .edit-text[data-v-043ab26c]{margin-left:.5rem;color:#797979}#address-manage .manage-box .box .box-item .choose .right[data-v-043ab26c]{color:#f15353!important}#address-manage .manage-box .add-address[data-v-043ab26c]{width:100%;height:45px;height:2.8125rem;background-color:#f15353;position:fixed;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-ms-flex-pack:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;bottom:0;z-index:99}#address-manage .manage-box .add-address .new-add[data-v-043ab26c]{margin:0 auto;margin-top:.875rem}#address-manage .manage-box .add-address .new-add img[data-v-043ab26c]{float:left;top:.8125rem}#address-manage .manage-box .add-address .new-add .dizhi[data-v-043ab26c]{float:left;font-size:14px;color:#fff;line-height:1.125rem;margin-left:.625rem}#address-manage.pcStyle .add-address[data-v-043ab26c]{width:375px}",""]),e.exports=a},"9ce1":function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAA/ElEQVQ4jbWUTUrDUBRGzwviIKDbsO6gMyGBrqB0lu5Lh0VnXYEOOpKWbkCh6BpKlEI6OU4SSCU/FeIHd/K975533+A+VBoqUe/VnVqUtSu9tKnntzFSV/ZrVWYbQXdqfgakUl72nIBG6v4PkEr7ajLUoK5br80y8yzrgq3VcAGkwJgWeTi0HVUaA2kEzPqSZ2gWAckAoCSoBXBZOV/zee9zQhxztVjUrWMEFANMRFDfgZu2QD6dAnC9XHZxPiNgO8BArxHwNADoMQKegU1bIsQxIY67IBvgZYgVufU/lrY+Weve1bS24xupKqgT9UH9UI/qt/pWepMyc9L3Ax3vY2RzXvtHAAAAAElFTkSuQmCC"},a045:function(e,a,t){"use strict";t.r(a);var s=function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{class:[3==this.fun.getPhoneEnv()?"pcStyle":""],attrs:{id:"address-manage"}},[s("c-title",{attrs:{hide:!1,text:"提出地址管理"}}),s("div",{staticClass:"manage-box"},[s("div",{staticClass:"box"},[s("ul",[s("van-radio-group",{model:{value:e.radio,callback:function(a){e.radio=a},expression:"radio"}},e._l(e.address,(function(a,t){return s("li",{key:t,staticClass:"box-item"},[s("div",{staticClass:"where"},[e._v(" "+e._s(a.address)+" ")]),s("div",{staticClass:"choose"},[s("div",{staticClass:"left"},[s("div",{staticClass:"delete",on:{click:function(s){return e.del(a,t)}}},[s("i",{staticClass:" iconfont icon-delete"}),s("span",{staticClass:"del-text"},[e._v("删除")])]),s("div",{staticClass:"edit",on:{click:function(t){return e.toPage(a)}}},[s("i",{staticClass:" iconfont icon-edit"}),s("span",{staticClass:"edit-text"},[e._v("编辑")])])]),s("div",{staticClass:"right"},[s("van-radio",{staticClass:"moren",attrs:{name:a.id,"checked-color":"#f15353"},on:{click:function(t){return e.change(a.id)}}},[e._v("默认地址")])],1)])])})),0)],1)]),s("router-link",{staticClass:"add-address",attrs:{to:e.fun.getUrl("addressAdd"),tag:"div"}},[s("div",{staticClass:"new-add"},[s("img",{attrs:{src:t("9ce1")}}),s("div",{staticClass:"dizhi"},[e._v("新增提出地址")]),s("div",{staticStyle:{clear:"both"}})])])],1)],1)},d=[],i=(t("e7e5"),t("d399")),n=(t("d81d"),t("14d9"),t("a434"),t("6968")),o={data:function(){return{radio:"1",address:[]}},activated:function(){this.getData(),this.inniData()},methods:{inniData:function(){this.radio="1",this.address=[]},getData:function(){var e=this;$http.get("plugin.integral.Frontend.Modules.Integral.Controllers.integral-currency-withdraw-address.index").then((function(a){1==a.result?(e.address=a.data,e.address.map((function(a,t,s){1==a.is_default&&(e.radio=a.id)}))):Object(i["a"])(a.msg)})).catch((function(e){}))},toPage:function(e){this.$router.push(this.fun.getUrl("reviseAddress",{id:e.id}))},change:function(e){var a={address_id:e};$http.get("plugin.integral.Frontend.Modules.Integral.Controllers.integral-currency-withdraw-address.isDefault",a).then((function(e){e.result,Object(i["a"])(e.msg)})).catch((function(e){}))},del:function(e,a){var t=this;this.$dialog.confirm({message:"确定删除此提出地址?"}).then((function(){var s=t;$http.get("plugin.integral.Frontend.Modules.Integral.Controllers.integral-currency-withdraw-address.delete",{address_id:e.id}).then((function(e){Object(i["a"])(e.msg),s.address.splice(a,1)}),(function(e){s.$dialog.alert({message:e.msg})}))})).catch((function(){}))}},components:{cTitle:n["a"]}},r=o,c=r,l=(t("57b42"),t("2877")),b=Object(l["a"])(c,s,d,!1,null,"043ab26c",null);a["default"]=b.exports}}]);