| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["admin-address-addressmanage"],{"01e9":function(t,e,n){"use strict";n("6a54");var d=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.checkLogin=function(t,e){return i.default.POST("/merchant/merchant-info/check-login",t,e)},e.comment=function(t,e){return i.default.POST("/quanzi/comment",t,e)},e.commentDel=function(t,e){return i.default.POST("/store-admin/comment-del",t,e)},e.commentReply=function(t,e){return i.default.POST("/store-admin/comment-reply",t,e)},e.contentsList=function(t,e){return i.default.GET("/quanzi/contents-list",t,e)},e.editExpressPrice=function(t,e){return i.default.POST("/store-admin/express-price",t,e)},e.editPrice=function(t,e){return i.default.POST("/store-admin/modify-price",t,e)},e.followAdd=function(t,e){return i.default.GET("/quanzi/follow-add",t,e)},e.followDel=function(t,e){return i.default.GET("/quanzi/follow-del",t,e)},e.getPostageData=function(t,e){return i.default.GET("/store-admin/get-postage-data",t,e)},e.getStoreInfo=function(t,e){return i.default.GET("/store-admin/get-store-info",t,e)},e.getYesData=function(t,e){return i.default.POST("/store-admin/get-yes-data",t,e)},e.login=function(t,e){return i.default.POST("/store-admin/login",t,e)},e.modifyPrice=function(t,e){return i.default.POST("/order/modify-price",t,e)},e.orderCommentGoodsList=function(t,e){return i.default.GET("/store-admin/order-comment-goods-list",t,e)},e.orderCommentList=function(t,e){return i.default.GET("/store-admin/order-comment-list",t,e)},e.orderGoodsCancelHandleH=function(t,e){return i.default.POST("/store-admin/order-goods-cancel-handle",t,e)},e.orderGoodsCancelList=function(t,e){return i.default.GET("/store-admin/order-goods-cancel-list",t,e)},e.setStoreInfo=function(t,e){return i.default.POST("/store-admin/get-store-info",t,e)},e.shopData=function(t,e){return i.default.POST("/store-admin/shop-data",t,e)},e.storeAdminCatList=function(t,e){return i.default.POST("/store-admin/cat-list",t,e)},e.storeAdminCatSave=function(t,e){return i.default.POSTJSON("/store-admin/cat-save",t,e)},e.storeAdminGetAddressInfo=function(t,e){return i.default.POST("/store-admin/get-address-info",t,e)},e.storeAdminGetExpress=function(t,e){return i.default.POST("/store-admin/get-express",t,e)},e.storeAdminGetGoodsAttr=function(t,e){return i.default.POST("/store-admin/get-goods-attr",t,e)},e.storeAdminGetGoodsEdit=function(t,e){return i.default.GET("/store-admin/get-goods-edit",t,e)},e.storeAdminGoodsDel=function(t,e){return i.default.POST("/store-admin/goods-del",t,e)},e.storeAdminGoodsList=function(t,e){return i.default.GET("/store-admin/goods-list",t,e)},e.storeAdminOrderCancel=function(t,e){return i.default.POST("/store-admin/order-cancel",t,e)},e.storeAdminOrderDetail=function(t,e){return i.default.POST("/store-admin/order-detail",t,e)},e.storeAdminOrderList=function(t,e){return i.default.GET("/store-admin/order-list",t,e)},e.storeAdminOrderRefund=function(t,e){return i.default.GET("/store-admin/order-refund",t,e)},e.storeAdminOrderRefundApply=function(t,e){return i.default.POST("/store-admin/order-refund-apply",t,e)},e.storeAdminOrderSend=function(t,e){return i.default.POST("/store-admin/order-send",t,e)},e.storeAdminRefundAddress=function(t,e){return i.default.POST("/store-admin/refund-address",t,e)},e.storeAdminRefundAddressDefault=function(t,e){return i.default.POST("/store-admin/refund-address-default",t,e)},e.storeAdminRefundAddressDel=function(t,e){return i.default.POST("/store-admin/refund-address-del",t,e)},e.storeAdminRefundAddressSave=function(t,e){return i.default.POST("/store-admin/refund-address-save",t,e)},e.storeAdminSaveGoods=function(t,e){return i.default.POSTJSON("/store-admin/save-goods",t,e)},e.storeAdminSetCatStatus=function(t,e){return i.default.POSTJSON("/store-admin/set-cat-status",t,e)},e.storeAdminSetGoodsName=function(t,e){return i.default.POST("/store-admin/set-goods-name",t,e)},e.storeAdminSetGoodsPrice=function(t,e){return i.default.POSTJSON("/store-admin/set-goods-price",t,e)},e.storeAdminSetGoodsStatus=function(t,e){return i.default.POST("/store-admin/set-goods-status",t,e)},e.storeAdminSetRefundAddress=function(t,e){return i.default.POST("/store-admin/set-refund-address",t,e)},e.storeAdminStoreInfo=function(t,e){return i.default.POST("/store-admin/store-info",t,e)};var i=d(n("cc29"))},"17e6":function(t,e,n){"use strict";n.r(e);var d=n("bb0b"),i=n("1e60b");for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);n("356b");var r=n("828b"),a=Object(r["a"])(i["default"],d["b"],d["c"],!1,null,"bcda460e",null,!1,d["a"],void 0);e["default"]=a.exports},"1e60b":function(t,e,n){"use strict";n.r(e);var d=n("9c3b"),i=n.n(d);for(var s in d)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return d[t]}))}(s);e["default"]=i.a},"356b":function(t,e,n){"use strict";var d=n("8f3b"),i=n.n(d);i.a},"8f3b":function(t,e,n){var d=n("fad9");d.__esModule&&(d=d.default),"string"===typeof d&&(d=[[t.i,d,""]]),d.locals&&(t.exports=d.locals);var i=n("967d").default;i("76335c50",d,!0,{sourceMap:!1,shadowMode:!1})},"9c3b":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var d=n("01e9"),i={data:function(){return{list:[],is_order:0,id:void 0}},onShow:function(){this.storeAdminRefundAddress()},onLoad:function(t){this.$utils.hideShareMenu(),t.is_order&&(this.is_order=1,this.id=t.id),uni.setNavigationBarTitle({title:this.$t("title.addressManage")})},methods:{jump:function(t){this.$utils.toUrl("/admin/address/addreceiving?id="+t,"navigate")},setDefaultAdd:function(t){var e=this;(0,d.storeAdminRefundAddressDefault)({id:t||this.address_id}).then((function(t){e.$utils.toast(t.msg),0===t.code&&e.storeAdminRefundAddress()}))},delItem:function(t){var e=this;(0,d.storeAdminRefundAddressDel)({id:t}).then((function(t){e.$utils.toast(t.msg),0===t.code&&e.storeAdminRefundAddress()}))},storeAdminRefundAddress:function(){var t=this;(0,d.storeAdminRefundAddress)().then((function(e){0!==e.code?t.$utils.toast(e.msg):t.list=e.data}))},goaddreceiving:function(){uni.navigateTo({url:"/pages/admin/address/addreceiving"})},selectAddress:function(t){var e=this;if(this.is_order){var n=this.list,i=this.id;(0,d.storeAdminSetRefundAddress)({id:i,address_id:n[t].id}).then((function(t){0!==t.code?e.$utils.toast(t.msg):uni.navigateBack({delta:1})}))}}}};e.default=i},bb0b:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return d}));var d={uIcon:n("0852").default,uEmpty:n("4991").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"address"},[n("v-uni-view",{staticClass:"address-all"},[t._l(t.list,(function(e,d){return n("v-uni-view",{key:d,staticClass:"address-list"},[n("v-uni-view",{staticClass:"address-list-top",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectAddress(d)}}},[n("v-uni-view",[n("v-uni-view",[t._v(t._s(t.$t("clerk.consigneePerson"))+t._s(e.name))]),n("v-uni-view",[t._v(t._s(e.mobile))])],1),n("v-uni-view",[t._v(t._s(e.address))])],1),n("v-uni-view",{staticClass:"address-list-bottom",style:{justifyContent:"space-between"}},[1==e.is_default?n("v-uni-view",{staticClass:"list-bottom-left",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.setDefaultAdd(e.id)}}},[n("v-uni-image",{staticStyle:{background:"#ffffff"},attrs:{src:t.asyncImgs.history.checked,mode:"aspectFit"}}),n("v-uni-view",[t._v(t._s(t.$t("my.defaultAddress")))])],1):n("v-uni-view",{staticClass:"list-bottom-left",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.setDefaultAdd(e.id)}}},[n("v-uni-image",{attrs:{src:t.asyncImgs.history.unchecked,mode:"aspectFit"}}),n("v-uni-view",{staticStyle:{color:"#333333"}},[t._v(t._s(t.$t("my.default")))])],1),n("v-uni-view",{staticClass:"list-bottom-right"},[n("v-uni-view",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.jump(e.id)}}},[n("u-icon",{attrs:{name:"edit-pen"}}),n("v-uni-view",[t._v(t._s(t.$t("cart.edit")))])],1),n("v-uni-view",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.delItem(e.id)}}},[n("u-icon",{attrs:{name:"trash"}}),n("v-uni-view",[t._v(t._s(t.$t("cart.delete")))])],1)],1)],1)],1)})),0==t.list.length?n("v-uni-view",{staticStyle:{"padding-top":"30rpx"}},[n("u-empty",{attrs:{text:t.$t("common.noAddress"),mode:"address"}})],1):t._e()],2),n("v-uni-view",{staticClass:"address-bottom"},[n("v-uni-view",[n("v-uni-navigator",{staticClass:"add",attrs:{url:"/admin/address/addreceiving","open-type":"navigate"}},[t._v("+ "+t._s(t.$t("my.creatAddress")))])],1)],1)],1)},s=[]},fad9:function(t,e,n){var d=n("c86c");e=d(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-bcda460e] .u-form-item--right__content__slot > uni-view,[data-v-bcda460e] .u-form-item--right__content__slot > div,[data-v-bcda460e] .u-form-item--right__content__slot > span,[data-v-bcda460e] .u-form-item--right__content__slot > uni-text{width:100%}.address[data-v-bcda460e]{padding-top:%?20?%;min-height:100vh;padding-bottom:%?306?%;background-color:#f2f2f2}.address-list[data-v-bcda460e]{margin-bottom:%?20?%;background-color:#fff;border-radius:%?24?%;padding:%?0?% %?30?%}.address-list .address-list-top[data-v-bcda460e]{border-bottom:%?1?% solid #f0f0f0;padding:%?34?% %?0?%}.address-list .address-list-top > uni-view[data-v-bcda460e]:first-child{display:flex;justify-content:space-between;align-items:flex-end}.address-list .address-list-top > uni-view:first-child uni-view[data-v-bcda460e]:first-child{font-size:%?32?%;color:#262626;font-weight:700}.address-list .address-list-top > uni-view:first-child uni-view[data-v-bcda460e]:last-child{font-size:%?30?%;color:#262626}.address-list .address-list-top > uni-view[data-v-bcda460e]:last-child{margin-top:%?18?%;font-size:%?24?%;color:#999}.address-list .address-list-bottom[data-v-bcda460e]{height:%?80?%;display:flex;justify-content:space-between;align-items:center}.address-list .address-list-bottom .list-bottom-left[data-v-bcda460e]{display:flex;align-items:center}.address-list .address-list-bottom .list-bottom-left uni-image[data-v-bcda460e]{width:%?26?%;height:%?26?%;border-radius:50%}.address-list .address-list-bottom .list-bottom-left uni-view[data-v-bcda460e]{margin-left:%?12?%;font-size:%?24?%;color:#f2270c}.address-list .address-list-bottom .list-bottom-right[data-v-bcda460e]{display:flex;align-items:center}.address-list .address-list-bottom .list-bottom-right > uni-view[data-v-bcda460e]{margin-left:%?56?%;display:flex;align-items:center}.address-list .address-list-bottom .list-bottom-right > uni-view uni-view[data-v-bcda460e]{margin-left:%?12?%;font-size:%?24?%;color:#262626}.address-list .address-list-bottom .list-bottom-right > uni-view uni-image[data-v-bcda460e]{width:%?24?%;height:%?24?%;background-color:red}.address-bottom[data-v-bcda460e]{position:fixed;left:%?0?%;bottom:%?0?%;width:100%;background-color:#f2f2f2}.address-bottom > uni-view[data-v-bcda460e]:first-child{padding:%?0?% %?36?%;height:%?146?%;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.address-bottom > uni-view:first-child uni-view[data-v-bcda460e]:first-child{width:%?322?%;height:%?94?%;border:%?1?% solid #c7c7c7;text-align:center;line-height:%?94?%;font-size:%?32?%;color:#262626;font-weight:700;border-radius:%?48?%}.address-bottom > uni-view:first-child uni-view[data-v-bcda460e]:last-child{border-radius:%?48?%;width:%?324?%;height:%?96?%;color:#fff;text-align:center;line-height:%?96?%;font-size:%?32?%;font-weight:700;background:linear-gradient(90deg,#f3150c,#f14b0c)}.address-bottom > uni-view[data-v-bcda460e]:last-child{padding:%?0?% %?36?%;height:%?146?%;background-color:#fff;margin-top:%?14?%;display:flex;justify-content:center;align-items:center}.address-bottom > uni-view:last-child .add[data-v-bcda460e]{width:100%;height:%?96?%;line-height:%?96?%;text-align:center;font-size:%?32?%;color:#fff;font-weight:700;background:linear-gradient(90deg,#f3150c,#f14b0c);border-radius:%?48?%}',""]),t.exports=e}}]);
|