1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-statcenter-home"],{"20f3":function(t,e,a){"use strict";var i=a("8bdb"),n=a("5145");i({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},"253d":function(t,e,a){var i=a("c86c");e=i(!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-popup[data-v-1cf18b62]{display:block;position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:29091!important}.tn-popup__content[data-v-1cf18b62]{display:block;position:absolute;transition:all .25s linear}.tn-popup__content--visible[data-v-1cf18b62]{-webkit-transform:translateZ(0)!important;transform:translateZ(0)!important}.tn-popup__content--visible.tn-popup--center[data-v-1cf18b62]{-webkit-transform:scale(1);transform:scale(1);opacity:1}.tn-popup__content__center_box[data-v-1cf18b62]{min-width:%?100?%;min-height:%?100?%;display:block;position:relative;background-color:#fff}.tn-popup__content__scroll-view[data-v-1cf18b62]{width:100%;height:100%}.tn-popup__content__center--animation-zoom[data-v-1cf18b62]{-webkit-transform:scale(1.15);transform:scale(1.15)}.tn-popup__scroll_view[data-v-1cf18b62]{width:100%;height:100%}.tn-popup--left[data-v-1cf18b62]{top:0;bottom:0;left:0;background-color:#fff}.tn-popup--right[data-v-1cf18b62]{top:0;bottom:0;right:0;background-color:#fff}.tn-popup--top[data-v-1cf18b62]{left:0;right:0;top:0;background-color:#fff}.tn-popup--bottom[data-v-1cf18b62]{left:0;right:0;bottom:0;background-color:#fff}.tn-popup--center[data-v-1cf18b62]{display:flex;flex-direction:column;bottom:0;top:0;left:0;right:0;justify-content:center;align-items:center;opacity:0}.tn-popup__close[data-v-1cf18b62]{position:absolute}.tn-popup__close--top-left[data-v-1cf18b62]{top:%?30?%;left:%?30?%}.tn-popup__close--top-right[data-v-1cf18b62]{top:%?30?%;right:%?30?%}.tn-popup__close--bottom-left[data-v-1cf18b62]{bottom:%?30?%;left:%?30?%}.tn-popup__close--bottom-right[data-v-1cf18b62]{bottom:%?30?%;right:%?30?%}.tn-popup__mask[data-v-1cf18b62]{width:100%;height:100%;position:fixed;top:0;left:0;right:0;border:0;background-color:rgba(0,0,0,.4);transition:.25s linear;transition-property:opacity;opacity:0}.tn-popup__mask--show[data-v-1cf18b62]{opacity:1}',""]),t.exports=e},"394b":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("8f71"),a("bf0f"),a("e838"),a("f7a5"),a("d4b5"),a("fd3c"),a("c223"),a("795c"),a("c9b5"),a("ab80"),a("4626"),a("5ac7"),a("bd06"),a("2797"),a("e966");var n=i(a("9b1b")),s=i(a("2634")),o=i(a("2fdc")),l=i(a("39d8")),c=i(a("c249")),r=i(a("05d8")),d={data:function(){var t,e=new Date;return t={datePicker:{start:this.formatDate(e),end:this.formatDate(e)},calenderStartShow:!1,calenderEndShow:!1,order_records:[],member_total:"",isshow:!1,tableColumn:[{id:"total_success",name:"人数"},{id:"total_success_order",name:"比例(%)"}],CommodityStatistics:[{id:"goods_title",name:"商品名称"},{id:"total_goods_num",name:"销量"},{id:"total_goods_price",name:"销售额"}],channelStatistics:[{id:"order_channel",name:"订单渠道 "},{id:"total_fee",name:"销售额"},{id:"orders_num",name:"订单数"}],timeSS:[{id:"final_fee",name:"营业额"},{id:"total_success_order",name:"交易笔数(笔)"},{id:"store_final_fee",name:"实收金额"}],tableColumned:[{id:"total_fee",name:"总额"},{id:"waimai_fee",name:"外卖"},{id:"ziti_fee",name:"自提"},{id:"diancan_fee",name:"店内"},{id:"madan_fee",name:"买单"}],min:60,max:100,titleWidth:200,contentWidth:250,days:0,statm:{},stat:(0,l.default)({total:0,total_fee:0,net_receipts:0,final_fee:0,store_final_fee:0,total_success_order:0,total_cancel_order:0,total_cancel_fee:0,avg_pre_order:0,total_scan:0,total_pay:0,percent_success:0,total_success_new:0,total_success_old:0,total_success_new_percent:0,total_success_old_percent:0,rate:50},"net_receipts",0),todayStat:{final_fee:0,store_final_fee:0,total_success_order:0,total_scan:0,total_pay:0,percent_success:0}},(0,l.default)(t,"member_total",0),(0,l.default)(t,"paytypes",[]),(0,l.default)(t,"goods_records",[]),(0,l.default)(t,"channels",[]),(0,l.default)(t,"statcenter_title","营业额"),(0,l.default)(t,"statcenter_type","total_fee"),(0,l.default)(t,"investChartData",{}),(0,l.default)(t,"investOpts",{dataPointShape:!1,color:["#4B98FE","#00D05E","#FFAC00","#FB6A67","#957BFE","#00B9FE","#FE871B","#00C8B0","#F674D6"],padding:[15,15,0,15],dataLabel:!0,enableScroll:!0,xAxis:{disableGrid:!0,boundaryGap:"center",scrollShow:!0,itemCount:5},yAxis:{gridColor:"rgba(230,230,230,0.6)",disabled:!1,disableGrid:!1,gridType:"dash",dashLength:"4",data:[{axisLineColor:"#FFFFFF"}]},legend:{show:!1,position:"top",float:"right"},extra:{area:{type:"curve",opacity:.9,addLine:!0,width:2,gradient:!0}}}),(0,l.default)(t,"flowChartData",{}),(0,l.default)(t,"flowOpts",{color:["#4B98FE","#00D05E","#FFAC00","#FB6A67","#957BFE","#00B9FE","#FE871B","#00C8B0","#F674D6"],padding:[15,15,0,15],dataLabel:!0,xAxis:{disableGrid:!0,splitNumber:4,max:50},yAxis:{gridColor:"rgba(230,230,230,0.6)",disabled:!1,disableGrid:!1,gridType:"dash",dashLength:"4",data:[{axisLineColor:"#FFFFFF",max:150}]},legend:{show:!0,position:"top",float:"right"},extra:{bubble:{border:.4,opacity:.5}}}),(0,l.default)(t,"customerChartData",{}),(0,l.default)(t,"customerOpts",{color:["#4B98FE","#FB6A67"],padding:[5,5,5,5],dataLabel:!0,legend:{show:!0,position:"right",lineHeight:25,fontSize:12,itemGap:12},extra:{pie:{activeOpacity:.9,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}}),(0,l.default)(t,"goodsDisplayMode","table"),(0,l.default)(t,"goodsChartOpts",{dataPointShape:!1,color:["#4B98FE","#00D05E","#FFAC00","#FB6A67","#957BFE","#00B9FE","#FE871B","#00C8B0","#F674D6"],padding:[15,15,0,15],dataLabel:!0,enableScroll:!0,xAxis:{disableGrid:!0,boundaryGap:"center",scrollShow:!0,itemCount:5},yAxis:{gridColor:"rgba(230,230,230,0.6)",disabled:!1,disableGrid:!1,gridType:"dash",dashLength:"4",data:[{axisLineColor:"#FFFFFF"}]},legend:{show:!1,position:"top",float:"right"},extra:{area:{type:"curve",opacity:.9,addLine:!0,width:2,gradient:!0}}}),(0,l.default)(t,"goodsChartData",{}),(0,l.default)(t,"channelDisplayMode","chart"),t},computed:{tableStyle:function(){return{"--min-width":this.contentWidth/2+"px","--min-height":this.min+"px","--max-height":this.max+"px","--title-width":this.titleWidth/2+"px"}},filteredPaytypes:function(){var t=this;return this.paytypes.filter((function(e){var a=t.tableColumned.some((function(a,i){var n=t.getPaymentValue(e,a.id,i);return 0!==parseFloat(n)}));return a}))},filteredTableColumned:function(){var t=this;return this.tableColumned.filter((function(e,a){var i=t.filteredPaytypes.some((function(i){var n=t.getPaymentValue(i,e.id,a);return 0!==parseFloat(n)}));return i}))},filteredCommodityStatistics:function(){return this.CommodityStatistics.slice(0,10)},filteredGoodsRecords:function(){return this.goods_records?this.goods_records.slice(0,10):[]},filteredChannelStatistics:function(){return this.channelStatistics.slice(0,10)},filteredChannelColumns:function(){return this.channelStatistics.filter((function(t,e){return e>0}))},filteredChannels:function(){var t=this;return this.channels?this.channels.filter((function(e){return t.filteredChannelColumns.some((function(t){var a=parseFloat(e[t.id])||0;return 0!==a}))})).slice(0,10):[]},hasOverviewData:function(){return this.investChartData&&this.investChartData.series&&this.investChartData.series.length>0&&this.investChartData.series[0].data&&this.investChartData.series[0].data.some((function(t){return parseFloat(t)>0}))},hasChannelData:function(){return this.flowChartData&&this.flowChartData.series&&this.flowChartData.series.length>0},hasCustomerData:function(){return this.statm&&(parseFloat(this.statm.total_success_new)>0||parseFloat(this.statm.total_success_old)>0)}},onShow:function(){this.datePicker.start=this.formatDate("start"),this.datePicker.end=this.formatDate("end"),this.onRibao(0)},onPullDownRefresh:function(){this.getList(),uni.stopPullDownRefresh()},methods:{getList:function(){var t=this;return(0,o.default)((0,s.default)().mark((function e(){var a,i,n;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t,i=t.util.getStorageSync("__sid"),e.prev=2,e.next=5,c.default.statcenterHome({days:a.days,stat_day:a.datePicker,sid:i});case 5:n=e.sent,n&&(console.log("============ 数据概览统计 ============"),console.log("原始统计数据:",n.data),a.member_total=n.data.member_total,a.paytypes=n.data.paytypes,a.goods_records=n.data.goods_records,a.order_records=n.data.order_records,a.stat=n.data.stat,a.statm=n.data.statm,t.updateCustomerChart(),t.generateGoodsChartData(),t.getLineChartData(),t.getBubbleChartData()),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](2),console.error("获取数据概览失败:",e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))()},getLineChartData:function(){var t=this,e=this,a=this.util.getStorageSync("__sid");c.default.getLineChartData({days:e.days,stat_day:e.datePicker,statcenter_type:e.statcenter_type,sid:a}).then((function(a){var i=a.data,n={categories:i.dates,series:[{name:e.statcenter_title,data:i.data,legendShape:"circle",linearColor:[[0,"#FFAC00"],[.25,"#FE871B"],[.5,"#FB6A67"],[.75,"#F674D6"],[1,"#957BFE"]]}]};t.investChartData=JSON.parse(JSON.stringify(n))}))},getBubbleChartData:function(){var t=this,e=this.util.getStorageSync("__sid");c.default.getBubbleChartData({days:this.days,stat_day:this.datePicker,sid:e}).then((function(e){var a=e.data;console.log("============ 渠道统计数据分析 ============"),console.log("原始数据:",a),console.log("数据概览统计值:",t.stat),a.channels&&a.channels.length>0?(console.log("第一条渠道记录:",a.channels[0]),t.channels=a.channels.map((function(t){return(0,n.default)((0,n.default)({},t),{},{order_channel:t.order_channel||"未知渠道",total_fee:void 0!==t.total_fee?t.total_fee:0,orders_num:void 0!==t.orders_num?t.orders_num:0})}))):(console.warn("没有找到渠道数据"),t.channels=[]),t.compareStatData();var i={series:a.chartData};t.flowOpts.xAxis.max=a.bubbleOpts.xMax,t.flowOpts.yAxis.data[0].max=a.bubbleOpts.yMax,t.flowChartData=JSON.parse(JSON.stringify(i))})).catch((function(t){console.error("获取渠道统计数据出错:",t)}))},onOverView:function(t,e){this.statcenter_title=e,this.statcenter_type=t,this.getLineChartData()},handleStartDateChange:function(t){this.datePicker.start=t.date,this.checkDateOrder()},handleEndDateChange:function(t){this.datePicker.end=t.date,this.checkDateOrder()},checkDateOrder:function(){this.datePicker.end<this.datePicker.start&&this.swapDates(),console.log("自定义时间范围确认: ".concat(this.datePicker.start," 至 ").concat(this.datePicker.end)),this.getList()},swapDates:function(){var t=this.datePicker.start;this.datePicker.start=this.datePicker.end,this.datePicker.end=t,r.default.$toast("结束时间早于开始时间,已自动交换。","",1e3)},onRibao:function(t){var e,a=new Date,i=this.formatDate(a);switch(t){case 0:e=this.formatDate(new Date(a.getTime()));break;case 7:e=this.formatDate(new Date(a.getTime()-6048e5));break;case 30:e=this.formatDate(new Date(a.getTime()-2592e6));break;default:e=i}console.log("切换到".concat(0===t?"日报":7===t?"周报":30===t?"月报":"自定义","模式")),console.log("时间范围: ".concat(e," 至 ").concat(i)),this.days=t,this.datePicker.start=e,this.datePicker.end=i,this.getList()},getstatisticinfo:function(t){var e=this;r.default.request({url:"manage/statcenter/statisticcount",data:{days:this.days,stat_day:this.datePicker}}).then((function(t){e.goods_records=t.goods_records,e.order_records=t.order_records,e.stat=t.stat,e.member_total=t.member_total}))},formatDate:function(t){var e=new Date(t),a=e.getFullYear(),i=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0");return"".concat(a,"-").concat(i,"-").concat(n)},handleNavBack:function(){uni.navigateBack({delta:1})},getPaymentValue:function(t,e,a){var i=t[e]||t.total_fee||"";if("string"===typeof i&&i.includes("/")){var n=i.split("/");return n[a]||"0"}return 0===a&&i||"0"},getRowTotal:function(t,e){var a=this,i=this.tableColumned.findIndex((function(e){return e.id===t})),n=0;return this.filteredPaytypes.forEach((function(e){var s=a.getPaymentValue(e,t,i),o=parseFloat(s)||0;n+=o})),n.toFixed(2)},updateCustomerChart:function(){var t={series:[{name:"新客户",data:this.statm.total_success_new||0,format:"新客户:{value} 人 ({percent}%)"},{name:"老客户",data:this.statm.total_success_old||0,format:"老客户:{value} 人 ({percent}%)"}]};this.customerChartData=JSON.parse(JSON.stringify(t))},compareStatData:function(){if(this.channels&&this.stat){var t=0,e=0;this.channels.forEach((function(a){t+=parseFloat(a.total_fee)||0,e+=parseInt(a.orders_num)||0})),console.log("============ 数据对比分析 ============"),console.log("渠道销售额合计: ".concat(t.toFixed(2))),console.log("概览销售额: ".concat(this.stat.total_fee)),console.log("渠道订单数合计: ".concat(e)),console.log("概览订单数: ".concat(this.stat.total_success_order));var a=Math.abs(t-parseFloat(this.stat.total_fee||0)),i=Math.abs(e-parseInt(this.stat.total_success_order||0));console.log("销售额差异: ".concat(a.toFixed(2))),console.log("订单数差异: ".concat(i)),(a>1||i>1)&&(console.warn("⚠️ 渠道统计与概览数据存在明显差异,可能原因:"),console.warn("1. API返回的渠道数据不完整,只包含部分渠道"),console.warn("2. getBubbleChartData接口与statcenterHome接口数据来源不同"),console.warn("3. 统计逻辑计算方式不同"),console.warn("4. 日期范围过滤有问题"))}},switchGoodsDisplayMode:function(t){this.goodsDisplayMode=t,"chart"===t&&this.generateGoodsChartData()},generateGoodsChartData:function(){if(this.goods_records&&0!==this.goods_records.length){var t=this.filteredGoodsRecords,e=t.map((function(t){return t.goods_title?t.goods_title.length>6?t.goods_title.substring(0,6)+"...":t.goods_title:"未知商品"})),a=t.map((function(t){return parseFloat(t.total_goods_num)||0})),i=t.map((function(t){return parseFloat(t.total_goods_price)||0}));this.goodsChartData={categories:e,series:[{name:"销量",data:a,format:"销量: {value}"},{name:"销售额",data:i,format:"销售额: {value}"}]},this.goodsChartOpts=(0,n.default)((0,n.default)({},this.goodsChartOpts),{},{color:["#4B98FE","#FB6A67"],padding:[15,15,0,15],dataLabel:!1,yAxis:{data:[{calibration:!0,axisLine:!0,axisLineColor:"#cccccc",format:"value"}]},xAxis:{disabled:!1,disableGrid:!0,boundaryGap:!0,scrollShow:!0,itemCount:5,axisLine:!0,axisLineColor:"#cccccc"},extra:{bar:{width:30,meterBorder:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08,barBorderRadius:[5,5,5,5]}}})}else this.goodsChartData={}},switchChannelDisplayMode:function(t){this.channelDisplayMode=t,"chart"===t&&this.getBubbleChartData()}}};e.default=d},4315:function(t,e,a){"use strict";a.r(e);var i=a("d322"),n=a("c498");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("be5f");var o=a("828b"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"55f712c0",null,!1,i["a"],void 0);e["default"]=l.exports},"5a78":function(t,e,a){"use strict";a.r(e);var i=a("6088"),n=a("ff33");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("d346");var o=a("828b"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"1cf18b62",null,!1,i["a"],void 0);e["default"]=l.exports},6088:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.visibleSync?a("v-uni-view",{staticClass:"tn-popup-class tn-popup",style:[t.customStyle,t.popupStyle,{zIndex:t.elZIndex-1}],attrs:{"hover-stop-propagation":!0}},[a("v-uni-view",{staticClass:"tn-popup__mask",class:[{"tn-popup__mask--show":t.showPopup&&t.mask}],style:{zIndex:t.elZIndex-2},attrs:{"hover-stop-propagation":!0},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),function(){}.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.maskClick.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"tn-popup__content",class:["center"!==t.mode?t.backgroundColorClass:"",t.safeAreaInsetBottom?"tn-safe-area-inset-bottom":"","tn-popup--"+t.mode,t.showPopup?"tn-popup__content--visible":"",t.zoom&&"center"===t.mode?"tn-popup__content__center--animation-zoom":""],style:[t.contentStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:[function(e){arguments[0]=e=t.$handleEvent(e),t.modeCenterClose.apply(void 0,arguments)},function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}]}},["center"===t.mode?a("v-uni-view",{staticClass:"tn-popup__content__center_box",class:[t.backgroundColorClass],style:[t.centerStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[t.closeBtn?a("v-uni-view",{staticClass:"tn-popup__close",class:["tn-icon-"+t.closeBtnIcon,"tn-popup__close--"+t.closeBtnPosition],style:[t.closeBtnStyle,{zIndex:t.elZIndex}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),a("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view",attrs:{"scroll-y":!0}},[t._t("default")],2)],1):a("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view",attrs:{"scroll-y":!0}},[t._t("default")],2),"center"!==t.mode&&t.closeBtn?a("v-uni-view",{staticClass:"tn-popup__close",class:["tn-popup__close--"+t.closeBtnPosition],style:{zIndex:t.elZIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[a("v-uni-view",{class:["tn-icon-"+t.closeBtnIcon],style:[t.closeBtnStyle]})],1):t._e()],1)],1):t._e()},n=[]},"6d81":function(t,e,a){var i=a("253d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("66541396",i,!0,{sourceMap:!1,shadowMode:!1})},8888:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa"),a("c223");var n=i(a("7caa")),s={mixins:[n.default],name:"tn-popup",props:{value:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},width:{type:String,default:""},height:{type:String,default:""},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseable:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){return{}}},borderRadius:{type:Number,default:0},zIndex:{type:Number,default:0},closeBtn:{type:Boolean,default:!1},closeBtnIcon:{type:String,default:"close"},closeBtnPosition:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#AAAAAA"},closeIconSize:{type:Number,default:30},negativeTop:{type:Number,default:0},marginTop:{type:Number,default:0},popup:{type:Boolean,default:!0}},computed:{popupStyle:function(){var t={};return"top"!==this.mode&&"left"!==this.mode&&"right"!==this.mode||!this.marginTop||(t.marginTop=this.$t.string.getLengthUnitValue(this.marginTop,"px")),t},contentStyle:function(){var t={};if("left"===this.mode||"right"===this.mode?t={width:this.width?this.$t.string.getLengthUnitValue(this.width):this.$t.string.getLengthUnitValue(this.length),height:"100%",transform:"translate3D(".concat("left"===this.mode?"-100%":"100%",", 0px, 0px)")}:"top"!==this.mode&&"bottom"!==this.mode||(t={width:"100%",height:this.height?this.$t.string.getLengthUnitValue(this.height):this.$t.string.getLengthUnitValue(this.length),transform:"translate3D(0px, ".concat("top"===this.mode?"-100%":"100%",", 0px)")}),t.zIndex=this.elZIndex,this.borderRadius){switch(this.mode){case"left":t.borderRadius="0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0");break;case"top":t.borderRadius="0 0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx");break;case"right":t.borderRadius="".concat(this.borderRadius,"rpx 0 0 ").concat(this.borderRadius,"rpx");break;case"bottom":t.borderRadius="".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0 0");break}t.overflow="hidden"}return this.backgroundColorStyle&&"center"!==this.mode&&(t.backgroundColor=this.backgroundColorStyle),t},centerStyle:function(){var t={};return t.width=this.width?this.$t.string.getLengthUnitValue(this.width):this.$t.string.getLengthUnitValue(this.length),t.height=this.height?this.$t.string.getLengthUnitValue(this.height):"auto",t.zIndex=this.elZIndex,this.negativeTop&&(t.marginTop="-".concat(this.$t.string.getLengthUnitValue(this.negativeTop))),this.borderRadius&&(t.borderRadius="".concat(this.borderRadius,"rpx"),t.overflow="hidden"),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),t},closeBtnStyle:function(){var t={};return this.closeIconColor&&(t.color=this.closeIconColor),this.closeIconSize&&(t.fontSize=this.closeIconSize+"rpx"),t},elZIndex:function(){return this.zIndex?this.zIndex:this.$t.zIndex.popup}},data:function(){return{timer:null,visibleSync:!1,showPopup:!1,closeFromInner:!1}},watch:{value:function(t){if(t){if(this.visibleSync)return void(this.visibleSync=!1);this.open()}else this.closeFromInner||this.close();this.closeFromInner=!1}},mounted:function(){this.value&&this.open()},methods:{maskClick:function(){this.maskCloseable&&this.close()},open:function(){this.change("visibleSync","showPopup",!0)},close:function(){this.closeFromInner=!0,this.change("showPopup","visibleSync",!1)},modeCenterClose:function(){"center"==this.mode&&this.maskCloseable&&this.close()},change:function(t,e,a){var i=this;!0===this.popup&&this.$emit("input",a),this[t]=a,this.timer=a?setTimeout((function(){i[e]=a,i.$emit(a?"open":"close"),clearTimeout(i.timer)}),10):setTimeout((function(){i[e]=a,i.$emit(a?"open":"close"),clearTimeout(i.timer)}),250)}}};e.default=s},b992:function(t,e,a){var i=a("f9bb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("d1d99176",i,!0,{sourceMap:!1,shadowMode:!1})},be5f:function(t,e,a){"use strict";var i=a("b992"),n=a.n(i);n.a},c249:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getBubbleChartData=l,e.getLineChartData=o,e.statcenterHome=s;var n=i(a("5b42"));function s(t){return n.default.get("api/manage.statistic.count/info",{params:t})}function o(t){return n.default.get("api/manage.statistic.count/getLineChartData",{params:t})}function l(t){return n.default.get("api/manage.statistic.count/getBubbleChartData",{params:t})}var c={statcenterHome:s,getBubbleChartData:l,getLineChartData:o};e.default=c},c498:function(t,e,a){"use strict";a.r(e);var i=a("394b"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},d322:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={tnNavBar:a("3703").default,tnCalendar:a("69ca").default,qiunDataCharts:a("cf9e").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{attrs:{id:"crilord"}},[a("v-uni-view",{staticClass:"bg_color"}),a("v-uni-view",{staticClass:"bg_header"},[a("tn-nav-bar",{staticClass:"nav_bar",staticStyle:{color:"#FFFFFF"},attrs:{fixed:!0,beforeBack:t.handleNavBack,backTitle:"",alpha:!0}},[t._v("经营数据")]),a("v-uni-view",{staticClass:"date"},[a("v-uni-view",{staticClass:"date_item",class:{time_active:0==t.days},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRibao(0)}}},[t._v("日报")]),a("v-uni-view",{staticClass:"date_item",class:{time_active:7==t.days},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRibao(7)}}},[t._v("周报")]),a("v-uni-view",{staticClass:"date_item",class:{time_active:30==t.days},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRibao(30)}}},[t._v("月报")]),a("v-uni-view",{staticClass:"date_item",class:{time_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:"time"},[a("tn-calendar",{attrs:{mode:"date"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleStartDateChange.apply(void 0,arguments)}},model:{value:t.calenderStartShow,callback:function(e){t.calenderStartShow=e},expression:"calenderStartShow"}}),a("v-uni-view",{staticClass:"time_left",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.calenderStartShow=!0}}},[t._v(t._s(t.datePicker.start))]),a("v-uni-text",{staticClass:"time_center"},[t._v("——")]),a("tn-calendar",{attrs:{mode:"date"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleEndDateChange.apply(void 0,arguments)}},model:{value:t.calenderEndShow,callback:function(e){t.calenderEndShow=e},expression:"calenderEndShow"}}),a("v-uni-view",{staticClass:"time_right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.calenderEndShow=!0}}},[t._v(t._s(t.datePicker.end))])],1):t._e(),-1!==t.days?a("v-uni-view",{staticClass:"time"},[a("v-uni-view",{staticClass:"time_left"},[t._v(t._s(t.datePicker.start))]),a("v-uni-text",{staticClass:"time_center"},[t._v("——")]),a("v-uni-view",{staticClass:"time_right"},[t._v(t._s(t.datePicker.end))])],1):t._e()],1),a("v-uni-view",{staticClass:"bg_content"}),a("v-uni-view",{staticClass:"big"},[a("v-uni-view",{staticClass:"bigBox tn-margin-top"},[a("v-uni-view",{staticClass:"title"},[t._v("数据概览")]),a("v-uni-view",{staticClass:"dataOverView"},[a("v-uni-view",{staticClass:"dataItem",style:{backgroundColor:"total_fee"==t.statcenter_type?"#D9F0FF":"#F7F7F7"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOverView("total_fee","营业额")}}},[a("v-uni-view",{staticClass:"dataItem_title"},[t._v("营业额")]),a("v-uni-view",{staticClass:"dataItem_price"},[t._v(t._s(t.stat.total_fee))])],1),a("v-uni-view",{staticClass:"dataItem",style:{backgroundColor:"net_receipts"==t.statcenter_type?"#D9F0FF":"#F7F7F7"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOverView("net_receipts","实际收入")}}},[a("v-uni-view",{staticClass:"dataItem_title"},[t._v("实际收入")]),a("v-uni-view",{staticClass:"dataItem_price"},[t._v(t._s(t.stat.net_receipts))])],1),a("v-uni-view",{staticClass:"dataItem",style:{backgroundColor:"total_success_order"==t.statcenter_type?"#D9F0FF":"#F7F7F7"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOverView("total_success_order","交易笔数")}}},[a("v-uni-view",{staticClass:"dataItem_title"},[t._v("交易笔数(笔)")]),a("v-uni-view",{staticClass:"dataItem_price"},[t._v(t._s(t.stat.total_success_order))])],1),a("v-uni-view",{staticClass:"dataItem",style:{backgroundColor:"member_total"==t.statcenter_type?"#D9F0FF":"#F7F7F7"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOverView("member_total","顾客数")}}},[a("v-uni-view",{staticClass:"dataItem_title"},[t._v("顾客数(人)")]),a("v-uni-view",{staticClass:"dataItem_price"},[t._v(t._s(t.member_total))])],1),a("v-uni-view",{staticClass:"dataItem",style:{backgroundColor:"avg_pre_order"==t.statcenter_type?"#D9F0FF":"#F7F7F7"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOverView("avg_pre_order","笔均价")}}},[a("v-uni-view",{staticClass:"dataItem_title"},[t._v("笔均价")]),a("v-uni-view",{staticClass:"dataItem_price"},[t._v(t._s(t.stat.avg_pre_order))])],1)],1),a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.statcenter_title))]),a("v-uni-view",{staticClass:"tn-padding-top-xl tn-padding-bottom-xl"},[t.hasOverviewData?a("v-uni-view",{staticStyle:{"min-height":"500rpx"}},[a("qiun-data-charts",{attrs:{canvas2d:!0,type:"area",opts:t.investOpts,ontouch:!0,inScrollView:!0,chartData:t.investChartData}})],1):a("v-uni-view",{staticClass:"empty-data"},[a("v-uni-view",{staticClass:"empty-icon"},[a("v-uni-text",{staticClass:"tn-icon-info"})],1),a("v-uni-text",{staticClass:"empty-text"},[t._v("暂无数据")])],1)],1)],1),a("v-uni-view",{staticClass:"bigBox payment-method-box"},[a("v-uni-view",{staticClass:"title payment-title"},[a("v-uni-text",{staticClass:"title-text"},[t._v("营业明细")]),a("v-uni-view",{staticClass:"title-line"})],1),a("v-uni-view",{staticClass:"subitlesx"},[t.order_records&&0!==t.order_records.length?a("v-uni-scroll-view",{attrs:{"scroll-x":!0,"scroll-y":!0}},[a("v-uni-view",{staticClass:"table payment-table",style:t.tableStyle},[a("v-uni-view",{staticClass:"table-header"},[a("v-uni-view",{staticClass:"title-cell",staticStyle:{width:"144px"}},[a("v-uni-view",{staticClass:"row"},[t._v("时间")])],1),t._l(t.timeSS,(function(e){return a("v-uni-view",{key:e.id,staticClass:"content-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.name))])],1)}))],2),a("v-uni-view",{staticClass:"table-content",style:t.tableStyle},t._l(t.order_records,(function(e,i){return a("v-uni-view",{key:e.id,staticClass:"table-content__item",style:{backgroundColor:i%2==0?"":"#F7F7F7"}},[a("v-uni-view",{staticClass:"title-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.stat_day))])],1),t._l(t.timeSS,(function(i){return a("v-uni-view",{key:i.id,staticClass:"content-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e[i.id]))])],1)}))],2)})),1)],1)],1):a("v-uni-view",{staticClass:"empty-data"},[a("v-uni-view",{staticClass:"empty-icon"},[a("v-uni-text",{staticClass:"tn-icon-info"})],1),a("v-uni-text",{staticClass:"empty-text"},[t._v("暂无数据")])],1)],1)],1),a("v-uni-view",{staticClass:"bigBox payment-method-box"},[a("v-uni-view",{staticClass:"title payment-title"},[a("v-uni-text",{staticClass:"title-text"},[t._v("渠道统计")]),a("v-uni-view",{staticClass:"chart-toggle"},[a("v-uni-view",{staticClass:"toggle-item",class:{active:"table"===t.channelDisplayMode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchChannelDisplayMode("table")}}},[a("v-uni-text",{staticClass:"tn-icon-data-list"}),a("v-uni-text",{staticClass:"toggle-text",staticStyle:{"margin-left":"-20rpx"}},[t._v("数据")])],1),a("v-uni-view",{staticClass:"toggle-item",class:{active:"chart"===t.channelDisplayMode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchChannelDisplayMode("chart")}}},[a("v-uni-text",{staticClass:"tn-icon-chart-bar"}),a("v-uni-text",{staticClass:"toggle-text",staticStyle:{"margin-left":"-20rpx"}},[t._v("图表")])],1)],1),a("v-uni-view",{staticClass:"title-line"})],1),"chart"===t.channelDisplayMode?a("v-uni-view",{staticClass:"tn-padding-top-xl tn-padding-bottom-xl"},[t.hasChannelData?a("v-uni-view",{staticStyle:{"min-height":"500rpx"}},[a("qiun-data-charts",{attrs:{canvas2d:!0,type:"bubble",opts:t.flowOpts,chartData:t.flowChartData}})],1):a("v-uni-view",{staticClass:"empty-data"},[a("v-uni-view",{staticClass:"empty-icon"},[a("v-uni-text",{staticClass:"tn-icon-info"})],1),a("v-uni-text",{staticClass:"empty-text"},[t._v("暂无数据")])],1)],1):a("v-uni-view",{staticClass:"subitlesx tn-margin-top-xs"},[t.filteredChannels&&0!==t.filteredChannels.length?a("v-uni-scroll-view",{attrs:{"scroll-x":!0,"scroll-y":!0}},[a("v-uni-view",{staticClass:"table payment-table",style:t.tableStyle},[a("v-uni-view",{staticClass:"table-header"},[a("v-uni-view",{staticClass:"title-cell",staticStyle:{width:"112px"}},[a("v-uni-view",{staticClass:"row"},[t._v("渠道")])],1),t._l(t.filteredChannelColumns,(function(e){return a("v-uni-view",{key:e.id,staticClass:"content-cell",class:{"total-column":"total_fee"===e.id}},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.name))])],1)}))],2),a("v-uni-view",{staticClass:"table-content",style:t.tableStyle},t._l(t.filteredChannels,(function(e,i){return a("v-uni-view",{key:e.id,staticClass:"table-content__item",style:{backgroundColor:i%2==0?"":"#F7F7F7"}},[a("v-uni-view",{staticClass:"title-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.order_channel))])],1),t._l(t.filteredChannelColumns,(function(i){return a("v-uni-view",{key:i.id,staticClass:"content-cell"},[a("v-uni-view",{staticClass:"cell",class:{"total-value":"total_fee"===i.id}},[t._v(t._s(e[i.id]))])],1)}))],2)})),1)],1)],1):a("v-uni-view",{staticClass:"empty-data"},[a("v-uni-view",{staticClass:"empty-icon"},[a("v-uni-text",{staticClass:"tn-icon-info"})],1),a("v-uni-text",{staticClass:"empty-text"},[t._v("暂无数据")])],1)],1)],1),a("v-uni-view",{staticClass:"bigBox payment-method-box"},[a("v-uni-view",{staticClass:"title payment-title"},[a("v-uni-text",{staticClass:"title-text"},[t._v("热门商品统计")]),a("v-uni-view",{staticClass:"chart-toggle"},[a("v-uni-view",{staticClass:"toggle-item",class:{active:"table"===t.goodsDisplayMode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchGoodsDisplayMode("table")}}},[a("v-uni-text",{staticClass:"tn-icon-data-list"}),a("v-uni-text",{staticClass:"toggle-text",staticStyle:{"margin-left":"-20rpx"}},[t._v("数据")])],1),a("v-uni-view",{staticClass:"toggle-item",class:{active:"chart"===t.goodsDisplayMode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchGoodsDisplayMode("chart")}}},[a("v-uni-text",{staticClass:"tn-icon-chart-bar"}),a("v-uni-text",{staticClass:"toggle-text",staticStyle:{"margin-left":"-20rpx"}},[t._v("图表")])],1)],1),a("v-uni-view",{staticClass:"title-line"})],1),"chart"===t.goodsDisplayMode?a("v-uni-view",{staticClass:"tn-padding-top-xl tn-padding-bottom-xl"},[a("v-uni-view",{staticStyle:{"min-height":"500rpx"}},[a("qiun-data-charts",{attrs:{canvas2d:!0,type:"bar",opts:t.goodsChartOpts,chartData:t.goodsChartData,"canvas-id":"goods-bar-chart"}})],1)],1):a("v-uni-view",{staticClass:"subitlesx"},[t.goods_records&&0!==t.goods_records.length?a("v-uni-scroll-view",{attrs:{"scroll-x":!0,"scroll-y":!0}},[a("v-uni-view",{staticClass:"table payment-table",style:t.tableStyle},[a("v-uni-view",{staticClass:"table-header"},[a("v-uni-view",{staticClass:"title-cell",staticStyle:{width:"112px"}},[a("v-uni-view",{staticClass:"row"},[t._v("排名")])],1),t._l(t.filteredCommodityStatistics,(function(e){return a("v-uni-view",{key:e.id,staticClass:"content-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.name))])],1)}))],2),a("v-uni-view",{staticClass:"table-content",style:t.tableStyle},t._l(t.filteredGoodsRecords,(function(e,i){return a("v-uni-view",{key:e.id,staticClass:"table-content__item",style:{backgroundColor:i%2==0?"":"#F7F7F7"}},[a("v-uni-view",{staticClass:"title-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.goods_id))])],1),t._l(t.filteredCommodityStatistics,(function(i){return a("v-uni-view",{key:i.id,staticClass:"content-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e[i.id]))])],1)}))],2)})),1)],1)],1):a("v-uni-view",{staticClass:"empty-data"},[a("v-uni-view",{staticClass:"empty-icon"},[a("v-uni-text",{staticClass:"tn-icon-info"})],1),a("v-uni-text",{staticClass:"empty-text"},[t._v("暂无数据")])],1)],1)],1),a("v-uni-view",{staticClass:"bigBox payment-method-box"},[a("v-uni-view",{staticClass:"title payment-title"},[a("v-uni-text",{staticClass:"title-text"},[t._v("收款方式")])],1),a("v-uni-view",{staticClass:"subitlesx",staticStyle:{"font-size":"22rpx"}},[0===t.filteredPaytypes.length||0===t.filteredTableColumned.length?a("v-uni-view",{staticClass:"empty-data"},[a("v-uni-view",{staticClass:"empty-icon"},[a("v-uni-text",{staticClass:"tn-icon-info"})],1),a("v-uni-text",{staticClass:"empty-text"},[t._v("暂无数据")])],1):a("v-uni-scroll-view",{attrs:{"scroll-x":!0,"scroll-y":!0}},[a("v-uni-view",{staticClass:"table payment-table",style:t.tableStyle},[a("v-uni-view",{staticClass:"table-header"},[a("v-uni-view",{staticClass:"title-cell"},[a("v-uni-view",{staticClass:"row"},[t._v("渠道/支付方式")])],1),a("v-uni-view",{staticClass:"content-cell total-column"},[a("v-uni-view",{staticClass:"cell"},[t._v("总额")])],1),t._l(t.filteredPaytypes,(function(e){return a("v-uni-view",{key:e.id,staticClass:"content-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.type))])],1)}))],2),a("v-uni-view",{staticClass:"table-content",style:t.tableStyle},t._l(t.filteredTableColumned,(function(e,i){return a("v-uni-view",{key:e.id,staticClass:"table-content__item",style:{backgroundColor:i%2==0?"":"#F7F7F7"}},[a("v-uni-view",{staticClass:"title-cell"},[a("v-uni-view",{staticClass:"cell"},[t._v(t._s(e.name))])],1),a("v-uni-view",{staticClass:"content-cell total-column"},[a("v-uni-view",{staticClass:"cell total-value"},[t._v(t._s(t.getRowTotal(e.id,i)))])],1),t._l(t.filteredPaytypes,(function(n){return a("v-uni-view",{key:n.id,staticClass:"content-cell"},[a("v-uni-view",{staticClass:"cell payment-value"},[t._v(t._s(t.getPaymentValue(n,e.id,i)))])],1)}))],2)})),1)],1)],1)],1)],1),a("v-uni-view",{staticClass:"bigBox payment-method-box"},[a("v-uni-view",{staticClass:"title payment-title"},[a("v-uni-text",{staticClass:"title-text"},[t._v("新老顾客统计")]),a("v-uni-view",{staticClass:"title-line"})],1),a("v-uni-view",{staticClass:"customer-analysis"},[t.hasCustomerData?a("v-uni-view",{staticClass:"chart-container"},[a("qiun-data-charts",{attrs:{type:"pie",opts:t.customerOpts,chartData:t.customerChartData,canvas2d:!0,canvasId:"customer-pie-chart"}})],1):a("v-uni-view",{staticClass:"empty-data"},[a("v-uni-view",{staticClass:"empty-icon"},[a("v-uni-text",{staticClass:"tn-icon-info"})],1),a("v-uni-text",{staticClass:"empty-text"},[t._v("暂无数据")])],1),a("v-uni-view",{staticClass:"customer-summary"},[a("v-uni-view",{staticClass:"summary-item"},[a("v-uni-view",{staticClass:"summary-title"},[t._v("客户总数")]),a("v-uni-view",{staticClass:"summary-value"},[t._v(t._s(t.statm.total_success||0))])],1),a("v-uni-view",{staticClass:"summary-item new-customer"},[a("v-uni-view",{staticClass:"summary-title"},[t._v("新客户")]),a("v-uni-view",{staticClass:"summary-value"},[t._v(t._s(t.statm.total_success_new||0))]),a("v-uni-view",{staticClass:"summary-percent"},[t._v(t._s(t.statm.percent_new||0)+"%")])],1),a("v-uni-view",{staticClass:"summary-item old-customer"},[a("v-uni-view",{staticClass:"summary-title"},[t._v("老客户")]),a("v-uni-view",{staticClass:"summary-value"},[t._v(t._s(t.statm.total_success_old||0))]),a("v-uni-view",{staticClass:"summary-percent"},[t._v(t._s(t.statm.percent_old||0)+"%")])],1)],1)],1)],1)],1)],1)},s=[]},d346:function(t,e,a){"use strict";var i=a("6d81"),n=a.n(i);n.a},f9bb:function(t,e,a){var i=a("c86c");e=i(!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 */.time_active[data-v-55f712c0]{border-bottom:1px solid #fff}.overview_active[data-v-55f712c0]{background-color:red}.bg_color[data-v-55f712c0]{position:fixed;z-index:-1;height:%?600?%;width:100%;background:linear-gradient(117deg,#32baee,#3a91f8)}.bg_content[data-v-55f712c0]{width:100%;position:fixed;z-index:-1;top:%?480?%;height:100vh;background-color:#f4f4f4;background:linear-gradient(180deg,hsla(0,0%,96.9%,0),#f7f7f7 7%,#f7f7f7)}.bg_header[data-v-55f712c0]{position:fixed;z-index:1000;width:100%;background:linear-gradient(117deg,#32baee,#3999f7);background-color:rgba(50,186,238,.5)}.bg_header .navbar[data-v-55f712c0]{display:flex;margin-top:%?80?%;position:relative}.bg_header .navbar .navbar_back[data-v-55f712c0]{position:absolute;left:10px;font-size:%?48?%;color:#f5f1f1}.bg_header .navbar .navbar_title[data-v-55f712c0]{font-size:%?40?%;color:#f5f1f1;margin:0 auto}.bg_header .date[data-v-55f712c0]{width:90%;margin:auto;padding-top:50px;display:flex;justify-content:space-around}.bg_header .date .date_item[data-v-55f712c0]{height:46px;width:100px;line-height:40px;text-align:center;color:#f5f1f1;font-size:16px}.bg_header .time[data-v-55f712c0]{margin:10px 0;display:flex;justify-content:space-around;color:#f5f1f1;font-size:16px}.bg_header .time .time_left[data-v-55f712c0]{margin-left:%?50?%}.bg_header .time .time_center[data-v-55f712c0]{font-size:16px;font-weight:700}.bg_header .time .time_right[data-v-55f712c0]{margin-right:%?50?%}.subitlesx .table[data-v-55f712c0]{display:table;border-collapse:collapse\n /* 去掉栅栏 */}.subitlesx .table .table-header[data-v-55f712c0]{font-weight:700;background-color:#f7f7f7;position:-webkit-sticky;position:sticky;top:0;z-index:2}.subitlesx .table .table-header .title-cell[data-v-55f712c0]{border:0;position:relative;position:-webkit-sticky;position:sticky;left:0;z-index:1}.subitlesx .table .table-header .title-cell .row[data-v-55f712c0]{text-align:center}.subitlesx .table .table-header .content-cell[data-v-55f712c0]{text-align:center}.subitlesx .table .table-content[data-v-55f712c0]{text-align:center}.subitlesx .table .table-content__item[data-v-55f712c0]{display:table-row}.subitlesx .table .table-content__item .title-cell[data-v-55f712c0]{position:-webkit-sticky;position:sticky;left:0;z-index:1}.subitlesx .table .table-content__item .content-cell[data-v-55f712c0]{text-align:center}.subitlesx .table .title-cell[data-v-55f712c0]{display:table-cell;width:%?200?%}.subitlesx .table .content-cell[data-v-55f712c0]{display:table-cell;width:%?250?%}.subitlesx .table .cell[data-v-55f712c0]{padding:%?10?%;line-height:1.6}.subitlesx .empty-data[data-v-55f712c0]{background:rgba(245,247,250,.8);border-radius:%?12?%;box-shadow:inset 0 0 %?10?% rgba(0,0,0,.05);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:%?80?% 0;text-align:center}.subitlesx .empty-data .empty-icon[data-v-55f712c0]{color:#a0cfff!important}.subitlesx .empty-data .empty-icon .tn-icon-info[data-v-55f712c0]{font-size:%?90?%;-webkit-transform:scale(1);transform:scale(1);-webkit-animation:pulse-data-v-55f712c0 2s infinite;animation:pulse-data-v-55f712c0 2s infinite}@-webkit-keyframes pulse-data-v-55f712c0{0%{-webkit-transform:scale(.95);transform:scale(.95);opacity:.8}70%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.95);transform:scale(.95);opacity:.8}}.subitlesx .empty-data .empty-text[data-v-55f712c0]{color:#7d8998;font-size:%?30?%;letter-spacing:%?2?%;text-align:center}#crilord[data-v-55f712c0]{background-color:#fff}#crilord .example-body[data-v-55f712c0]{display:flex;flex-direction:row}#crilord .calendar-button[data-v-55f712c0]{flex:1;font-weight:700;font-size:%?32?%}#crilord .moneyzhengli[data-v-55f712c0]{width:100%;height:%?100?%;position:relative;left:0;right:0;margin:auto;display:flex;justify-content:space-between;background-color:#389df5}#crilord .moneyzhengli .money_A[data-v-55f712c0]{height:100%;text-align:center;width:25%;line-height:%?100?%;border-radius:%?50?%}#crilord .money_A.active[data-v-55f712c0]{border-bottom:1px solid #fff}#crilord .big[data-v-55f712c0]{position:absolute;width:95%;top:160px;top:130px;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%);margin:auto}#crilord .big .bigBox[data-v-55f712c0]{background-color:#fff;margin-bottom:%?30?%;border-radius:%?14?%;padding:%?10?%}#crilord .big .bigBox .dataOverView[data-v-55f712c0]{display:flex;justify-content:flex-start;flex-wrap:wrap}#crilord .big .bigBox .dataOverView .dataItem[data-v-55f712c0]{width:%?215?%;height:%?140?%;background-color:#f7f7f7;border-radius:%?15?%;margin:%?5?%}#crilord .big .bigBox .dataOverView .dataItem .dataItem_title[data-v-55f712c0]{font-size:%?24?%;color:#474343;margin-left:%?20?%;margin-top:%?20?%}#crilord .big .bigBox .dataOverView .dataItem .dataItem_price[data-v-55f712c0]{font-size:%?40?%;font-weight:700;margin-left:%?20?%;margin-top:%?10?%}#crilord .big .bigBox .dataOverView .dataItem2[data-v-55f712c0]{width:%?200?%;height:%?80?%;background-color:#f7f7f7;border-radius:%?10?%;margin:%?5?%;line-height:40px;text-align:center}#crilord .big .bigBox .dataOverView .dataItem2 .dataItem_title2[data-v-55f712c0]{font-size:%?30?%;color:#474343;font-weight:700}#crilord .big .bigBox .dataOverView .dataItem2 .dataItem_price2[data-v-55f712c0]{font-size:%?40?%;font-weight:700;margin-left:%?20?%;margin-top:%?10?%}#crilord .big .bigBox .dataOverView .text[data-v-55f712c0]{color:#515151;font-size:%?26?%}#crilord .big .bigBox .dataOverView .amount[data-v-55f712c0]{color:#000;font-size:%?50?%;font-weight:900}#crilord .big .bigBox .dataOverView .topBox[data-v-55f712c0]{padding:%?20?% 0}#crilord .big .bigBox .dataOverView .bottomBox .amount[data-v-55f712c0]{color:#000;font-size:%?34?%;font-weight:900}#crilord .big .bigBox .title[data-v-55f712c0]{font-weight:900;font-size:%?36?%;height:%?80?%;text-indent:%?18?%;line-height:%?80?%}#crilord .big .bigBox .subTitle[data-v-55f712c0]{font-size:%?34?%;color:#888}#crilord .big .bigBox .flex[data-v-55f712c0]{display:flex}#crilord .big .bigBox .flexCenter[data-v-55f712c0]{display:flex;align-items:center}#crilord .big .bigBox .flexContentCenter[data-v-55f712c0]{display:flex;justify-content:space-between;align-items:center}#crilord .big .bigBox .flexCenterCenter[data-v-55f712c0]{display:flex;justify-content:center;align-items:center;text-align:center}#crilord .big .bigBox .flexcolumn[data-v-55f712c0]{display:flex;justify-content:center;justify-content:space-between;align-items:center;flex-direction:column}.payment-method-box[data-v-55f712c0]{box-shadow:0 %?4?% %?20?% rgba(0,0,0,.08);border-radius:%?16?%!important;padding:%?20?%!important;transition:all .3s ease}.payment-method-box[data-v-55f712c0]:hover{-webkit-transform:translateY(%?-5?%);transform:translateY(%?-5?%);box-shadow:0 %?8?% %?25?% rgba(0,0,0,.1)}.payment-title[data-v-55f712c0]{display:flex;align-items:center;position:relative;justify-content:space-between}.payment-title .title-text[data-v-55f712c0]{position:relative;z-index:1;padding-right:%?20?%;background:#fff;font-weight:700}.payment-title .chart-toggle[data-v-55f712c0]{display:flex;align-items:center;margin-left:%?140?%}.payment-title .chart-toggle .toggle-item[data-v-55f712c0]{margin:0 %?10?%;padding:%?8?% %?16?%;border-radius:%?6?%;background-color:#f7f7f7;transition:all .3s ease}.payment-title .chart-toggle .toggle-item.active[data-v-55f712c0]{background-color:#3a91f8;color:#fff}.payment-title .chart-toggle .toggle-item uni-text[data-v-55f712c0]{font-size:%?28?%}.payment-table .table-header[data-v-55f712c0]{background:linear-gradient(90deg,#f0f8ff,#e6f7ff)!important;border-radius:%?12?% %?12?% 0 0;overflow:hidden}.payment-table .table-header .title-cell[data-v-55f712c0], .payment-table .table-header .content-cell[data-v-55f712c0]{font-weight:600;color:#2c3e50}.payment-table .table-header .title-cell .row[data-v-55f712c0], .payment-table .table-header .title-cell .cell[data-v-55f712c0], .payment-table .table-header .content-cell .row[data-v-55f712c0], .payment-table .table-header .content-cell .cell[data-v-55f712c0]{padding:%?18?% %?10?%!important}.payment-table .table-header .total-column[data-v-55f712c0]{background-color:rgba(50,186,238,.1)}.payment-table .table-header .total-column .cell[data-v-55f712c0]{color:#2c3e50;font-weight:700}.payment-table .table-content__item[data-v-55f712c0]{transition:background-color .3s ease}.payment-table .table-content__item[data-v-55f712c0]:hover{background-color:#f0f8ff!important}.payment-table .table-content__item .title-cell[data-v-55f712c0]{background-color:rgba(50,186,238,.05);font-weight:600;color:#2c3e50}.payment-table .table-content__item .total-column[data-v-55f712c0]{background-color:rgba(50,186,238,.05)}.payment-table .table-content__item .total-value[data-v-55f712c0]{font-weight:700;font-size:%?24?%}.payment-table .table-content__item .payment-value[data-v-55f712c0]{position:relative;transition:all .3s ease}.payment-table .table-content__item .payment-value[data-v-55f712c0]:not(:empty):not([data-value="0"]):not(:contains("0")){font-weight:600;color:#3a91f8}.empty-data[data-v-55f712c0]{background:rgba(245,247,250,.8);border-radius:%?12?%;box-shadow:inset 0 0 %?10?% rgba(0,0,0,.05);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:%?80?% 0;text-align:center}.empty-data .empty-icon[data-v-55f712c0]{color:#a0cfff!important}.empty-data .empty-icon .tn-icon-info[data-v-55f712c0]{font-size:%?90?%;-webkit-transform:scale(1);transform:scale(1);-webkit-animation:pulse-data-v-55f712c0 2s infinite;animation:pulse-data-v-55f712c0 2s infinite}@keyframes pulse-data-v-55f712c0{0%{-webkit-transform:scale(.95);transform:scale(.95);opacity:.8}70%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.95);transform:scale(.95);opacity:.8}}.empty-data .empty-text[data-v-55f712c0]{color:#7d8998;font-size:%?30?%;letter-spacing:%?2?%;text-align:center}.customer-analysis[data-v-55f712c0]{display:flex;flex-direction:column;padding:%?20?% 0}.customer-analysis .chart-container[data-v-55f712c0]{height:%?480?%;width:100%}.customer-analysis .customer-summary[data-v-55f712c0]{display:flex;justify-content:space-around;padding:%?30?% %?20?%;margin-top:%?20?%;background:rgba(245,247,250,.5);border-radius:%?12?%}.customer-analysis .customer-summary .summary-item[data-v-55f712c0]{text-align:center;padding:%?10?% %?20?%;border-radius:%?8?%;transition:all .3s}.customer-analysis .customer-summary .summary-item[data-v-55f712c0]:hover{-webkit-transform:translateY(%?-5?%);transform:translateY(%?-5?%);box-shadow:0 %?5?% %?15?% rgba(0,0,0,.08)}.customer-analysis .customer-summary .summary-item .summary-title[data-v-55f712c0]{font-size:%?26?%;color:#666;margin-bottom:%?10?%}.customer-analysis .customer-summary .summary-item .summary-value[data-v-55f712c0]{font-size:%?36?%;font-weight:700;color:#2c3e50}.customer-analysis .customer-summary .summary-item .summary-percent[data-v-55f712c0]{font-size:%?24?%;color:#999;margin-top:%?5?%}.customer-analysis .customer-summary .new-customer .summary-value[data-v-55f712c0]{color:#4b98fe}.customer-analysis .customer-summary .old-customer .summary-value[data-v-55f712c0]{color:#fb6a67}.chart-toggle[data-v-55f712c0]{display:flex;justify-content:space-around;margin-top:%?15?%;margin-bottom:%?15?%}.chart-toggle .toggle-item[data-v-55f712c0]{padding:%?6?% %?15?%;border-radius:%?6?%;background-color:#f0f0f0;cursor:pointer;display:flex;align-items:center;justify-content:center;height:%?36?%;line-height:%?36?%}.chart-toggle .toggle-item .toggle-text[data-v-55f712c0]{margin-left:%?4?%;font-size:%?20?%}.chart-toggle .toggle-item.active[data-v-55f712c0]{background-color:#3a91f8;color:#fff}',""]),t.exports=e},ff33:function(t,e,a){"use strict";a.r(e);var i=a("8888"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a}}]);
|