operation-billing_related-billingList-list.327dbe9e.js 32 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["operation-billing_related-billingList-list"],{"0125":function(t,e,a){"use strict";a.r(e);var n=a("a6c0"),i=a("1cb2");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("4f6f");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"16f1c8a8",null,!1,n["a"],void 0);e["default"]=s.exports},"027c":function(t,e,a){"use strict";var n=a("d0c5"),i=a.n(n);i.a},"13d2":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-badge[data-v-5ef10296]{width:auto;height:auto;box-sizing:border-box;display:flex;align-items:center;justify-content:center;z-index:10;font-size:%?20?%;background-color:#fff;border-radius:%?100?%;padding:%?4?% %?8?%;line-height:normal}.tn-badge--dot[data-v-5ef10296]{width:%?8?%;height:%?8?%;border-radius:50%;padding:0}.tn-badge--absolute[data-v-5ef10296]{position:absolute;top:0;right:0}.tn-badge--center-position[data-v-5ef10296]{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}',""]),t.exports=e},"1cb2":function(t,e,a){"use strict";a.r(e);var n=a("e3c6"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"1ee6":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"tn-badge-class tn-badge",class:[t.backgroundColorClass,t.fontColorClass,t.badgeClass],style:[t.badgeStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t.dot?t._e():t._t("default")],2)},i=[]},"390e":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ItemsRefunded=_,e.calculateRefund=f,e.cancelOrderApi=O,e.categoryList=y,e.default=void 0,e.getIsReserveNumApi=A,e.getOrderIdByOrderSnApi=void 0,e.getThirdDeliveryResult=D,e.mealServedApi=k,e.operationsManagement=w,e.orderStatus=x,e.partialRefund=l,e.print=S,e.selfdelivery=C,e.sendOrderBySelfApi=L,e.setting=s,e.storeList=b,e.subRefund=g,e.takeoutDetail=d,e.takeoutDetailNoNeedLoginApi=c,e.takeoutList=u,e.takeoutListStatus=o,e.tangshiList=p,e.thirdDeliveryOption=N,e.tsOrderCancel=v,e.tsOrderPay=m,e.tsOrderStatus=h;var i=n(a("9b1b")),r=n(a("5b42"));function o(t){return r.default.get("api/manage.order.order/statusStatistic",{params:t})}function s(t){return r.default.get("api/manage.order.order/setting",{params:t})}function u(t){return r.default.get("api/manage.order.order/list",{params:t})}function d(t){return r.default.get("api/manage.order.order/detail",{params:t})}function c(t){return r.default.get("api/manage.order.order/detailNoNeedLogin",{params:t})}function l(t){return r.default.get("api/manage.order.order/refund",{params:t})}function f(t){return r.default.post("api/manage.order.order/refundCalculate",t)}function g(t){return r.default.post("api/manage.order.order/refund",t)}function p(t){return r.default.get("api/manage.order.tangshi/list",{params:t})}function h(t){return r.default.post("api/manage.order.tangshi/status",t)}function v(t){return r.default.get("api/manage.order.tangshi/cancel",{params:t})}function m(t){return r.default.get("api/manage.order.tangshi/pay_status",{params:t})}function b(t){return r.default.post("api/manage.user.user/storeList",t)}function y(t,e){return r.default.get("api/manage.goods.category/list",{params:t})}function _(t,e){return util.request((0,i.default)({method:"post",url:"manage/order/takeout/refund_calculate",data:t},e))}function w(t,e){return util.request((0,i.default)({method:"get",url:"manage/shop/index/index",data:t},e))}function x(t){return r.default.post("api/manage.order.order/status",t)}function S(t){return r.default.post("api/manage.order.order/print",t)}function C(t){return r.default.post("api/manage.order.order/selfdelivery",t)}function k(t){return r.default.post("api/manage.order.order/mealServed",{id:t})}function O(t){return r.default.get("api/manage.order.order/cancel",{params:t})}function L(t){return r.default.post("api/manage.order.order/sendOrderBySelf",t)}function A(t){return r.default.get("api/manage.order.order/getIsReserveNum",{params:t})}var I=function(t){return r.default.get("api/manage.order.order/getOrderIdByOrderSn",{params:t})};function D(t){return r.default.get("api/manage.order.order/getThirdDeliveryResult",{params:t})}function N(t){return r.default.post("api/manage.order.order/thirdDeliveryOption",t)}e.getOrderIdByOrderSnApi=I;var B={thirdDeliveryOption:N,getThirdDeliveryResult:D,calculateRefund:f,takeoutListStatus:o,setting:s,takeoutList:u,operationsManagement:w,takeoutDetail:d,partialRefund:l,tangshiList:p,storeList:b,categoryList:y,ItemsRefunded:_,subRefund:g,orderStatus:x,tsOrderStatus:h,tsOrderCancel:v,tsOrderPay:m,print:S,selfdelivery:C,mealServedApi:k,cancelOrderApi:O,sendOrderBySelfApi:L,getIsReserveNumApi:A,getOrderIdByOrderSnApi:I,takeoutDetailNoNeedLoginApi:c};e.default=B},4095:function(t,e,a){"use strict";var n=a("9ca6"),i=a.n(n);i.a},"4f6f":function(t,e,a){"use strict";var n=a("6eae"),i=a.n(n);i.a},"6c51":function(t,e,a){"use strict";a.r(e);var n=a("756a"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"6eae":function(t,e,a){var n=a("849e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("396c10cf",n,!0,{sourceMap:!1,shadowMode:!1})},"756a":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("2634")),r=n(a("2fdc"));a("64aa"),a("5c47");var o=n(a("7caa")),s={mixins:[o.default],name:"tn-tabs",props:{list:{type:Array,default:function(){return[]}},name:{type:String,default:"name"},count:{type:String,default:"count"},current:{type:Number,default:0},isScroll:{type:Boolean,default:!0},height:{type:Number,default:80},top:{type:Number,default:0},itemWidth:{type:[String,Number],default:"auto"},duration:{type:Number,default:.3},activeColor:{type:String,default:"#01BEFF"},inactiveColor:{type:String,default:"#080808"},activeItemStyle:{type:Object,default:function(){return{}}},showBar:{type:Boolean,default:!0},barWidth:{type:Number,default:40},barHeight:{type:Number,default:6},barStyle:{type:Object,default:function(){return{}}},gutter:{type:Number,default:30},badgeOffset:{type:Array,default:function(){return[20,22]}},bold:{type:Boolean,default:!1}},computed:{tabBarStyle:function(){var t={width:this.$t.string.getLengthUnitValue(this.barWidth),height:this.$t.string.getLengthUnitValue(this.barHeight),borderRadius:"".concat(this.barHeight/2,"rpx"),backgroundColor:this.activeColor,opacity:this.barMoveFirst?0:1,transform:"translate(".concat(this.scrollBarLeft,"px, -100%)"),transitionDuration:this.barMoveFirst?"0s":"".concat(this.duration,"s")};return Object.assign(t,this.barStyle),t},tabItemStyle:function(){var t=this;return function(e){var a={width:t.$t.string.getLengthUnitValue(t.itemWidth),height:t.$t.string.getLengthUnitValue(t.height),lineHeight:t.$t.string.getLengthUnitValue(t.height),fontSize:t.fontSizeStyle||"28rpx",padding:t.isScroll?"0 ".concat(t.gutter,"rpx"):"",flex:t.isScroll?"auto":"1",transitionDuration:"".concat(t.duration,"s")};return e===t.currentIndex?(t.bold&&(a.fontWeight="bold"),a.color=t.activeColor,Object.assign(a,t.activeItemStyle)):a.color=t.inactiveColor,a}}},data:function(){return{id:this.$t.uuid(),scrollLeft:0,tabQueryInfo:[],componentWidth:0,scrollBarLeft:0,componentLeft:0,currentIndex:this.current,barMoveFirst:!0}},watch:{list:function(t,e){var a=this;t.length!==e.length&&(this.currentIndex=0),this.$nextTick((function(){a.init()}))},current:{handler:function(t){var e=this;this.$nextTick((function(){e.currentIndex=t,e.scrollByIndex()}))},immediate:!0}},mounted:function(){this.init()},methods:{init:function(){var t=this;return(0,r.default)((0,i.default)().mark((function e(){var a;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t._tGetRect("#"+t.id);case 2:a=e.sent,t.componentLeft=a.left,t.componentWidth=a.width,t.getTabRect();case 6:case"end":return e.stop()}}),e)})))()},clickTab:function(t){t!==this.currentIndex&&this.$emit("change",t)},getTabRect:function(){for(var t=this,e=uni.createSelectorQuery().in(this),a=0;a<this.list.length;a++)e.select("#tn-tabs__scroll-view__item-".concat(a)).fields({size:!0,rect:!0});e.exec((function(e){t.tabQueryInfo=e,t.scrollByIndex()}))},scrollByIndex:function(){var t=this,e=this.tabQueryInfo[this.currentIndex];if(e){var a=e.width,n=e.left-this.componentLeft,i=n-(this.componentWidth-a)/2;this.scrollLeft=i<0?0:i;var r=e.left+e.width/2-this.componentLeft;this.scrollBarLeft=r-uni.upx2px(this.barWidth)/2,this.barMoveFirst&&setTimeout((function(){t.barMoveFirst=!1}),100)}}}};e.default=s},"849e":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".btn1[data-v-16f1c8a8]{border-radius:%?12?%;color:#fff;width:80%;margin:%?30?% 10%;background:linear-gradient(180deg,#70aef7 0,#2f84fb)!important;text-align:center;height:%?80?%;line-height:%?80?%;font-size:16px}.listbox[data-v-16f1c8a8]{padding:%?25?% 3%}.listbox .item[data-v-16f1c8a8]{border-radius:%?10?%;border:1px solid #eee;margin-bottom:%?30?%;box-shadow:%?5?% %?5?% %?5?% %?5?% rgba(0,0,0,.03)}.listbox .item .top[data-v-16f1c8a8]{border-radius:%?10?% %?10?% 0 0;padding:%?15?% 3%;display:flex;justify-content:space-between;background:linear-gradient(90deg,#d3e4ff 0,#fff)!important}.listbox .item .cont[data-v-16f1c8a8]{padding:%?15?% 3%;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.footer[data-v-16f1c8a8]{width:100%;height:%?130?%;background-color:#fff;position:fixed;bottom:0;display:flex;align-items:center;color:#fff;font-size:%?32?%;border-top-left-radius:%?30?%;border-top-right-radius:%?30?%}.footer_button_left[data-v-16f1c8a8]{height:%?88?%;width:%?193?%;background-color:#33aafc;display:flex;justify-content:center;align-items:center;border-radius:%?10?%;margin-left:%?48?%}.footer_button_right[data-v-16f1c8a8]{width:%?438?%;height:%?88?%;background-color:#1db4c7;display:flex;justify-content:center;align-items:center;border-radius:%?10?%;margin-left:%?23?%}.box_bg[data-v-16f1c8a8]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.box[data-v-16f1c8a8]{width:%?660?%;background-color:#fff;border-radius:10px;display:flex;flex-direction:column;border-radius:%?20?% %?20?% %?20?% %?20?%;padding:%?36?% %?45?%}.form[data-v-16f1c8a8]{display:flex;flex-direction:column;align-items:center;margin-bottom:%?30?%}.row[data-v-16f1c8a8]{display:flex;flex-direction:row;align-items:center;margin-bottom:%?30?%}.row span[data-v-16f1c8a8]{width:%?158?%;text-align:right;padding-right:%?10?%;font-size:%?32?%;color:#333}.radio_input[data-v-16f1c8a8]{width:%?454?%;height:%?88?%}.input[data-v-16f1c8a8]{width:%?454?%;height:%?88?%;background:#fff;border-radius:%?10?% %?10?% %?10?% %?10?%;opacity:1;border:%?1?% solid #d9d9d9}.form_footer[data-v-16f1c8a8]{width:100%;display:flex;justify-content:center;align-items:center}.form_footer_button[data-v-16f1c8a8]{display:flex;justify-content:center;align-items:center;color:#fff;width:%?400?%;height:%?88?%;background:linear-gradient(180deg,#53dbeb,#1db4c7);box-shadow:%?0?% %?3?% %?10?% %?1?% rgba(51,170,252,.42);border-radius:%?20?% %?20?% %?20?% %?20?%;opacity:1;font-weight:500}.moneyzhengli[data-v-16f1c8a8]{width:80%;height:%?100?%;position:relative;left:0;right:0;margin:auto;display:flex;justify-content:space-between;background-color:#f8f6f9;border-radius:%?50?%}.money_A[data-v-16f1c8a8]{height:100%;text-align:center;width:25%;line-height:%?100?%;border-radius:%?50?%}.money_A.active[data-v-16f1c8a8]{background-color:#33aafc;color:#fff}.picker_group[data-v-16f1c8a8]{width:80%;height:%?80?%;font-size:%?28?%;border-radius:%?20?%;display:flex;align-items:center;justify-content:space-between;left:0;right:0;margin:auto;top:%?20?%;position:relative;background:#f6f6f6}",""]),t.exports=e},"8d2a":function(t,e,a){"use strict";a.r(e);var n=a("1ee6"),i=a("9f89");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("027c");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"5ef10296",null,!1,n["a"],void 0);e["default"]=s.exports},"9ca6":function(t,e,a){var n=a("dd61");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("ac05125c",n,!0,{sourceMap:!1,shadowMode:!1})},"9f89":function(t,e,a){"use strict";a.r(e);var n=a("faf2"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},a35a:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={tnBadge:a("8d2a").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"tn-tabs-class tn-tabs",class:[t.backgroundColorClass],style:{backgroundColor:t.backgroundColorStyle,marginTop:t.$t.string.getLengthUnitValue(t.top,"px")}},[a("v-uni-view",{attrs:{id:t.id}},[a("v-uni-scroll-view",{staticClass:"tn-tabs__scroll-view",attrs:{"scroll-x":!0,"scroll-left":t.scrollLeft,"scroll-with-animation":!0}},[a("v-uni-view",{staticClass:"tn-tabs__scroll-view__box",class:{"tn-tabs__scroll-view--flex":!t.isScroll}},[t._l(t.list,(function(e,n){return a("v-uni-view",{key:n,staticClass:"tn-tabs__scroll-view__item tn-text-ellipsis",style:[t.tabItemStyle(n)],attrs:{id:"tn-tabs__scroll-view__item-"+n},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickTab(n)}}},[e[t.count]||e["count"]?a("tn-badge",{attrs:{backgroundColor:"tn-bg-red",fontColor:"#FFFFFF",absolute:!0,top:t.badgeOffset[0]||0,right:t.badgeOffset[1]||0}},[t._v(t._s(e[t.count]||e["count"]))]):t._e(),t._v(t._s(e[t.name]||e["name"]))],1)})),t.showBar?a("v-uni-view",{staticClass:"tn-tabs__bar",style:[t.tabBarStyle]}):t._e()],2)],1)],1)],1)},r=[]},a6c0:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={tnNavBar:a("3703").default,tnTabs:a("cb8c").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{attrs:{id:"order-list"}},[a("tn-nav-bar",[t._v("发单列表")]),a("v-uni-view",{staticClass:"moneyzhengli",style:{marginTop:"25%"}},[a("v-uni-view",{staticClass:"money_A",class:{active:0==t.days},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRibao(0)}}},[t._v("日报")]),a("v-uni-view",{staticClass:"money_A",class:{active:7==t.days},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRibao(7)}}},[t._v("周报")]),a("v-uni-view",{staticClass:"money_A",class:{active:30==t.days},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRibao(30)}}},[t._v("月报")]),a("v-uni-view",{staticClass:"money_A",class:{active:-1==t.days},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRibao(-1)}}},[t._v("自定义")])],1),-1==t.days?a("v-uni-view",{staticClass:"picker_group tn-margin-top",staticStyle:{display:"flex"}},[a("v-uni-view",{staticClass:"tn-margin-left-sm",staticStyle:{"font-size":"16px"}},[a("v-uni-picker",{attrs:{mode:"date",value:t.startdate,end:"enddate"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindDateChange.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.statday||"开始日期"))])],1)],1),a("v-uni-text",{staticClass:"text-style1",staticStyle:{"font-size":"16px"}},[t._v("~")]),a("v-uni-view",{staticClass:"tn-margin-left-sm",staticStyle:{"font-size":"16px"}},[a("v-uni-picker",{attrs:{mode:"date",value:t.enddate,end:"2050-01-01"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindDateChangeSet.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.endday||"结束日期"))])],1)],1),a("v-uni-view",{staticClass:"tn-icon-calendar tn-margin",staticStyle:{"font-size":"16px"}})],1):t._e(),a("v-uni-view",{staticStyle:{display:"flex",width:"100%","justify-content":"space-between",padding:"26rpx 13%"}},[a("v-uni-view",[t._v("全部:"+t._s(t.all_num)+"单")]),a("v-uni-view",[t._v("已完成:"+t._s(t.success_num)+"单")]),a("v-uni-view",[t._v("配送中:"+t._s(t.ing_num)+"单")])],1),a("v-uni-view",[a("tn-tabs",{attrs:{list:t.list,isScroll:!1,current:t.current,name:"tab-name"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticStyle:{"margin-top":"30rpx"}},[a("v-uni-view",{staticClass:"listbox"},t._l(t.orderList,(function(e,n){return a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticClass:"left"},[t._v(t._s(e.order_channel_text)+" : #"+t._s(e.serial_sn)),a("span",{style:{"margin-left":"15rpx",color:e.status_color}},[t._v("订单状态: "+t._s(e.status_text))])]),a("v-uni-view",[a("v-uni-text",[t._v(t._s(e.addtime))])],1)],1),a("v-uni-view",{staticClass:"cont"},[a("v-uni-view",{staticStyle:{margin:"10rpx 0"}},[a("v-uni-text",{staticClass:"tn-icon-shop",staticStyle:{"font-size":"35rpx"}},[a("v-uni-text",{staticStyle:{"margin-left":"15rpx","font-size":"16px"}},[t._v(t._s(e.store_title))])],1),a("v-uni-view",{staticStyle:{margin:"10rpx 0"}},[a("v-uni-text",{staticClass:"tn-icon-location",staticStyle:{"font-size":"35rpx"}},[a("v-uni-text",{staticStyle:{"margin-left":"15rpx","font-size":"14px",color:"#555"}},[t._v(t._s(e.address))])],1)],1)],1),e.source_order_no?t._e():a("v-uni-view",{staticStyle:{color:"#1DB4C7"},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.preview(e.upload_image)}}},[t._v("查看小票"),a("i",{staticClass:"detail--operation-nav--icon tn-icon-right"})])],1),e.source_order_no?a("v-uni-view",{staticStyle:{display:"flex","flex-direction":"row-reverse","margin-bottom":"30rpx"}},["meituan"==e.order_channel&&e.source_order_no?a("v-uni-view",{staticStyle:{color:"#1DB4C7"}},[t._v("请到美团APP核对订单"),a("i",{staticClass:"detail--operation-nav--icon tn-icon-right"})]):t._e(),"eleme"==e.order_channel&&e.source_order_no?a("v-uni-view",{staticStyle:{color:"#1DB4C7"}},[t._v("请到饿了么APP核对订单"),a("i",{staticClass:"detail--operation-nav--icon tn-icon-right"})]):t._e()],1):t._e()],1)})),1)],1)],1)},r=[]},cb8c:function(t,e,a){"use strict";a.r(e);var n=a("a35a"),i=a("6c51");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("4095");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"a5dbf4e2",null,!1,n["a"],void 0);e["default"]=s.exports},d0c5:function(t,e,a){var n=a("13d2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("565e6516",n,!0,{sourceMap:!1,shadowMode:!1})},dd61:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */[data-v-a5dbf4e2]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}uni-scroll-view[data-v-a5dbf4e2] ::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}.tn-tabs__scroll-view[data-v-a5dbf4e2]{position:relative;width:100%;white-space:nowrap}.tn-tabs__scroll-view__box[data-v-a5dbf4e2]{position:relative}.tn-tabs__scroll-view__item[data-v-a5dbf4e2]{position:relative;display:inline-block;text-align:center;transition-property:background-color,color}.tn-tabs__scroll-view--flex[data-v-a5dbf4e2]{display:flex;flex-direction:row;justify-content:space-between}.tn-tabs__bar[data-v-a5dbf4e2]{position:absolute;bottom:0}',""]),t.exports=e},e3c6:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("8f71"),a("bf0f"),a("c223"),a("aa9c"),a("e966");var i=n(a("fcf3")),r=n(a("2634")),o=n(a("2fdc")),s=(n(a("390e")),a("f0de"),n(a("05d8"))),u=n(a("e480")),d=n(a("b8ff")),c=a("e83b8"),l={data:function(){var t=this.getDate({format:!0}),e=this.getDate({format:!0});return{action:(uni.getStorageSync("base_url")?uni.getStorageSync("base_url"):d.default.sitebase_cir)+"/api/upload/image",fileList:[],orderList:[],upload_image:"",box_show:!1,checked_all:0,order_sn:"",shop_name:"",send_time:"",name:"",mobile:"",address:"",order_channel:"meituan",sid:this.util.getStorageSync("__sid"),list:[{"tab-name":"全部订单"},{"tab-name":"已完成"},{"tab-name":"配送中"}],current:0,page:1,list_num:0,is_all:!1,days:0,stat_day:{start:s.default.formatDate(new Date,"date"),end:s.default.formatDate(new Date,"date")},startdate:t,enddate:e,statday:"",endday:"",all_num:0,success_num:0,ing_num:0}},onLoad:function(){},onShow:function(){this.getShopInfo(),this.reload()},methods:{getShopInfo:function(){var t=this;return(0,o.default)((0,r.default)().mark((function e(){var a,n,i;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t,n=t.util.getStorageSync("__sid"),e.next=4,u.default.shopStting({sid:n});case 4:i=e.sent,i&&(a.shop_name=i.data.store.title);case 6:case"end":return e.stop()}}),e)})))()},reload:function(t){!0===t&&(this.loadend=!1,this.$set(this.where,"page",1)),this.getlist(t)},getlist:function(){var t=this;return(0,o.default)((0,r.default)().mark((function e(){var a,n,i,o;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t,!a.is_all){e.next=3;break}return e.abrupt("return");case 3:return a.loading=!0,a.loadTitle="",n={},n.days=t.days,n.statday=t.statday,n.endday=t.endday,t.getStatusNum(),e.next=12,(0,c.getOrderListApi)({type:t.current,sid:t.sid,page:t.page,day_obj:n});case 12:i=e.sent,i.data.filter((function(t){t.upload_image=t.data.upload_image||""})),o=i.data,o.length>0?a.orderList=a.orderList.concat(o):t.orderList.length>0&&(a.is_all=!0),a.loading=!1;case 17:case"end":return e.stop()}}),e)})))()},SplitArray:function(t,e){if("object"!=(0,i.default)(t))return[];void 0===e&&(e=[]);for(var a=0;a<t.length;a++)e.push(t[a]);return e},change:function(t){console.log(t),console.log(this.current),this.current!=t&&(this.orderList=[],this.current=t,this.page=1,this.is_all=!1,this.getlist())},onReachBottom:function(){this.page++,console.log(this.page),this.getlist()},preview:function(t){uni.previewImage({urls:[t],longPressActions:{itemList:["发送给朋友","保存图片","收藏"],success:function(t){},fail:function(t){}}})},onRibao:function(t){t=parseInt(t),this.days=t,this.orderList=[],this.page=1,this.is_all=!1,this.getlist()},bindDateChange:function(t){this.stat_day.start=t.detail.value,this.statday=t.detail.value,this.orderList=[],this.page=1,this.is_all=!1,this.getlist()},bindDateChangeStattime:function(t){this.stattime=t.detail.value,this.orderList=[],this.page=1,this.is_all=!1,this.getlist()},bindDateChangeSet:function(t){this.stat_day.end=t.detail.value,this.endday=t.detail.value,this.orderList=[],this.page=1,this.is_all=!1,this.getlist()},getDate:function(t){var e=new Date,a=e.getFullYear(),n=e.getMonth()+1,i=e.getDate();return"start"===t?a-=60:"end"===t&&(a+=2),n=n>9?n:"0"+n,i=i>9?i:"0"+i,"".concat(a,"-").concat(n,"-").concat(i)},getStatusNum:function(){var t=this,e={};e.days=this.days,e.statday=this.statday,e.endday=this.endday,(0,c.getStatusNumApi)({type:this.current,sid:this.sid,page:this.page,day_obj:e}).then((function(e){t.all_num=e.data.all,t.success_num=e.data.success,t.ing_num=e.data.ing}))}}};e.default=l},e480:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BranchInformation=u,e.InformationSettings=p,e.OperatingStatus=b,e.accountSetting=y,e.accountSubmit=_,e.administration=g,e.checkAuthcodeApi=D,e.couponScan=I,e.couponSubmit=A,e.default=void 0,e.getDrawFirmCharts=L,e.getDrawInvestCharts=S,e.getDrawMakeupCharts=O,e.getDrawMonthCharts=k,e.getDrawOverviewCharts=C,e.getImageUrl=function(t){return r.default.get("api/manage.shop.config/info",{params:t})},e.getPill=w,e.getQrcodeApi=B,e.getVipSetting=d,e.gitCommit=h,e.imageUpload=l,e.pillSubmit=x,e.setVipConfig=c,e.shopStatus=m,e.shopStting=v,e.submitImg=f,e.updateLogo=o,e.updateThumbs=s,e.useAuthcodeApi=N;var i=n(a("9b1b")),r=n(a("5b42"));function o(t){return r.default.post("api/manage.shop.config/logo",t)}function s(t){return r.default.post("api/manage.shop.config/thumbs",t)}function u(t){return r.default.get("api/manage.shop.config/info",{params:t})}function d(t){return r.default.get("api/manage.shop.config/vipConfig",{params:t})}function c(t){return r.default.post("api/manage.shop.config/setVipConfig",t,{headers:{"Content-Type":"application/json"}})}function l(t,e){return util.request((0,i.default)({method:"post",url:"manage/shop/index/info",data:t},e))}function f(t,e){return r.default.post("api/manage.shop.config/setting",t)}function g(t,e){return util.request((0,i.default)({method:"get",url:"manage/shop/index/index",data:t},e))}function p(t){return r.default.get("api/manage.shop.config/info",{params:t})}function h(t,e){return r.default.post("api/manage.shop.config/setting",t)}function v(t){return r.default.get("api/manage.shop.config/index",{params:t})}function m(t){return r.default.get("api/manage.shop.config/status",{params:t})}function b(t,e){return util.request((0,i.default)({method:"post",url:"manage/shop/index/status",data:t},e))}function y(t){return r.default.get("api/manage.shop.config/index",{params:t})}function _(t){return r.default.post("api/manage.shop.config/account",t)}function w(t){return r.default.get("api/manage.shop.config/pill",{params:t})}function x(t){return r.default.post("api/manage.shop.config/pill",t)}function S(t){return r.default.get("api/manage.statistic.count/drawInvestCharts",{params:t})}function C(t){return r.default.get("api/manage.statistic.count/drawOverviewCharts",{params:t})}function k(t){return r.default.get("api/manage.statistic.count/drawMonthCharts",{params:t})}function O(t){return r.default.get("api/manage.statistic.count/drawMakeupCharts",{params:t})}function L(t){return r.default.get("api/manage.statistic.count/drawFirmCharts",{params:t})}function A(t){return r.default.post("api/manage.coupon.coupon/submit",t)}function I(t){return r.default.post("api/manage.coupon.coupon/ScanCode",t)}function D(t){return r.default.post("api/manage.authcode.credit_authcode/checkAuthcode",t)}function N(t){return r.default.post("api/manage.authcode.credit_authcode/useAuthcode",t)}function B(t){return r.default.get("api/manage.shop.config/getQrcode",{params:t})}var $={updateLogo:o,shopStatus:m,pillSubmit:x,getPill:w,accountSubmit:_,BranchInformation:u,imageUpload:l,submitImg:f,administration:g,InformationSettings:p,gitCommit:h,shopStting:v,OperatingStatus:b,accountSetting:y,getDrawInvestCharts:S,getDrawOverviewCharts:C,getDrawMonthCharts:k,getDrawMakeupCharts:O,getDrawFirmCharts:L,couponSubmit:A,couponScan:I,checkAuthcodeApi:D,useAuthcodeApi:N,getQrcodeApi:B,getVipSetting:d,setVipConfig:c,updateThumbs:s};e.default=$},e83b8:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getAddressApi=r,e.getOrderListApi=s,e.getStatusNumApi=u,e.noticeApi=d,e.sendOrderApi=o;var i=n(a("5b42"));function r(t){return i.default.post("api/manage.order.send_order/getInfo",{path:t})}function o(t,e){return i.default.post("api/manage.order.send_order/submit",{data:t,sid:e})}function s(t){return i.default.get("api/manage.order.send_order/list",{params:t})}function u(t){return i.default.get("api/manage.order.send_order/getStatusNum",{params:t})}function d(t,e){return i.default.post("api/manage.order.send_order/notice",{id:t,sid:e})}var c={getAddressApi:r,sendOrderApi:o,getOrderListApi:s,getStatusNumApi:u,noticeApi:d};e.default=c},f0de:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getData=function(t){return t.vue.util.request({url:t.url,data:t.data}).then((function(e){t.vue.showPreLoading&&(t.vue.showPreLoading=!1);var a=e.data.message;return a.errno?t.fail&&"function"===typeof t.fail?(t.fail(a),!1):(t.vue.util.$toast(a.message),!1):(a=a.message,t.data&&1==t.data.menufooter&&(t.vue.menufooter=window.immenufooter),t.autoAssign&&t.variable&&a[t.variable]&&(t.vue[t.variable]=t.vue.util.extend(t.vue[t.variable],a[t.variable])),!t.success||"function"!==typeof t.success||(t.success(a),!1))})),!0},e.getRecords=function(t){t.force&&(t.vue.records={page:1,psize:15,loading:!0,finished:!1,empty:!1,data:[]});if(t.vue.records.finished)return!1;var e={page:t.vue.records.page,psize:t.vue.records.psize};t.data&&(e=Object.assign(t.data,e));t.vue.filter&&(e.filter=JSON.stringify(t.vue.filter.items));return t.vue.util.request({url:t.url,data:e}).then((function(e){t.vue.showPreLoading&&(t.vue.showPreLoading=!1);var a=e.data.message;if(a.errno)return t.vue.util.$toast(a.message),!1;if(t.data&&1==t.data.menufooter&&(t.vue.menufooter=window.immenufooter),t.recordsName)var n=a.message[t.recordsName];else n=a.message.records;return t.vue.records.data=[].concat((0,i.default)(t.vue.records.data),(0,i.default)(n)),t.vue.records.data.length||(t.vue.records.empty=!0),n&&n.length<t.vue.records.psize&&(t.vue.records.finished=!0),t.vue.records.page++,t.vue.records.loading=!1,t.vue.isRefresh=!1,a.message.filter&&(t.vue.condition.items=a.message.filter),t.data&&1==t.data.menufooter&&(t.vue.menufooter=window.immenufooter),t.success&&"function"===typeof t.success?(t.success(a.message),!1):void 0})),!0},e.setData=function(t){var e=function(){t.vue.util.request({method:"post",url:t.url,data:t.data}).then((function(e){var a=e.data.message;if(a.errno)return t.fail&&"function"===typeof t.fail?(t.fail(a),!1):(t.vue.util.$toast(a.message),!1);if(a=a.message,t.success&&"function"===typeof t.success)return t.success(a),!1;t.redirect||(t.redirect="refresh"),t.message||(t.message="保存成功");var n=t.redirectType?t.redirectType:"push";return t.vue.util.$toast(t.message,t.redirect,1e3,n),!0}))};t.confirm?uni.showModal({title:"温馨提示",cancelText:"取消",content:t.confirm,success:function(t){t.cancel||e()}}):e()};var i=n(a("b7c7"));a("8f71"),a("bf0f"),a("d4b5"),a("c223");n(a("05d8"))},faf2:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa");var i=n(a("7caa")),r={mixins:[i.default],name:"tn-badge",props:{index:{type:[Number,String],default:"0"},radius:{type:Number,default:0},padding:{type:String,default:""},margin:{type:String,default:""},dot:{type:Boolean,default:!1},absolute:{type:Boolean,default:!1},top:{type:[String,Number],default:""},right:{type:[String,Number],default:""},translateCenter:{type:Boolean,default:!0}},computed:{badgeClass:function(){var t="";return this.dot&&(t+=" tn-badge--dot"),this.absolute&&(t+=" tn-badge--absolute",this.translateCenter&&(t+=" tn-badge--center-position")),t},badgeStyle:function(){var t={};return 0!==this.radius&&(t.width=this.radius+"rpx",t.height=this.radius+"rpx",t.lineHeight=this.radius+"rpx"),this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontColorStyle&&(t.color=this.fontColorStyle),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),this.top&&(t.top=this.$t.string.getLengthUnitValue(this.top)),this.right&&(t.right=this.$t.string.getLengthUnitValue(this.right)),t}},data:function(){return{}},methods:{handleClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})}}};e.default=r}}]);