当前位置: 首页 > article >正文

微信小程序中实现趋势(折线)面积组合图

一、小程序中实现面积图的绘制使用canvas进行绘制渲染从左到右的渲染动画二、面积图封装组件【完整代码】Component({properties:{title:{type: String, value:}, chartData:{type: Object, value:{xAxis:[], yAxis:[], values:[]}}}, data:{canvas: null, ctx: null, canvasWidth:0, canvasHeight:0, dpr:1, // 所有尺寸单位都是rpx改这里就生效 styles:{yEmojiSize:42, // Y轴表情大小 xTextSize:32, // X轴文字大小 lineWidth:4, // 折线粗细 pointRadius:8// 圆点大小}, // 调整边距解决重叠和截断问题 padding:{top:15, right:40, // 加大右边距解决第4周被截断 bottom:95, // 距离底部的间距 left:120// 图表-距离左边的间距}, points:[], animationProgress:0, showBubble: false, bubbleData:{}, bubbleLeft:0, bubbleTop:0, bubbleArrowDir:}, _animationTimer: null, _initTimer: null, _isDestroyed: false, _rpxToPx:1, lifetimes:{ready(){this._isDestroyedfalseconst systemInfowx.getSystemInfoSync()this._rpxToPxsystemInfo.windowWidth /750setTimeout((){ this._safeInitChart()},100)},detached(){ this._isDestroyedtrue if(this._animationTimer){ clearTimeout(this._animationTimer)this._animationTimernull } if(this._initTimer){ clearTimeout(this._initTimer)this._initTimernull } if(this.data.ctx){ this.data.ctx.clearRect(0,0,this.data.canvasWidth,this.data.canvasHeight)} this.setData({ canvas:null,ctx:null,points:[],showBubble:false })} },//修复监听所有配置项的变化自动刷新图表 observers:{ chartData,styles,padding:function(){ if(this._initTimer){ clearTimeout(this._initTimer)} this._initTimersetTimeout((){ this._safeInitChart()},50)} },methods:{ async _safeInitChart(retryCount0){ if(this._isDestroyed)return if(this._animationTimer){ clearTimeout(this._animationTimer)this._animationTimernull } try { const querywx.createSelectorQuery().in(this)const resawait new Promise((resolve){ query.select(#emotionChart).fields({ node:true,size:true }).exec(resolve)})if(!res||!res[0]||!res[0].node){ if(retryCount3){ setTimeout((){ this._safeInitChart(retryCount1)},100)} return } const canvasres[0].node const ctxcanvas.getContext(2d)const dprwx.getSystemInfoSync().pixelRatio const canvasWidthres[0].width const canvasHeightres[0].height canvas.widthcanvasWidth*dpr canvas.heightcanvasHeight*dpr ctx.scale(dpr,dpr)this.setData({ canvas,ctx,canvasWidth,canvasHeight,dpr,animationProgress:0,showBubble:false })this.calculatePoints()this.startAnimation()} catch(err){ console.error(emotion-chart:初始化异常,err)if(retryCount3){ setTimeout((){ this._safeInitChart(retryCount1)},100)} } },calculatePoints(){ const { chartData,padding,canvasWidth,canvasHeight }this.data const { xAxis,yAxis,values }chartData const paddingLeftpadding.left*this._rpxToPx const paddingRightpadding.right*this._rpxToPx const paddingToppadding.top*this._rpxToPx const paddingBottompadding.bottom*this._rpxToPx const chartWidthcanvasWidth-paddingLeft-paddingRight const chartHeightcanvasHeight-paddingTop-paddingBottom const xCountxAxis.length const xStepchartWidth/(xCount-1)const yCountyAxis.length const yStepchartHeight/(yCount-1)const pointsvalues.map((value,index)({ x:paddingLeftindex*xStep,y:paddingTop(yCount-1-value)*yStep,xLabel:xAxis[index],yEmoji:yAxis[value].emoji,yLabel:yAxis[value].label }))this.setData({points})},startAnimation(){if(this._isDestroyed)returnconst animate(){if(this._isDestroyed)returnletnewProgressthis.data.animationProgress 1/30if(newProgress1)newProgress1this.setData({animationProgress: newProgress})this.drawChart()if(newProgress1){this._animationTimersetTimeout(animate,33)}else{this._animationTimernull}}animate()},drawChart(){if(this._isDestroyed||!this.data.ctx)returnconst{ctx, canvasWidth, canvasHeight, padding, points, animationProgress, styles}this.data const paddingLeftpadding.left * this._rpxToPx const paddingRightpadding.right * this._rpxToPx const paddingToppadding.top * this._rpxToPx const paddingBottompadding.bottom * this._rpxToPx ctx.clearRect(0,0, canvasWidth, canvasHeight)const chartWidthcanvasWidth - paddingLeft - paddingRight const chartHeightcanvasHeight - paddingTop - paddingBottom this.drawGrid(ctx, paddingLeft, paddingTop, chartWidth, chartHeight)this.drawYAxis(ctx, paddingLeft, paddingTop, chartHeight)this.drawXAxis(ctx, paddingLeft, paddingTop, chartWidth, chartHeight)const currentPointCountMath.ceil(points.length * animationProgress)if(currentPointCount1)returnconst currentPointspoints.slice(0, currentPointCount)this.drawCurve(ctx, paddingLeft, paddingTop, chartWidth, chartHeight, currentPoints)this.drawPoints(ctx, currentPoints)}, drawGrid(ctx, paddingLeft, paddingTop, chartWidth, chartHeight){const{chartData}this.data const yCountchartData.yAxis.length const yStepchartHeight /(yCount -1)ctx.strokeStyle#cbd5e1ctx.lineWidth1ctx.setLineDash([6,6])for(let i0;iyCount;i){const ypaddingTop i * yStep ctx.beginPath()ctx.moveTo(paddingLeft, y)ctx.lineTo(paddingLeft chartWidth, y)ctx.stroke()}ctx.setLineDash([])}, drawYAxis(ctx, paddingLeft, paddingTop, chartHeight){const{chartData, styles}this.data const yAxischartData.yAxis const yCountyAxis.length const yStepchartHeight /(yCount -1)ctx.font${styles.yEmojiSize * this._rpxToPx}px sans-serifctx.textAligncenterctx.textBaselinemiddlectx.fillStyle#64748bfor(let i0;iyCount;i){const ypaddingTop i * yStep // 表情位置微调进一步加大和虚线的间距 ctx.fillText(yAxis[yCount -1- i].emoji, paddingLeft *0.3, y)}}, drawXAxis(ctx, paddingLeft, paddingTop, chartWidth, chartHeight){const{chartData, styles}this.data const xAxischartData.xAxis const xCountxAxis.length const xStepchartWidth /(xCount -1)ctx.font${styles.xTextSize * this._rpxToPx}px sans-serifctx.textAligncenterctx.textBaselinetopctx.fillStyle#64748bfor(let i0;ixCount;i){const xpaddingLeft i * xStep ctx.fillText(xAxis[i], x, paddingTop chartHeight 10* this._rpxToPx)}}, drawCurve(ctx, paddingLeft, paddingTop, chartWidth, chartHeight, currentPoints){const{styles}this.data const gradientctx.createLinearGradient(0, paddingTop,0, paddingTop chartHeight)gradient.addColorStop(0,rgba(59, 130, 246, 0.2))gradient.addColorStop(1,rgba(59, 130, 246, 0.05))ctx.beginPath()ctx.moveTo(currentPoints[0].x, paddingTop chartHeight)ctx.lineTo(currentPoints[0].x, currentPoints[0].y)for(let i0;icurrentPoints.length -1;i){const x1currentPoints[i].x const y1currentPoints[i].y const x2currentPoints[i 1].x const y2currentPoints[i 1].y const cpX(x1 x2)/2ctx.bezierCurveTo(cpX, y1, cpX, y2, x2, y2)}ctx.lineTo(currentPoints[currentPoints.length -1].x, paddingTop chartHeight)ctx.closePath()ctx.fillStylegradient ctx.fill()ctx.beginPath()ctx.moveTo(currentPoints[0].x, currentPoints[0].y)for(let i0;icurrentPoints.length -1;i){const x1currentPoints[i].x const y1currentPoints[i].y const x2currentPoints[i 1].x const y2currentPoints[i 1].y const cpX(x1 x2)/2ctx.bezierCurveTo(cpX, y1, cpX, y2, x2, y2)}ctx.strokeStyle#3b82f6ctx.lineWidthstyles.lineWidth * this._rpxToPx ctx.lineCaproundctx.lineJoinroundctx.stroke()}, drawPoints(ctx, currentPoints){const{styles}this.data const pointRadiusstyles.pointRadius * this._rpxToPx currentPoints.forEach(point{ctx.beginPath()ctx.arc(point.x, point.y, pointRadius,0, Math.PI *2)ctx.fillStyle#3b82f6ctx.fill()ctx.strokeStyle#fffctx.lineWidth2* this._rpxToPx ctx.stroke()})}, handleCanvasTouch(e){if(this._isDestroyed||!this.data.points.length)returnconst{points, canvasWidth, canvasHeight, padding}this.data consttouche.touches[0]const querywx.createSelectorQuery().in(this)query.select(#emotionChart).boundingClientRect(rect{if(!rect||this._isDestroyed)returnconst touchX(touch.clientX - rect.left)*(canvasWidth / rect.width)const touchY(touch.clientY - rect.top)*(canvasHeight / rect.height)letnearestPointnullletminDistance30* this._rpxToPx points.forEach(point{const distanceMath.sqrt(Math.pow(touchX - point.x,2) Math.pow(touchY - point.y,2))if(distanceminDistance){minDistancedistance nearestPointpoint}})if(nearestPoint){this.showBubbleCard(nearestPoint, rect)}else{this.setData({showBubble:false})}}).exec()}, showBubbleCard(point, rect){if(this._isDestroyed)returnconst systemInfowx.getSystemInfoSync()const pxToRpx750/ systemInfo.windowWidth const pointCenterX(point.x *(rect.width / this.data.canvasWidth) rect.left)* pxToRpx const pointCenterY(point.y *(rect.height / this.data.canvasHeight) rect.top)* pxToRpx const bubbleWidth200const bubbleHeight120const arrowHeight12const arrowTipOffset0letbubbleLeftpointCenterX - bubbleWidth /2letbubbleToppointCenterY - bubbleHeight - arrowHeight arrowTipOffsetletbubbleArrowDirif(bubbleLeft20)bubbleLeft20if(bubbleLeft bubbleWidth730)bubbleLeft730- bubbleWidthif(bubbleTop20){bubbleToppointCenterY arrowHeight arrowTipOffset bubbleArrowDirtop}this.setData({showBubble: true, bubbleData:{x: point.xLabel, yEmoji: point.yEmoji, yLabel: point.yLabel}, bubbleLeft, bubbleTop, bubbleArrowDir})},refreshData(){this._safeInitChart()}}})viewclassemotion-chart-wrapper!-- 图表标题可选父组件不传则不显示 --viewclasschart-titlewx:if{{title}}{{title}}/view!-- Canvas绘图区域 --canvastype2didemotionChartclasschart-canvasbindtouchstarthandleCanvasTouch/!-- 点击数据点弹出的气泡详情主流样式 --viewclassbubble-cardwx:if{{showBubble}}styleleft: {{bubbleLeft}}rpx; top: {{bubbleTop}}rpx;!-- 气泡箭头自动调整方向 --viewclassbubble-arrow {{bubbleArrowDir}}/view!-- 气泡内容 --viewclassbubble-contentviewclassbubble-x{{bubbleData.x}}/viewviewclassbubble-ytextclassbubble-emoji{{bubbleData.yEmoji}}/texttextclassbubble-label{{bubbleData.yLabel}}/text/view/view/view/view.emotion-chart-wrapper{width:100%;position: relative;background-color:#fff;}/* 图表标题 */ .chart-title{font-size: 48rpx;font-weight: bold;color:#1e293b;margin-bottom: 40rpx;padding-left: 20rpx;}/* Canvas绘图区域 */ .chart-canvas{width:100%;height: 600rpx;}/* 气泡详情卡片主流圆角阴影样式 */ .bubble-card{position: absolute;z-index:999;background-color:#fff;border-radius: 16rpx;box-shadow:08rpx 24rpx rgba(0,0,0,0.12);padding: 24rpx 32rpx;min-width: 160rpx;max-width: 300rpx;}/* 气泡箭头自动调整方向 */ .bubble-arrow{position: absolute;width:0;height:0;border-left: 12rpx solid transparent;border-right: 12rpx solid transparent;border-top: 12rpx solid#fff;left:50%;transform: translateX(-50%);bottom: -12rpx;}/* 箭头在上方的情况数据点在顶部时 */ .bubble-arrow.top{border-top: none;border-bottom: 12rpx solid#fff;top: -12rpx;bottom: auto;}/* 气泡内容 */ .bubble-content{text-align: center;}.bubble-x{font-size: 28rpx;color:#64748b;margin-bottom: 12rpx;}.bubble-y{display: flex;align-items: center;justify-content: center;gap: 12rpx;}.bubble-emoji{font-size: 40rpx;}.bubble-label{font-size: 32rpx;font-weight: bold;color:#1e293b;}三、父组件中引入组件并传递数据{navigationStyle:custom,usingComponents:{emotion-chart:/components/emotion-chart/emotion-chart}}viewclasscontainer!-- 使用情绪趋势波动图组件 --emotion-chartidmyEmotionCharttitle情绪趋势波动图chart-data{{chartData}}/!-- 刷新数据按钮可选 --buttonbindtaprefreshChartDataclassrefresh-btn mt-40刷新数据/button/viewPage({data:{// 图表数据Y轴现在支持配置emoji和文字标签 chartData:{xAxis:[第1周,第2周,第3周,第4周], yAxis:[{emoji:, label:低落},{emoji:, label:平静},{emoji:, label:开心},{emoji:, label:兴奋},{emoji:, label:狂喜}], values:[1,2,4,4]}}, // 刷新数据按钮点击事件refreshChartData(){// 生成随机数据模拟刷新 const newValues[]for(let i0;i4;i){newValues.push(Math.floor(Math.random()*5))}// 更新数据 this.setData({chartData.values:newValues})// 也可以调用组件的refreshData方法可选因为observer会自动监听数据变化 // this.selectComponent(#myEmotionChart).refreshData()}}).container{padding: 40rpx 20rpx;background-color:#f8fafc;min-height: 100vh;}.mt-40{margin-top: 40rpx;}.refresh-btn{background-color:#3b82f6;color:#fff;border-radius: 16rpx;font-size: 32rpx;padding: 20rpx 40rpx;}

相关文章:

微信小程序中实现趋势(折线)面积组合图

一、小程序中实现,面积图的绘制,使用canvas进行绘制渲染(从左到右的渲染动画)二、面积图封装组件【完整代码】 Component({properties: {title: {type: String,value: },chartData: {type: Object,value: {xAxis: [],yAxis: [],va…...

099_神经渲染之NeRF:其概念,其实现原理,其适用的场景,常见的应用,以及未来布局的产业和市场,以及涉及

神经渲染革命:一文读懂NeRF的核心原理、应用与未来 引言 想象一下,仅用几张普通照片,就能生成一个可以从任意角度浏览、光影逼真的3D场景。这不再是科幻电影的桥段,而是神经辐射场(NeRF) 技术带来的革命。…...

PyTorch 2.8镜像代码实例:调用torch.compile加速ViT模型推理实测

PyTorch 2.8镜像代码实例:调用torch.compile加速ViT模型推理实测 1. 环境准备与快速验证 在开始之前,让我们先确认环境是否正常工作。这个PyTorch 2.8镜像已经预装了所有必要的深度学习组件,包括CUDA 12.4和cuDNN 8,专为RTX 409…...

Gemma-4-26B-A4B-it-GGUF实操手册:GPU温度监控+功耗限制+llama_cpp推理线程数调优指南

Gemma-4-26B-A4B-it-GGUF实操手册:GPU温度监控功耗限制llama_cpp推理线程数调优指南 1. 项目概述 Gemma-4-26B-A4B-it-GGUF是Google Gemma 4系列中的高性能MoE(混合专家)聊天模型,具备256K tokens的超长上下文处理能力&#xff…...

real-anime-z GPU算力适配教程:低显存(6GB)设备部署与量化方案

real-anime-z GPU算力适配教程:低显存(6GB)设备部署与量化方案 1. 模型简介 real-anime-z是基于Z-Image的LoRA版本的真实动画图片生成模型,专注于生成高质量的动漫风格图像。该模型特别针对低显存设备进行了优化,使其…...

神经渲染新范式:体素渲染技术全解析与实战指南

神经渲染新范式:体素渲染技术全解析与实战指南 引言 从《阿凡达》的奇幻世界到元宇宙的数字分身,高质量三维内容的创建正经历一场由神经渲染驱动的革命。其中,体素渲染(Voxel-based Neural Rendering)作为神经辐射场…...

Blender3mfFormat:Blender专业3D打印格式转换终极指南

Blender3mfFormat:Blender专业3D打印格式转换终极指南 【免费下载链接】Blender3mfFormat Blender add-on to import/export 3MF files 项目地址: https://gitcode.com/gh_mirrors/bl/Blender3mfFormat Blender3mfFormat是一个功能强大的Blender插件&#xf…...

JetBrains IDE试用期重置工具:开发者必备的高效解决方案

JetBrains IDE试用期重置工具:开发者必备的高效解决方案 【免费下载链接】ide-eval-resetter 项目地址: https://gitcode.com/gh_mirrors/id/ide-eval-resetter 在当今快速发展的软件开发领域,JetBrains系列IDE凭借其卓越的代码智能提示、强大的…...

YC 总裁开源了自己亲手写的 AI Agent 大脑,1 周就 1 万点赞。

还记得之前那个特别火的 GStack 吗?我前几天也发过文章介绍过。就是 Y Combinator 现任总裁兼 CEO Garry Tan 开源的那套专门给 AI 写代码用的 Skill 工作流,目前 7 万 Star。每天有 3 万开发者在用,在 Claude Code 圈子里基本算是贼火模板了。就在前几…...

MCMC方法解析:从蒙特卡洛到吉布斯采样与Metropolis-Hastings

1. 概率推断的挑战与蒙特卡洛方法的局限在机器学习和统计建模中,我们经常需要从概率模型中估计期望值或概率密度。想象你是一位数据分析师,面对一个包含数十个变量的复杂数据集,需要预测某个事件发生的概率。直接计算这个概率往往如同在迷宫中…...

HsMod:基于BepInEx的炉石传说插件开发框架深度解析

HsMod:基于BepInEx的炉石传说插件开发框架深度解析 【免费下载链接】HsMod Hearthstone Modification Based on BepInEx 项目地址: https://gitcode.com/GitHub_Trending/hs/HsMod HsMod是一款基于BepInEx插件框架的炉石传说游戏修改工具,通过50多…...

哔哩下载姬DownKyi:5分钟掌握B站视频下载的终极免费方案

哔哩下载姬DownKyi:5分钟掌握B站视频下载的终极免费方案 【免费下载链接】downkyi 哔哩下载姬downkyi,哔哩哔哩网站视频下载工具,支持批量下载,支持8K、HDR、杜比视界,提供工具箱(音视频提取、去水印等&…...

ChatGPT在学术研究中的高效应用与数据分析技巧

1. ChatGPT在学术研究中的革命性应用作为一名长期从事数据分析和学术研究的实践者,我见证了AI工具如何逐步改变我们的研究方式。ChatGPT这类大型语言模型的出现,为研究者提供了一个前所未有的智能助手。它不仅能快速处理海量文献,还能协助进行…...

跳出“暴力美学”:一个模块化、类脑的大模型架构构想(大模型的思考:三)

跳出“暴力美学”之后:一次模块化大模型构想的自我纠偏与落地思考从“同步振荡”到“语法骨架”,从“词不达意”到失语症证据——一场关于解耦智能的思想实验如何走向严谨写在前面之前,我发表了一篇《跳出“暴力美学”:一个模块化…...

基于安卓的农产品价格实时监测系统毕设源码

博主介绍:✌ 专注于Java,python,✌关注✌私信我✌具体的问题,我会尽力帮助你。一、研究目的本研究旨在设计并实现一种基于安卓平台的农产品价格实时监测系统以解决传统农产品价格信息获取方式存在的时效性不足与信息不对称问题。当前农产品市场存在价格波…...

UE5编辑器进阶:深入理解‘一个Actor一个文件’(OFPA)的底层逻辑与调试技巧

UE5编辑器进阶:深入理解‘一个Actor一个文件’(OFPA)的底层逻辑与调试技巧 当你在World Partition场景中移动一个静态网格体后,发现关卡文件(.umap)的修改日期纹丝不动,而内容浏览器里却多出一个新生成的.uasset文件—…...

Flux2-Klein-9B-True-V2惊艳效果:雨滴在玻璃表面的动态轨迹模拟

Flux2-Klein-9B-True-V2惊艳效果:雨滴在玻璃表面的动态轨迹模拟 1. 模型能力概览 Flux2-Klein-9B-True-V2是基于官方FLUX.2 [klein] 9B改进的文生图/图生图模型,具备以下核心功能: 文生图(Text-to-Image):根据文字描述生成高质…...

推测解码技术:提升大语言模型推理效率的关键策略

1. 从理论到实践:为什么每个ML从业者都该了解推测解码上周调试大语言模型推理时,我盯着GPU监控面板上25%的利用率直摇头——这些昂贵的计算资源就像高峰期空驶的出租车,明明可以搭载更多乘客却白白浪费着燃油。这正是推测解码(Spe…...

不止于华文细黑:在Unity中为你的游戏UI打造一套完整的字体资产管理方案(含TextMeshPro)

不止于华文细黑:在Unity中为你的游戏UI打造一套完整的字体资产管理方案(含TextMeshPro) 当游戏UI中的文字从"任务完成"变成"你拯救了这片大陆的最后希望",字体就不再只是信息的载体,而是情感传递的…...

Python时间序列分析:趋势检测与提取实战指南

1. 时间序列分析中的趋势信息处理时间序列数据中的趋势信息就像心电图中的基线漂移——它可能掩盖真实的波动特征。作为数据分析师,我们常需要像外科医生一样精准地分离趋势成分和季节波动。Python生态提供了多种"手术工具",从简单的移动平均到…...

BitNet b1.58部署入门必看:从supervisord启动到Gradio交互完整流程

BitNet b1.58部署入门必看:从supervisord启动到Gradio交互完整流程 1. 项目概述 BitNet b1.58-2B-4T-gguf是一款极致高效的开源大模型,采用原生1.58-bit量化技术。这个模型最特别的地方在于它的权重只有-1、0、1三个值(平均1.58 bit&#x…...

WeDLM-7B-Base参数详解:Max Tokens设为512时的截断风险与应对策略

WeDLM-7B-Base参数详解:Max Tokens设为512时的截断风险与应对策略 1. 模型概述与核心特性 WeDLM-7B-Base是一款基于扩散机制(Diffusion)的高性能语言模型,拥有70亿参数规模。作为新一代基座模型,它在多个技术维度实现…...

GPU算力优化部署Qwen3-4B-Thinking:vLLM显存占用降低40%实操

GPU算力优化部署Qwen3-4B-Thinking:vLLM显存占用降低40%实操 1. 模型简介与优化背景 Qwen3-4B-Thinking-2507-Gemini-2.5-Flash-Distill是一个基于Qwen3-4B架构的文本生成模型,通过在大约5440万个由Gemini 2.5 Flash生成的token上进行训练,…...

Phi-3.5-mini-instruct网页版交互设计:支持快捷键提交、历史记录搜索、会话导出

Phi-3.5-mini-instruct网页版交互设计:支持快捷键提交、历史记录搜索、会话导出 1. 产品概述 Phi-3.5-mini-instruct是一款轻量级但功能强大的中文文本生成模型,专为日常办公和内容创作场景优化。相比传统需要编写代码的AI模型使用方式,这个…...

本地部署LLM API:Python实战指南

1. 项目概述:为什么需要本地LLM API?最近两年,大语言模型(LLM)的应用呈现爆发式增长。与直接调用云端API相比,本地部署的LLM具有三大不可替代的优势:数据隐私性强(所有计算在本地完成…...

Qudit稳定器模拟器:高维量子计算的高效解决方案

1. Qudit稳定器模拟器的核心价值 量子计算领域长期面临一个根本矛盾:理论上量子比特(qubit)可以指数级加速特定计算任务,但实际硬件中量子态的脆弱性导致错误率居高不下。传统纠错方案需要消耗大量物理资源,而高维量子…...

HsMod终极指南:如何通过55项功能彻底改造你的炉石传说游戏体验

HsMod终极指南:如何通过55项功能彻底改造你的炉石传说游戏体验 【免费下载链接】HsMod Hearthstone Modification Based on BepInEx 项目地址: https://gitcode.com/GitHub_Trending/hs/HsMod 在《炉石传说》这款全球流行的卡牌游戏中,你是否曾想…...

手机号码定位革命性工具:从陌生来电到精准地理定位的智能解决方案

手机号码定位革命性工具:从陌生来电到精准地理定位的智能解决方案 【免费下载链接】location-to-phone-number This a project to search a location of a specified phone number, and locate the map to the phone number location. 项目地址: https://gitcode.…...

Trae写作神器:打造爆款博文的终极指南

Trae写博文全攻略:从工具配置到爆款产出 Trae虽然是字节跳动推出的AI原生IDE,但它天生适合长文本创作——内置Claude 3.7等顶级模型、支持200万+字超长上下文、文件级内容管理、智能体技能封装和完整版本追踪,这些都是传统写作工具无法比拟的优势。以下是经过大量创作者验证…...

新手必看!IndexTTS 2.0快速入门:上传音频+文字,一键生成配音

新手必看!IndexTTS 2.0快速入门:上传音频文字,一键生成配音 你是不是也遇到过这样的烦恼?想给自己的短视频配个音,但自己的声音不够好听,或者想模仿某个角色的声音,却不知道从何下手&#xff1…...