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.
1 lines
29 KiB
1 lines
29 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-cancellate_result-index"],{"111c":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return i.default.post("store/product/increase_take",t)},e.bagExplain=function(){return i.default.get("store/product/bag/explain")},e.bagRecommend=function(){return i.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return i.default.post("user/relation/create",t)},e.collectAll=function(t){return i.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return i.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return i.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return i.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return i.default.post("intention/create",t)},e.discountsCartAdd=function(t){return i.default.post("user/cart/batchCreate",t)},e.express=function(t){return i.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return i.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return i.default.get("intention/lst",t)},e.getBrandlist=function(t){return i.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return i.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return i.default.get("captcha")},e.getCategoryList=function(){return i.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return i.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return i.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return i.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return i.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return i.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return i.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return i.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getLiveList=function(t){return i.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return i.default.get("product/spu/recommend",{page:void 0===e.page?1:e.page,limit:void 0===e.limit?10:e.limit,mer_id:t||""},{noAuth:!0})},e.getMerchantLst=function(t){return i.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getPresellProductDetail=function(t){return i.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return i.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return i.default.get("store/product/qrcode/"+t,e)},e.getProductDetail=function(t){return i.default.get("store/product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return i.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return i.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return i.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return i.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return i.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t){return i.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getStoreCategory=function(t,e){return i.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return i.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return i.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return i.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreTypeApi=function(){return i.default.get("intention/type",{},{noAuth:!0})},e.merClassifly=function(){return i.default.get("intention/cate",{},{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,o.default)({},e),e.brand_id=e.brand_id.toString());return i.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return i.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.postCartAdd=function(t){return i.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return i.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return i.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return i.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return i.default.post("store/certificate/".concat(t.merId),t)},e.storeListApi=function(t){return i.default.get("store_list",t,{noAuth:!0})},e.storeMerchantList=function(t){return i.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return i.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.unfollowStore=function(t){return i.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return i.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return i.default.post("user/relation/batch/delete",t)},e.verify=function(t){return i.default.post("auth/verify",t)},n("d401"),n("d3b7"),n("25f0"),n("99af");var o=a(n("5530")),i=a(n("b5ef"))},"1c6c":function(t,e,n){"use strict";var a=n("d630"),o=n.n(a);o.a},4181:function(t,e,n){var a=n("f0f4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("d1304568",a,!0,{sourceMap:!1,shadowMode:!1})},"493d":function(t,e,n){"use strict";n.r(e);var a=n("e933"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"5a74":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d3b7"),n("159b"),n("14d9"),n("4de4");var o=n("ed0f"),i=(n("111c"),n("26cb")),r=a(n("f272")),c=a(n("c61e")),u=(n("4f1b"),getApp(),{components:{authorize:r.default,emptyPage:c.default},data:function(){return{loading:!1,loadend:!1,loadTitle:"加载更多",cartCount:0,hostProduct:[],orderData:{},orderList:[],verify_code:"",mer_id:"",isAllSelect:!0,selectValue:[],selectCountPrice:0,isAuto:!1,isShowAuth:!1}},computed:(0,i.mapGetters)(["isLogin"]),onReady:function(){},mounted:function(){},onLoad:function(t){this.verify_code=t.code,this.mer_id=t.mer_id},onShow:function(){var t=this;1==this.isLogin?this.getOrderData():setTimeout((function(){t.isAuto=!0,t.isShowAuth=!0}),300)},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.isShowAuth=!1},goBack:function(){uni.navigateBack()},getOrderData:function(){var t=this,e=this;(0,o.verifierOrder)(e.mer_id,e.verify_code).then((function(n){e.orderData=n.data,e.orderList=n.data.orderProduct,e.orderList.forEach((function(e){e.max_count=e.refund_num,t.$set(e,"check",!0)}))})).catch((function(t){e.$util.Tips({title:t}),setTimeout((function(){uni.navigateTo({url:"/pages/admin/order_cancellation/index?mer_id="+e.mer_id})}),500)}))},subCart:function(t){t.refund_num<=1?(t.refund_num=1,t.numSub=!0):(t.refund_num--,t.numAdd=!1)},addCart:function(t){t.max_count<=t.refund_num?(t.refund_num=t.max_count,t.numAdd=!0):(t.refund_num++,t.numSub=!1)},goCallate:function(){var t=this,e=t.getSelectedProduct();if(0==e.length)return t.$util.Tips({title:"请选择要核销的商品"});(0,o.orderVerific)(t.mer_id,t.orderData.order_id,{verify_code:t.verify_code,data:e}).then((function(e){t.$util.Tips({title:e.message}),t.getOrderData()})).catch((function(e){t.$util.Tips({title:e}),setTimeout((function(){uni.navigateTo({url:"/pages/admin/order_cancellation/index?mer_id="+t.mer_id})}),500)}))},getSelectedProduct:function(){var t=[];return this.orderList.forEach((function(e){e.check&&t.push({id:e.order_product_id,num:e.refund_num})})),t},goodsCheck:function(t){t.check=!t.check,this.cartAllCheck("goodsCheck")},checkboxAllChange:function(){this.isAllSelect=!this.isAllSelect,this.cartAllCheck("allCheck")},cartAllCheck:function(t){var e=this,n=[],a=[];this.orderList.forEach((function(t){0==e.orderData.status&&t.refund_num>0&&a.push(t)})),"goodsCheck"==t?(n=a.filter((function(t){return t.check})),this.isAllSelect=a.length==n.length):a.forEach((function(t){t.check=e.isAllSelect,t.check&&n.push(t)})),this.isAllSelect=n.length==a.length}},onReachBottom:function(){},onPageScroll:function(t){uni.$emit("scroll")}});e.default=u},6229:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},o=[]},"713e":function(t,e,n){"use strict";var a=n("93e4"),o=n.n(a);o.a},"725f":function(t,e,n){"use strict";var a=n("4181"),o=n.n(a);o.a},8669: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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-46377bcc]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-46377bcc]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-46377bcc]{font-size:%?26?%;color:#999}',""]),t.exports=e},"93e4":function(t,e,n){var a=n("8669");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("172dfd1c",a,!0,{sourceMap:!1,shadowMode:!1})},a296: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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Popup[data-v-ac292046]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000}.Popup .logo-auth[data-v-ac292046]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-ac292046]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-ac292046]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-ac292046]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-ac292046]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-ac292046]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-ac292046]{width:%?500?%}.flex[data-v-ac292046]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-ac292046]{font-weight:700;background-color:#e93323;\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-ac292046]{font-size:%?28?%;color:#fff}.mask[data-v-ac292046]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},b3dc:function(t,e,n){"use strict";n.r(e);var a=n("5a74"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},b821:function(t,e,n){"use strict";n.r(e);var a=n("d4b0"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},badd:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.orderList.length>0?n("v-uni-view",[n("v-uni-view",{staticClass:"cancellate"},[n("v-uni-view",[n("v-uni-view",{staticClass:"order acea-row row-between"},[n("v-uni-view",{staticClass:"order_sn"},[t._v("订单号:"+t._s(t.orderData.order_sn))]),n("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}},[t._v("上一步")])],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-view",{staticClass:"acea-row row-between header"},[n("v-uni-view",{staticClass:"info"},[n("v-uni-view",{staticClass:"name"},[t._v("共"+t._s(t.orderData.total_num)+"件")])],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},t._l(t.orderList,(function(e){return n("v-uni-view",{key:e.cart_id,staticClass:"picTxt acea-row"},[e.refund_num>0&&0==t.orderData.status?n("v-uni-view",{staticClass:"checkbox",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.goodsCheck(e)}}},[e.check?n("v-uni-text",{staticClass:"iconfont icon-xuanzhong1"}):n("v-uni-text",{staticClass:"iconfont icon-weixuanzhong"})],1):n("v-uni-view",{staticClass:"checkbox"},[n("v-uni-text",{staticClass:"iconfont icon-weixuanzhong disabled"})],1),n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:e.cart_info.product.image}})],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"line1 name"},[t._v(t._s(e.cart_info.product.store_name))]),n("v-uni-view",{staticClass:"money acea-row row-middle"},[n("v-uni-text",[t._v("¥"+t._s(e.cart_info.productAttr.price))])],1),n("v-uni-view",{staticClass:"callate_bom acea-row row-between"},[n("v-uni-view",{staticClass:"callate_text refund_text"},[t._v("x"+t._s(e.product_num))]),n("v-uni-view",{staticClass:"carnum acea-row row-center-wrapper"},[n("v-uni-view",{staticClass:"reduce",class:e.numSub||1==e.refund_num?"on":"",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.subCart(e)}}},[t._v("-")]),n("v-uni-view",{staticClass:"num"},[t._v(t._s(e.refund_num))]),n("v-uni-view",{staticClass:"plus",class:e.max_count==e.refund_num||e.numAdd?"on":"",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.addCart(e)}}},[t._v("+")])],1)],1)],1)],1)})),1)],1)],1)],1),t.orderList.length>0?n("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[n("v-uni-view",[n("v-uni-view",{staticClass:"allcheckbox",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.checkboxAllChange.apply(void 0,arguments)}}},[t.isAllSelect?n("v-uni-text",{staticClass:"iconfont icon-xuanzhong1"}):n("v-uni-text",{staticClass:"iconfont icon-weixuanzhong"}),t._v("全选")],1)],1),n("v-uni-view",{staticClass:"money acea-row row-middle"},[n("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.goCallate.apply(void 0,arguments)}}},[n("v-uni-button",{staticClass:"placeOrder",attrs:{formType:"submit"}},[t._v("立即核销")])],1)],1)],1):t._e()],1):n("v-uni-view",[n("emptyPage",{attrs:{title:"暂无订单信息~"}})],1),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)},onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)}}})],1)},o=[]},c15c:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[n("v-uni-view",{staticClass:"logo-auth"},[n("v-uni-image",{staticClass:"image",attrs:{src:t.routine_logo,mode:"aspectFit"}})],1),t.isWeixin?n("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):n("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?n("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):n("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),n("v-uni-view",{staticClass:"bottom flex"},[n("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),n("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?n("v-uni-text",{staticClass:"text"},[t._v("去授权")]):n("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},o=[]},c61e:function(t,e,n){"use strict";n.r(e);var a=n("6229"),o=n("b821");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("713e");var r=n("f0c5"),c=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"46377bcc",null,!1,a["a"],void 0);e["default"]=c.exports},d4b0:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{title:{type:String,default:"暂无记录"}}};e.default=a},d630:function(t,e,n){var a=n("a296");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("8f383f98",a,!0,{sourceMap:!1,shadowMode:!1})},dc50:function(t,e,n){"use strict";n.r(e);var a=n("badd"),o=n("b3dc");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("725f");var r=n("f0c5"),c=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"fac310b6",null,!1,a["a"],void 0);e["default"]=c.exports},e933:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("5530")),i=a(n("ff56")),r=n("31bd"),c=n("5cac"),u=n("26cb"),d=a(n("dae1")),s=n("4f1b"),l=(a(n("8b6a")),n("713c")),f=getApp(),p={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,o.default)((0,o.default)({},(0,u.mapGetters)(["isLogin","userInfo","viewColor"])),(0,s.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,l.toLogin)(!0)},getUserProfile:function(){var t=this,e=this;d.default.getUserProfile().then((function(n){var a=n.userInfo;a.code=t.code,a.spread=f.globalData.spid,a.spread_code=f.globalData.code,(0,r.commonAuth)({auth:{type:"routine",auth:a}}).then((function(n){if(200!=n.data.status)return uni.setStorageSync("auth_token",n.data.result.key),uni.navigateTo({url:"/pages/users/login/index"});var a=n.data.result.expires_time-i.default.time();e.$store.commit("UPDATE_USERINFO",n.data.result.user),e.$store.commit("LOGIN",{token:n.data.result.token,time:a}),e.$store.commit("SETUID",n.data.result.user.uid),i.default.set(c.EXPIRES_TIME,n.data.result.expires_time,a),i.default.set(c.USER_INFO,n.data.result.user,a),t.$emit("onLoadFun",n.data.result.user),n.data.result.user.isNew&&t.mp_is_new&&(t.editModal=!0)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.message,icon:"none",duration:2e3})}))})).catch((function(t){uni.hideLoading()}))},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1)}}};e.default=p},ed0f:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getAdminOrderDelivery=function(t){return o.default.get("admin/order/delivery/gain/"+t,{},{login:!0})},e.getAdminOrderDetail=function(t,e){return o.default.get("admin/"+t+"/order/"+e,{},{login:!0})},e.getAdminOrderList=function(t){return o.default.get("admin/order/list",t,{login:!0})},e.getDeliveryStoreLst=function(t){return o.default.get("admin/".concat(t,"/delivery_options"))},e.getLogistics=function(){return o.default.get("logistics",{},{login:!1})},e.getOrderList=function(t,e){return o.default.get("admin/".concat(e,"/order_list"),t,{login:!0})},e.getRefundOrderDetail=function(t,e){return o.default.get("server/".concat(t,"/refund/detail/").concat(e),{},{login:!0})},e.getRefundOrderInfo=function(t,e){return o.default.get("server/".concat(t,"/refund/get/").concat(e))},e.getRefundOrderList=function(t,e){return o.default.get("server/".concat(e,"/refund/lst"),t,{login:!0})},e.getStatisticsInfo=function(){return o.default.get("admin/order/statistics",{},{login:!0})},e.getStatisticsMonth=function(t){return o.default.get("admin/order/data",t,{login:!0})},e.getStatisticsTime=function(t){return o.default.get("admin/order/time",t,{login:!0})},e.getTempAndDelivery=function(t){return o.default.get("admin/".concat(t,"/delivery_config"))},e.orderCancellation=function(t,e){return o.default.post("admin/".concat(t,"/verify/").concat(e))},e.orderDeliveryInfo=function(t){return o.default.get("admin/".concat(t,"/mer_form"))},e.orderExportTemp=function(t){return o.default.get("store/expr/temps",t)},e.orderNumberStatistics=function(t,e){return o.default.get("admin/".concat(e,"/pay_number"),t,{login:!0})},e.orderPrice=function(t,e){return o.default.get("admin/"+e+"/order_price",t,{login:!0})},e.orderStatistics=function(t){return o.default.get("admin/"+t+"/statistics")},e.orderVerific=function(t,e,n){return o.default.post("verifier/".concat(t,"/").concat(e),n)},e.refundOrderReceive=function(t,e){return o.default.post("server/".concat(t,"/refund/confirm/").concat(e),{},{login:!0})},e.refundOrderSubmit=function(t,e,n){return o.default.post("server/".concat(t,"/refund/status/").concat(e),n,{login:!0})},e.setAdminOrderDelivery=function(t,e,n){return o.default.post("admin/"+t+"/delivery/"+e,n,{login:!0})},e.setAdminOrderPrice=function(t,e,n){return o.default.post("admin/"+t+"/price/"+e,n,{login:!0})},e.setAdminOrderRemark=function(t,e,n){return o.default.post("admin/"+t+"/mark/"+e,n,{login:!0})},e.setOfflinePay=function(t,e){return o.default.post("admin/"+t+"/order/offline",e,{login:!0})},e.setOrderRefund=function(t,e){return o.default.post("admin/"+t+"/order/refund",e,{login:!0})},e.setRefundMark=function(t,e,n){return o.default.post("server/".concat(t,"/refund/mark/").concat(e),n,{login:!0})},e.turnoverStatistics=function(t,e){return o.default.get("admin/".concat(e,"/pay_price"),t,{login:!0})},e.verifierOrder=function(t,e){return o.default.get("verifier/"+t+"/order/"+e)},n("99af");var o=a(n("b5ef"))},f0f4: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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-fac310b6]{background:#f5f5f5}body.?%PAGE?%[data-v-fac310b6]{background:#f5f5f5}.cancellate[data-v-fac310b6]{margin-top:%?20?%;padding:0 %?30?%}.cancellate .order[data-v-fac310b6]{background:#fff;height:%?90?%;border-radius:%?16?%;padding:0 %?30?%;align-items:center;color:#282828;font-size:%?28?%}.cancellate .order .btn[data-v-fac310b6]{width:%?124?%;height:%?48?%;display:flex;align-items:center;justify-content:center;border:1px solid #707070;border-radius:%?25?%}.cancellate .list[data-v-fac310b6]{background:#fff;border-radius:%?16?%;margin-top:%?20?%}.cancellate .list .header[data-v-fac310b6]{height:%?88?%;line-height:%?88?%;padding:0 %?30?%;border-bottom:1px solid #f0f0f0}.cancellate .list .header .info[data-v-fac310b6]{color:#282828}.cancellate .list .header .info uni-text[data-v-fac310b6]{color:#999}.cancellate .list .header .coupon-btn[data-v-fac310b6]{color:#666;font-size:%?24?%}.cancellate .list .header .coupon-btn .iconfont[data-v-fac310b6]{font-size:%?20?%}.cancellate .item[data-v-fac310b6]{padding:%?20?%}.cancellate .picTxt[data-v-fac310b6]{width:100%;position:relative;align-items:center;margin-bottom:%?30?%}.cancellate .picTxt .checkbox[data-v-fac310b6]{width:%?60?%}.cancellate .picTxt .checkbox .iconfont[data-v-fac310b6]{font-size:%?40?%;color:#ccc;border-radius:100%}.cancellate .picTxt .checkbox .iconfont.disabled[data-v-fac310b6]{background:#f3f3f3}.cancellate .picTxt .checkbox .icon-xuanzhong1[data-v-fac310b6]{color:#2291f8}.cancellate .picTxt .pictrue[data-v-fac310b6]{width:%?160?%;height:%?160?%}.cancellate .picTxt .pictrue uni-image[data-v-fac310b6]{width:100%;height:100%;border-radius:%?6?%}.cancellate .picTxt .text[data-v-fac310b6]{width:%?410?%;margin-left:%?20?%;font-size:%?28?%;color:#282828}.cancellate .picTxt .text .money[data-v-fac310b6]{font-size:%?26?%;color:#282828;margin-top:%?8?%}.cancellate .picTxt .callate_bom[data-v-fac310b6]{margin-top:%?20?%;align-items:center}.cancellate .picTxt .callate_bom .callate_text[data-v-fac310b6]{font-size:%?26?%;color:#999}.cancellate .picTxt .callate_bom .callate_text.refund_text[data-v-fac310b6]{color:#ff9600}.cancellate .picTxt .callate_bom .callate_text.uncall_text[data-v-fac310b6]{color:#2291f8}.cancellate .picTxt .carnum[data-v-fac310b6]{height:%?47?%}.cancellate .picTxt .carnum uni-view[data-v-fac310b6]{border:1px solid #a4a4a4;min-width:%?66?%;text-align:center;height:100%;line-height:%?46?%;font-size:%?28?%;color:#a4a4a4}.cancellate .picTxt .reduce[data-v-fac310b6]{border-right:0;border-radius:%?3?% 0 0 %?3?%}.cancellate .picTxt .reduce.on[data-v-fac310b6]{border-color:#e3e3e3;color:#dedede}.cancellate .picTxt .plus[data-v-fac310b6]{border-left:0;border-radius:0 %?3?% %?3?% 0}.cancellate .picTxt .plus.on[data-v-fac310b6]{border-color:#e3e3e3;color:#dedede}.cancellate .picTxt .carnum .num[data-v-fac310b6]{color:#282828}.footer[data-v-fac310b6]{z-index:9;width:100%;height:%?96?%;background-color:#fafafa;position:fixed;padding:0 %?30?%;box-sizing:border-box;border-top:1px solid #eee;bottom:0}.footer .checkAll[data-v-fac310b6]{font-size:%?28?%;color:#282828;margin-left:%?16?%}.footer .placeOrder[data-v-fac310b6]{color:#fff;font-size:%?30?%;width:%?226?%;height:%?70?%;border-radius:%?50?%;text-align:center;line-height:%?70?%;margin-left:%?22?%;background-color:#2291f8}.allcheckbox[data-v-fac310b6]{display:flex;align-items:center;width:%?260?%}.allcheckbox .iconfont[data-v-fac310b6]{margin-right:%?20?%;font-size:%?40?%;color:#ccc}.allcheckbox .icon-xuanzhong1[data-v-fac310b6]{color:#2291f8}.footer .button .bnt[data-v-fac310b6]{font-size:%?28?%;color:#999;border-radius:%?50?%;border:1px solid #999;width:%?160?%;height:%?60?%;text-align:center;line-height:%?60?%}.footer .button .bnt.bt-color[data-v-fac310b6]{color:#2291f8;border:1px solid #2291f8}',""]),t.exports=e},f272:function(t,e,n){"use strict";n.r(e);var a=n("c15c"),o=n("493d");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("1c6c");var r=n("f0c5"),c=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"ac292046",null,!1,a["a"],void 0);e["default"]=c.exports}}]); |