前端vue导出PPT幻灯片,使用pptxgen.js,超详细(赋原数据)

即上一篇文章最终代码
前端vue导出PPT,使用pptxgen.js

前端vue导出PPT,使用pptxgen.js

一个平台下有10个国家,这个是后端返回数据固定的,每一个国家下面有10个物流方式,这10个物流方式是这10个国家都有的,也就是所有物流方式去重之后也只有10个物流方式,10个国家,物流方式method0到method9最多也为10个,但也可以不是10个,也就是method0到method9以内是不固定的,它跟methodTotalCount0数量是有联系的,methodTotalCount0也是0–9之内的范围

参数说明

buyerCountryName:对应国家
comparison:是否上涨下降
method0–method9:物流方式的名称
methodTotalCount0–methodTotalCount9:物流方式对应的数量
totalCount:每个国家的总数

ppt 前端导出ppt 导出ppt pptxgenjs Pptxgen

为了方便查看逻辑代码,我把原数据放下面,temp1 就是模拟接口的数据

<!DOCTYPE html>
<html lang="zh-CN">
<head><meta charset="utf-8"><title>前端vue导出PPT,使用pptxgen.js Demo</title>
</head>
<body><h1 style="text-align: center;">请打开F12控制台查看数据</h1><div id="chart-container"></div><!--加载整个Lodash库--><script src="https://cdn.bootcdn.net/ajax/libs/lodash.js/4.17.21/lodash.js"></script><script >// import _ from 'lodash'// temp1 就是模拟接口的数据const temp1 = {// 这里的数据在下面*******
}let salechannelArr = Object.keys(temp1).map(key1 => key1) // 获取平台的总数console.log('temp1', temp1)console.log('获取平台的总数', salechannelArr)this.salechannelSumArr = salechannelArrlet salechannelItemList = [] // 存放所有平台的数据let buyerCountryList = [] // 存放所有平台对应国家的数据let result = Object.keys(temp1).slice(0, 30)console.log('result', result)result.forEach(item => {// console.log('result[item]', item, temp1[item]) // item是平台  temp1[item] 是对应平台的数据temp1[item].forEach(item1 => {item1.aSalechannel = itemitem1.buyerCountryName1 = item1.buyerCountryNamebuyerCountryList.push({ salechannel: item, buyerCountryName: item1.buyerCountryName })salechannelItemList.push(item1)})})console.log('buyerCountryList', buyerCountryList)console.log('salechannelItemList', salechannelItemList)this.salechannelItemArr = salechannelItemListlet shippingmethodArr = []let CountryArr2 = []let exportAllSalechannelList = [] //// 合计let sumArr = []for (let i = 0; i < salechannelItemList.length; i++) { // 外层循环遍历每个国家的数据const buyerCountryName = salechannelItemList[i].buyerCountryNameconst aSalechannel = salechannelItemList[i].aSalechannelfor (let j = 0; salechannelItemList[i][`method${j}`] !== undefined; j++) { // 内层循环根据method的动态数目来获取对应的内容const methodName = salechannelItemList[i][`method${j}`]const methodTotalCount = salechannelItemList[i][`methodTotalCount${j}`]shippingmethodArr.push(methodName)CountryArr2.push(buyerCountryName)exportAllSalechannelList.push({ aSalechannel, methodName: methodName, buyerCountryName, methodTotalCount })// console.log(`${buyerCountryName} - ${methodName}: ${methodTotalCount}`)}const comparison = salechannelItemList[i].comparison // 上涨xx.xx%  下降xx.xx%const totalCount = salechannelItemList[i].totalCount // 总数sumArr.push({ aSalechannel, comparison: comparison, buyerCountryName, totalCount })console.log(`国家对应的数据 ${buyerCountryName}: ${comparison}总数: ${totalCount}`)}// 先把平台里对应的国家找出来,最后在循环平台对应国家的数据this.comparisonSumArr = sumArrconsole.log('exportAllSalechannelList', exportAllSalechannelList)console.log('comparisonSumArr-是否上涨', sumArr)let dataChartAreaLine = []dataChartAreaLine.push({ name: [], labels: [], values: [] })console.log('dataChartAreaLine-ppt数据', dataChartAreaLine)let methodNameArr1 = []let methodNameArr1Set = []sumArr.forEach((item1, idx1) => {exportAllSalechannelList.forEach((item2, idx2) => {if (item1.aSalechannel == item2.aSalechannel) {methodNameArr1.push(item2.methodName)// methodNameArr1.push({ aSalechannel: item2.aSalechannel, methodName: item2.methodName })}})})methodNameArr1Set = [...new Set(methodNameArr1)]console.log('methodNameArr1', methodNameArr1, '去重的物流方式', methodNameArr1Set)let methodNameArr2 = []methodNameArr1Set.forEach((item1, idx1) => {exportAllSalechannelList.forEach((item2, idx2) => {if (item1 == item2.methodName) {// methodNameArr2.push(item2.methodName)methodNameArr2.push({ aSalechannel: item2.aSalechannel, methodName: item2.methodName })}})})console.log('methodNameArr2', methodNameArr2)// 初始化 dataChartAreaLine// 获取唯一的 aSalechannel 列表const uniqueChannels = [...new Set(exportAllSalechannelList.map(item => item.aSalechannel))]console.log('uniqueChannels', uniqueChannels)let dataChartAreaLine3 = {}salechannelArr.forEach(channel => {const channelData = exportAllSalechannelList.filter(item => item.aSalechannel === channel)const uniqueMethods = [...new Set(channelData.map(item => item.methodName))]const uniqueCountries = [...new Set(channelData.map(item => item.buyerCountryName))]const channelChartData2 = uniqueMethods.map(method => ({labels: uniqueCountries.map(country => country),name: method,values: []}))console.log('channelData01', channel, channelData, 'uniqueMethods', uniqueMethods, 'uniqueCountries', uniqueCountries, 'channelChartData2', channelChartData2)// channelData aSalechannel: 'Amazon', methodName: '线下EUB深圳新', buyerCountryName: '美国', methodTotalCount:0let dataChartAreaLine2 = []uniqueMethods.forEach(method => {let chartData = {name: method,labels: uniqueCountries.map(country => country),values: []}chartData.labels.forEach(country => {let countryData = channelData.find(item => item.methodName === method && item.buyerCountryName === country)chartData.values.push(countryData ? countryData.methodTotalCount : 0)})dataChartAreaLine2.push(chartData)})console.log('dataChartAreaLine2', dataChartAreaLine2)dataChartAreaLine3[channel] = dataChartAreaLine2})// dataChartAreaLine3就是ppt最后的下载数据了,由于HTML中没有在线cdn的引用pptxgenjs,你需要通过node去下载安装console.log('最终传给ppt生成的数据', dataChartAreaLine3)// this.exportPPT(startDate, endDate)  这块你在项目中可以打开运行
// ****************************************需要通过node去下载安装调试,代码已经有现成的***********************************************************************************// import Pptxgen from 'pptxgenjs'// this.$cloneDeep是下载的lodashjs绑定到vue原型的,也可以不用function exportPPT(startDate='2023.12.4', endDate='2023.12.10') {// 1. 创建PPTconst pres = new Pptxgen()// 2. 创建一个PPT页面,每调用一次 pres.addSlide() 都可以生成一张新的页面// 建议把每个页面的构造抽成一个个函数,然后通过函数调用生成新页面,代码不会很乱// const slide = pres.addSlide()let slidesObj = {} // salechannelSumArr salechannelItemArr// console.log('salechannelSumArr-9', this.$cloneDeep(this.salechannelSumArr))// console.log('dataChartAreaLine3-9', this.$cloneDeep(this.dataChartAreaLine3))// console.log('comparisonSumArr-9', this.$cloneDeep(this.comparisonSumArr))this.salechannelSumArr.slice(0, 30).forEach((item, idx) => {slidesObj['slide' + idx + item] = pres.addSlide()slidesObj['slide' + idx + item].addText(item + '平台', {x: 0.4, // 横坐标y: 0.4,color: '363636',fontSize: 20, // 字号fill: { color: 'F1F1F1' },align: 'center'})// 2023-05-01至2023-11-01主要国家发货分布 startDate, endDateslidesObj['slide' + idx + item].addText(`${startDate}${endDate}主要国家发货发布`, {x: 0.5, // 横坐标y: 0.8,color: '363636',fontSize: 18, // 字号fill: { color: 'F1F1F1' },align: 'center'})// console.log('item-dataChartAreaLine3', ['slide' + idx + item])// console.log('item-dataChartAreaLine33', ['slide' + idx + item], this.dataChartAreaLine3[item])slidesObj['slide' + idx + item].addChart(pres.ChartType.bar, this.dataChartAreaLine3[item],{x: 0.6,y: 1,w: 9,h: 3.7,title: item + '平台' // 标题})let SalechannelTemp1 = '' // 每个平台对应国家,是否上涨的变量this.comparisonSumArr.forEach((item2, idx2) => {if (item === item2.aSalechannel && item2.comparison) { // 平台相同才是上涨SalechannelTemp1 += item2.buyerCountryName + item2.comparison + ','}})slidesObj['slide' + idx + item].addText(SalechannelTemp1, {x: 0.5, // 横坐标y: 5.2,w: 9,color: '363636',fontSize: 12, // 字号fill: { color: 'F1F1F1' },align: 'center'})// 画图表 this.dataChartAreaLine3 (temp1[Object.keys(temp1)[xIndex]])/* this.exportAllSalechannelList.forEach((item3, idx3) => {const dataChartAreaLine = [{name: '菜鸟-平邮',labels: ['美国', '英国', '德国', '法国', '意大利', '西班牙', '加拿大', '墨西哥', '巴西', '智利'],values: [1500, 4600, 5156, 3167, 8510, 8009, 6006, 7855, 12102, 12789]},{name: '菜鸟-挂号',labels: ['美国', '英国', '德国', '法国', '意大利', '西班牙', '加拿大', '墨西哥', '巴西', '智利'],values: [1000, 2600, 3456, 4567, 5010, 6009, 7006, 8855, 9102, 10789]},{name: '顺友-平邮',labels: ['美国', '英国', '德国', '法国', '意大利', '西班牙', '加拿大', '墨西哥', '巴西', '智利'],values: [2000, 4200, 5156, 3167, 6510, 8009, 6006, 5855, 10102, 11789]},{name: '顺友-挂号',labels: ['美国', '英国', '德国', '法国', '意大利', '西班牙', '加拿大', '墨西哥', '巴西', '智利'],values: [1300, 2100, 3456, 4567, 4010, 6009, 7006, 6855, 8102, 10789]},{name: '燕文-平邮',labels: ['美国', '英国', '德国', '法国', '意大利', '西班牙', '加拿大', '墨西哥', '巴西', '智利'],values: [2000, 4200, 5156, 3167, 6510, 8009, 6006, 5855, 10102, 11789]},{name: '燕文-挂号',labels: ['美国', '英国', '德国', '法国', '意大利', '西班牙', '加拿大', '墨西哥', '巴西', '智利'],values: [1300, 2100, 3456, 4567, 4010, 6009, 7006, 6855, 8102, 10789]}]slidesObj['slide' + idx + item].addChart(pres.ChartType.bar, dataChartAreaLine,{x: 0.6,y: 1.2,w: 8,h: 3.5,title: item + '平台' // 标题})}) */})// 4. 生成PPT, 括号中的fileName,就是生成的 PPT名字,可以使用 .then 或者 .catch处理对应事件。pres.writeFile({ fileName: `${startDate}${endDate}周报.pptx` }).then(() => {this.$Message.success({ content: '导出成功!', duration: 5, closable: true })})}</script>
</body>
</html>

原数据在这里

const temp1 = {"Lazada": [{"buyerCountryName": "菲律宾","totalCount": 11563,"method0": "LAZADA菲律宾","methodTotalCount0": 11563,"method1": "LAZADA泰国陆运","methodTotalCount1": 0,"method2": "lazada越南","methodTotalCount2": 0,"method3": "lazada马来","methodTotalCount3": 0,"method4": "LAZADA-SG3","methodTotalCount4": 0,"method5": "LAZADA印尼普","methodTotalCount5": 0,"method6": "LAZADA泰国","methodTotalCount6": 0,"method7": "LAZADA印尼敏","methodTotalCount7": 0,"methodSum": 8,"comparison": "上涨99.93%"},{"buyerCountryName": "泰国","totalCount": 11281,"method0": "LAZADA菲律宾","methodTotalCount0": 0,"method1": "LAZADA泰国陆运","methodTotalCount1": 11262,"method2": "lazada越南","methodTotalCount2": 0,"method3": "lazada马来","methodTotalCount3": 0,"method4": "LAZADA-SG3","methodTotalCount4": 0,"method5": "LAZADA印尼普","methodTotalCount5": 0,"method6": "LAZADA泰国","methodTotalCount6": 19,"method7": "LAZADA印尼敏","methodTotalCount7": 0,"methodSum": 8,"comparison": "上涨99.94%"},{"buyerCountryName": "越南","totalCount": 6550,"method0": "LAZADA菲律宾","methodTotalCount0": 0,"method1": "LAZADA泰国陆运","methodTotalCount1": 0,"method2": "lazada越南","methodTotalCount2": 6550,"method3": "lazada马来","methodTotalCount3": 0,"method4": "LAZADA-SG3","methodTotalCount4": 0,"method5": "LAZADA印尼普","methodTotalCount5": 0,"method6": "LAZADA泰国","methodTotalCount6": 0,"method7": "LAZADA印尼敏","methodTotalCount7": 0,"methodSum": 8,"comparison": "上涨99.92%"},{"buyerCountryName": "马来西亚","totalCount": 5621,"method0": "LAZADA菲律宾","methodTotalCount0": 0,"method1": "LAZADA泰国陆运","methodTotalCount1": 0,"method2": "lazada越南","methodTotalCount2": 0,"method3": "lazada马来","methodTotalCount3": 5621,"method4": "LAZADA-SG3","methodTotalCount4": 0,"method5": "LAZADA印尼普","methodTotalCount5": 0,"method6": "LAZADA泰国","methodTotalCount6": 0,"method7": "LAZADA印尼敏","methodTotalCount7": 0,"methodSum": 8,"comparison": "上涨99.95%"},{"buyerCountryName": "新加坡","totalCount": 4015,"method0": "LAZADA菲律宾","methodTotalCount0": 0,"method1": "LAZADA泰国陆运","methodTotalCount1": 0,"method2": "lazada越南","methodTotalCount2": 0,"method3": "lazada马来","methodTotalCount3": 0,"method4": "LAZADA-SG3","methodTotalCount4": 4015,"method5": "LAZADA印尼普","methodTotalCount5": 0,"method6": "LAZADA泰国","methodTotalCount6": 0,"method7": "LAZADA印尼敏","methodTotalCount7": 0,"methodSum": 8,"comparison": ""},{"buyerCountryName": "印度尼西亚","totalCount": 376,"method0": "LAZADA菲律宾","methodTotalCount0": 0,"method1": "LAZADA泰国陆运","methodTotalCount1": 0,"method2": "lazada越南","methodTotalCount2": 0,"method3": "lazada马来","methodTotalCount3": 0,"method4": "LAZADA-SG3","methodTotalCount4": 0,"method5": "LAZADA印尼普","methodTotalCount5": 375,"method6": "LAZADA泰国","methodTotalCount6": 0,"method7": "LAZADA印尼敏","methodTotalCount7": 1,"methodSum": 8,"comparison": ""}],"Amazon": [{"buyerCountryName": "墨西哥","totalCount": 1007,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 958,"method1": "顺邮宝挂号","methodTotalCount1": 23,"method2": "线下EUB深圳特货新","methodTotalCount2": 0,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 0,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 22,"methodSum": 10,"comparison": ""},{"buyerCountryName": "美国","totalCount": 549,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 38,"method2": "线下EUB深圳特货新","methodTotalCount2": 0,"method3": "递四方-联邮通美国专线","methodTotalCount3": 294,"method4": "线下EUB深圳新","methodTotalCount4": 0,"method5": "义达-美国经济挂号普货","methodTotalCount5": 212,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": "上涨64.3%"},{"buyerCountryName": "日本","totalCount": 444,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 108,"method2": "线下EUB深圳特货新","methodTotalCount2": 232,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 33,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 17,"method8": "义达-日本普货专线","methodTotalCount8": 50,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": ""},{"buyerCountryName": "西班牙","totalCount": 250,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 54,"method2": "线下EUB深圳特货新","methodTotalCount2": 51,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 92,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 53,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": "上涨98.8%"},{"buyerCountryName": "法国","totalCount": 173,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 10,"method2": "线下EUB深圳特货新","methodTotalCount2": 4,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 24,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 132,"method7": "线下EUB深圳带电新","methodTotalCount7": 1,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": "上涨97.69%"},{"buyerCountryName": "德国","totalCount": 102,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 59,"method2": "线下EUB深圳特货新","methodTotalCount2": 3,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 27,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 2,"method7": "线下EUB深圳带电新","methodTotalCount7": 4,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": "上涨96.08%"},{"buyerCountryName": "英国","totalCount": 100,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 100,"method2": "线下EUB深圳特货新","methodTotalCount2": 0,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 0,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": "上涨94.0%"},{"buyerCountryName": "加拿大","totalCount": 81,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 74,"method2": "线下EUB深圳特货新","methodTotalCount2": 2,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 1,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 4,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": ""},{"buyerCountryName": "意大利","totalCount": 30,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 16,"method2": "线下EUB深圳特货新","methodTotalCount2": 3,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 8,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 2,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": "上涨83.33%"},{"buyerCountryName": "土耳其","totalCount": 27,"method0": "纬狮-轻小件标准专线B","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 15,"method2": "线下EUB深圳特货新","methodTotalCount2": 0,"method3": "递四方-联邮通美国专线","methodTotalCount3": 0,"method4": "线下EUB深圳新","methodTotalCount4": 12,"method5": "义达-美国经济挂号普货","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "线下EUB深圳带电新","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"method9": "纬狮-墨西哥专线带电","methodTotalCount9": 0,"methodSum": 10,"comparison": ""}],"SMT": [{"buyerCountryName": "澳大利亚","totalCount": 462,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 461,"method1": "顺邮宝挂号","methodTotalCount1": 1,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "西班牙","totalCount": 360,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 4,"method2": "菜鸟专线经济","methodTotalCount2": 356,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "比利时","totalCount": 239,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 236,"method1": "顺邮宝挂号","methodTotalCount1": 3,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "加拿大","totalCount": 220,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 217,"method1": "顺邮宝挂号","methodTotalCount1": 3,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "摩尔多瓦","totalCount": 120,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 120,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "塞尔维亚","totalCount": 116,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 116,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "墨西哥","totalCount": 49,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 8,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 21,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 12,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 8,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": "上涨93.88%"},{"buyerCountryName": "毛里求斯","totalCount": 41,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 41,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "马尔代夫","totalCount": 37,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 37,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""},{"buyerCountryName": "南非","totalCount": 37,"method0": "菜鸟-无忧标准普货","methodTotalCount0": 0,"method1": "顺邮宝挂号","methodTotalCount1": 37,"method2": "菜鸟专线经济","methodTotalCount2": 0,"method3": "纬狮-墨西哥纯电敏感货","methodTotalCount3": 0,"method4": "纬狮-轻小件标准专线B","methodTotalCount4": 0,"method5": "纬狮-墨西哥专线带电","methodTotalCount5": 0,"method6": "递四方-普货经济挂号","methodTotalCount6": 0,"method7": "递四方-联邮通美国专线","methodTotalCount7": 0,"method8": "义达-日本普货专线","methodTotalCount8": 0,"methodSum": 9,"comparison": ""}],"Walmart": [{"buyerCountryName": "美国","totalCount": 181,"method0": "朗智-美国虚拟仓普货","methodTotalCount0": 178,"method1": "义达-美国虚拟仓普货","methodTotalCount1": 3,"methodSum": 2,"comparison": "下降159.67%"}],"Fruugo": [{"buyerCountryName": "瑞士","totalCount": 23,"method0": "顺邮宝挂号","methodTotalCount0": 23,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 0,"methodSum": 3,"comparison": ""},{"buyerCountryName": "法国","totalCount": 16,"method0": "顺邮宝挂号","methodTotalCount0": 2,"method1": "递四方-普货经济挂号","methodTotalCount1": 10,"method2": "云途挂号(普货)","methodTotalCount2": 4,"methodSum": 3,"comparison": ""},{"buyerCountryName": "挪威","totalCount": 14,"method0": "顺邮宝挂号","methodTotalCount0": 14,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 0,"methodSum": 3,"comparison": "上涨92.86%"},{"buyerCountryName": "南非","totalCount": 14,"method0": "顺邮宝挂号","methodTotalCount0": 14,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 0,"methodSum": 3,"comparison": ""},{"buyerCountryName": "德国","totalCount": 10,"method0": "顺邮宝挂号","methodTotalCount0": 1,"method1": "递四方-普货经济挂号","methodTotalCount1": 7,"method2": "云途挂号(普货)","methodTotalCount2": 2,"methodSum": 3,"comparison": ""},{"buyerCountryName": "丹麦","totalCount": 7,"method0": "顺邮宝挂号","methodTotalCount0": 7,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 0,"methodSum": 3,"comparison": ""},{"buyerCountryName": "爱尔兰","totalCount": 7,"method0": "顺邮宝挂号","methodTotalCount0": 7,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 0,"methodSum": 3,"comparison": "上涨85.71%"},{"buyerCountryName": "澳大利亚","totalCount": 7,"method0": "顺邮宝挂号","methodTotalCount0": 4,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 3,"methodSum": 3,"comparison": ""},{"buyerCountryName": "罗马尼亚","totalCount": 5,"method0": "顺邮宝挂号","methodTotalCount0": 5,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 0,"methodSum": 3,"comparison": ""},{"buyerCountryName": "意大利","totalCount": 4,"method0": "顺邮宝挂号","methodTotalCount0": 2,"method1": "递四方-普货经济挂号","methodTotalCount1": 0,"method2": "云途挂号(普货)","methodTotalCount2": 2,"methodSum": 3,"comparison": ""}],"Ebay": [{"buyerCountryName": "希腊","totalCount": 13,"method0": "顺邮宝挂号","methodTotalCount0": 13,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "美国","totalCount": 10,"method0": "顺邮宝挂号","methodTotalCount0": 8,"method1": "递四方-联邮通美国专线","methodTotalCount1": 2,"methodSum": 2,"comparison": "上涨90.0%"},{"buyerCountryName": "澳大利亚","totalCount": 10,"method0": "顺邮宝挂号","methodTotalCount0": 10,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "以色列","totalCount": 6,"method0": "顺邮宝挂号","methodTotalCount0": 6,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "爱沙尼亚","totalCount": 5,"method0": "顺邮宝挂号","methodTotalCount0": 5,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "墨西哥","totalCount": 4,"method0": "顺邮宝挂号","methodTotalCount0": 4,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "毛里求斯","totalCount": 4,"method0": "顺邮宝挂号","methodTotalCount0": 4,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "匈牙利","totalCount": 4,"method0": "顺邮宝挂号","methodTotalCount0": 4,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "阿根廷","totalCount": 3,"method0": "顺邮宝挂号","methodTotalCount0": 3,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""},{"buyerCountryName": "挪威","totalCount": 3,"method0": "顺邮宝挂号","methodTotalCount0": 3,"method1": "递四方-联邮通美国专线","methodTotalCount1": 0,"methodSum": 2,"comparison": ""}],"NewEgg": [{"buyerCountryName": "美国","totalCount": 10,"method0": "递四方-联邮通美国专线","methodTotalCount0": 10,"methodSum": 1,"comparison": ""}]
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/198651.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

redis配置介绍

redis配置详解 一、redis.conf二、持久化1、RDB① 触发机制② 优缺点③ 恢复rdb 2、AOF① 优缺点② 恢复aof 三、发布订阅 一、redis.conf # -----NETWORK----- # 设置绑定ip bind 127.0.0.1 -::1 # 设置redis保护&#xff0c;只能通过绑定在本地回环地址上的网络接口进行访问…

javaweb校车校园车辆管理系统springboot+jsp

结构设计&#xff1a;总体采用B/S结构设计模式 (1)用户登录模块&#xff1a;用户通过手动登录&#xff0c;检测是否是校内人员的车辆。 (2)用户车辆信息编辑、上传、模块&#xff1a;通过上传车辆入场信息的操作权限&#xff0c;以用户的名义发布资料上传至校园停车场系统中。…

在eclipse中安装python插件:PyDev

在eclipse中安装插件PyDev&#xff0c;就可以在eclipse中开发python了。 PyDev的官网&#xff1a;https://www.pydev.org/ 不过可以直接在eclipse中用Marketplace安装&#xff08;备注&#xff1a;有可能一次安装不成功&#xff0c;是因为下载太慢了&#xff0c;多试几次&…

3、RocketMQ源码分析(三)

RocketMQ源码-NameServer架构设计及启动流程 本文我们来分析NameServer相关代码&#xff0c;在正式分析源码前&#xff0c;我们先来回忆下NameServer的功能&#xff1a; NameServer是一个非常简单的Topic路由注册中心&#xff0c;其角色类似Dubbo中的zookeeper&#xff0c;支…

【AXI死锁】

单主机单从机死锁 AXI4没有WID,所以比较严格,即写数据通道的数据必须严格的按照写地址通道的数据顺序传送,比如AW通道发送ADDR0,ADDR1,ADDR2三笔写操作,每个写操作burst length=2,那么W通道的顺序在AXI4协议的规定下必须为:WDATA0_0,WDATA0_1,WDATA1_0,WDATA1_1,WDATA2_0…

LeetCode刷题---两两交换链表中的节点

个人主页&#xff1a;元清加油_【C】,【C语言】,【数据结构与算法】-CSDN博客 个人专栏&#xff1a;http://t.csdnimg.cn/D9LVS 前言&#xff1a;这个专栏主要讲述递归递归、搜索与回溯算法&#xff0c;所以下面题目主要也是这些算法做的 我讲述题目会把讲解部分分为3个部分…

dubbo框架技术文档-《spring-boot整合dubbo框架搭建+配置文件》框架的本地基础搭建

阿丹&#xff1a; 目前流行的微服务更多的就是dubbo和springcould微服务。之前阿丹没有出过dubbo相关的文章&#xff0c;因为之前接触springcould的微服务概念比较多一点&#xff0c;但是相对于springcould来说&#xff0c;springcould服务之间的调用是大多是使用了nacos&#…

每日一题:LeetCode-75. 颜色分类

每日一题系列&#xff08;day 12&#xff09; 前言&#xff1a; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f308; &#x1f50e…

黑马头条数据管理平台项目总结

今天主要看了该项目的介绍&#xff0c;这个黑马头条数据管理平台项目主要包括登录、用户的权限判断、文章内容列表的筛选和分页、文章的增删查改还有图片和富文本编辑器这几大部分组成&#xff0c;项目配套了素材代码&#xff0c;像资源文件、第三方插件、页面文件夹、工具插件…

Python中PyQt5可视化界面通过拖拽来上传文件

注&#xff1a;这个窗口提供了一个快速上传文件的小tips&#xff0c;如果需要对上传的文件进行进一步处理的可以在“processFiles”函数或者编写其它函数进行扩充就可以。 1、需要安装模块 pip install PyQt5 2、运行效果 1、通过拖拽的方式上传需要的文件到窗口&#xff0c;会…

图表控件LightningChart .NET中文教程 - 如何创建WPF 2D热图?(二)

LightningChart.NET完全由GPU加速&#xff0c;并且性能经过优化&#xff0c;可用于实时显示海量数据-超过10亿个数据点。 LightningChart包括广泛的2D&#xff0c;高级3D&#xff0c;Polar&#xff0c;Smith&#xff0c;3D饼/甜甜圈&#xff0c;地理地图和GIS图表以及适用于科学…

学习数分--简单案例1

业务背景&#xff1a;某服务类app&#xff0c;近期发现日新增用户数下滑明显。 具体描述&#xff1a;假设公司产品&#xff08;一款本地服务类app&#xff09;&#xff0c;近期发现日新增用户数下滑明显。老板要求你分析&#xff1a;数据异动的原因是什么&#xff1f; #最开始…

Java 数据结构篇-二叉树的深度优先遍历(实现:递归方式、非递归方式)

&#x1f525;博客主页&#xff1a; 【小扳_-CSDN博客】 ❤感谢大家点赞&#x1f44d;收藏⭐评论✍ 文章目录 1.0 二叉树的说明 1.1 二叉树的实现 2.0 二叉树的优先遍历说明 3.0 用递归方式实现二叉树遍历 3.1 用递归方式实现遍历 - 前序遍历 3.2 用递归方式实现遍历 - 中序遍…

逻辑回归 使用Numpy实现逻辑回归

使用Numpy实现逻辑回归 sigmoid 函数 g ( z ) 1 ( 1 e − z ) g(z)\frac{1}{(1e^{−z} )} g(z)(1e−z)1​ # sigmoid 函数 def sigmod(z):return 1/(1np.exp(-z))线性计算与梯度下降 J ( θ ) − 1 m [ ∑ i 1 m y ( i ) l o g ⁡ ( h θ ( x ( i ) ) ) ( 1 − y ( i ) …

ROS 元功能包

ROS元功能包&#xff08;Metapackage&#xff09;是一种特殊的软件包&#xff0c;它本身并不包含任何可执行代码或数据文件。在ROS 1中&#xff0c;可以通过catkin_create_pkg命令创建元功能包。 相反&#xff0c;它的主要目的是作为一组相关功能包的集合或者依赖关系列表。使…

国标GB28181视频监控EasyCVR内网环境部署无法启动怎么办?

安防视频监控系统EasyCVR平台可拓展性强、视频能力灵活、部署轻快&#xff0c;可支持的主流标准协议有国标GB28181、RTSP/Onvif、RTMP等&#xff0c;以及支持厂家私有协议与SDK接入&#xff0c;包括海康Ehome、海大宇等设备的SDK等&#xff0c;能对外分发RTMP、RTSP、HTTP-FLV、…

微信聊天窗口测试用例

以前没测过客户端的测试&#xff0c;昨天面试被问到聊天窗口测试场景设计&#xff0c;感觉自己答的不好&#xff0c;结束后上网查了一下客户端/app测试的要点&#xff0c;按照测试策略来分&#xff0c;主要涉及到如下测试类型&#xff1a; 1、功能测试 2、性能测试 3、界面测试…

GS016电动工具调速控制电路芯片,7V ~ 24V 7mA ~ 10mA具 有电源电压范围宽、功耗小、抗干扰能力强等特点

GS016是一款直流有刷电机调速电路&#xff0c;输出端内置14V钳位结构&#xff0c;具 有电源电压范围宽、功耗小、抗干扰能力强等特点。通过桥接内部电阻网 络&#xff0c;可以改变PWM占空比输出&#xff0c;达到控制电机转速作用。采用SOP14的封装形式封装。 主要特点&#xf…

Hadoop学习笔记(HDP)-Part.10 创建集群

目录 Part.01 关于HDP Part.02 核心组件原理 Part.03 资源规划 Part.04 基础环境配置 Part.05 Yum源配置 Part.06 安装OracleJDK Part.07 安装MySQL Part.08 部署Ambari集群 Part.09 安装OpenLDAP Part.10 创建集群 Part.11 安装Kerberos Part.12 安装HDFS Part.13 安装Ranger …

ipad Google浏览器,使用默认搜索,页面使用pc模式

ipad Google浏览器&#xff0c;使用默认搜索&#xff0c;页面使用pc模式 1. 设置默认搜索引擎 2. 设置页面使用PC模式 参考&#xff1a;https://zhuanlan.zhihu.com/p/556041670