服务型网站建设的主题网站制作收费标准

张小明 2026/1/6 13:38:33
服务型网站建设的主题,网站制作收费标准,咸宁有做网站的吗,wordpress远程安装教程组件概述 DevUI的Quadrant Diagram是一个支持拖拽交互的四象限图组件#xff0c;主要用于可视化数据分类#xff0c;这个组件特别适合用于优先级管理、能力评估、决策分析等需要将项目或数据进行四象限分类展示的场景。它基于Angular 18.0.0版本#xff0c;属于DevUI设计体系…组件概述DevUI的Quadrant Diagram是一个支持拖拽交互的四象限图组件主要用于可视化数据分类这个组件特别适合用于优先级管理、能力评估、决策分析等需要将项目或数据进行四象限分类展示的场景。它基于Angular 18.0.0版本属于DevUI设计体系的一部分遵循“高效、开放、可信、乐趣”的设计价值观。基本用法示例1. 基本象限图基本用法展示了如何创建一个基本功能的四象限图常用于类似“重要-紧急”矩阵的场景。HTML模板代码!-- 可拖拽列表 --sectiondivclassrowdivclasscol-sm-3divclasscarddivclasscard-headerDraggable items/divdivclasscard-blockulclasslist-grouplidDraggable*ngForlet item of list[dragData]{ item: item, parent: list }classlist-group-item over-flow-ellipsis{{ item.title }}/li/ul/div/div/div/div/section!-- 象限图组件 --d-quadrant-diagram[labelData]labelData[diagramId]basic-quadrant-diagram(dropEvent)dropEvent($event)/d-quadrant-diagramTypeScript组件代码import{Component}fromangular/core;import{ILabelDataConfigs}fromng-devui/quadrant-diagram;Component({selector:d-basic,templateUrl:./basic.component.html,styleUrls:[./basic.component.scss],})exportclassBasicComponent{labelData:ArrayILabelDataConfigs[];list[{title:First level,content:pFirst level target/ppValue 3/ppUrgency 3/ppPriority 3/p,progress:40},{title:Feature target,content:pFeature target/ppValue 3/ppUrgency 3/ppPriority 3/p,progress:30},{title:Secondary,content:pSecondary target/ppValue3/ppUrgency 3/ppPriority 3/p,progress:20},{title:Three-level,content:pThree-level target/ppValue3/ppUrgency 3/ppPriority 3/p,progress:10},];dropEvent(item){constdroppedItemthis.list.map((e)e.title).indexOf(item.dragData.item.title);if(droppedItem!-1){this.list.splice(droppedItem,1);}constlabel{title:item.dragData.item.title,content:item.dragData.item.content,x:item.xAxisValue,y:item.yAxisValue,progress:item.dragData.item.progress,};constlabelIndexthis.labelData.map((e)e.title).indexOf(label.title);if(labelIndex!-1){this.labelData.splice(labelIndex,1);}this.labelData.push(label);// Place the dragged data on the quadrant graph to display}}scss代码import~ng-devui/styles-var/devui-var.scss;section{margin-bottom:20px!important;user-select:none;}.row{overflow:hidden;}.col-sm-3{float:left;position:relative;min-height:1px;padding-right:16px;padding-left:16px;min-width:220px;width:220px;}.list-group .list-group-item{padding:0 16px;}.drag-border{border:$devui-brand dashed 1px;}.drag-handle{cursor:move;/* fallback if grab cursor is unsupported */cursor:grab;cursor:-moz-grab;cursor:-webkit-grab;}.drag-handle:active{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing;}.drag-hint-border{border:$devui-success dashed 2px;}.drag-over-border{border:$devui-warning dashed 2px;}.card{border:1px solid $devui-dividing-line;}.card .card-header{font-size:$devui-font-size-modal-title;padding:8px;}.list-group{margin-bottom:20px;padding:8px;}.list-group li{height:36px;line-height:36px;font-size:$devui-font-size-card-title;color:$devui-text;background:$devui-base-bg;box-shadow:$devui-shadow-length-base $devui-light-shadow;border-radius:$devui-border-radius;width:140px;margin:8px;text-align:center;}2. 配置自定义象限图高级配置允许你完全自定义象限图的各个方面包括坐标轴、象限样式等。HTML模板代码sectiondivclassrowdivclasscol-sm-3divclasscarddDroppable[dropScope]devui-quadrant-diagram(dropEvent)onDrop($event, list)divclasscard-headerDraggable items/divdivclasscard-blockulclasslist-grouplidDraggable*ngForlet item of list[dragScope]devui-quadrant-diagram[dragData]{ item: item, parent: list }classlist-group-item over-flow-ellipsis{{ item.title }}/li/ul/div/div/div/div/sectiond-quadrant-diagram[labelData]labelData[quadrantConfigs]quadrantConfigs[axisConfigs]axisConfigs[view]view[showToolbar]false[dropScope]devui-quadrant-diagram(dropEvent)dropEvent($event)/d-quadrant-diagramTypeScript组件代码import{Component}fromangular/core;import{IAxisConfigs,ILabelDataConfigs,IQuadrantConfigs,IViewConfigs}fromng-devui/quadrant-diagram;Component({selector:d-config,templateUrl:./config.component.html,styleUrls:[./config.component.scss],})exportclassConfigComponent{xWeight2;yWeight1;view:IViewConfigs{height:900,width:950,};list:ArrayILabelDataConfigs[{title:Mark,x:0,y:0,content:},{title:Jacob,x:0,y:0,content:},{title:John,x:0,y:0,content:},{title:Lily,x:0,y:0,content:},];axisConfigs:IAxisConfigs{xAxisLabel:Potential,yAxisLabel:Ability,xWeight:this.xWeight,yWeight:this.yWeight,};quadrantConfigs:ArrayIQuadrantConfigs[{title:Perfect,backgroundColor:rgba(232,240,253,0.4),color:rgba(81,112,255,0.5),},{title:Excellent,backgroundColor:rgba(232,240,253,0.2),color:rgba(81,112,255,0.5),},{title:Keep it up,backgroundColor:rgba(243,246,248,0.4),color:rgba(149,158,178,0.5),},{title:Full of potential,backgroundColor:rgba(232,240,253,0.2),color:rgba(81,112,255,0.5),},];labelData[{title:Rose,x:80,y:20,content:pRose的能力/pp能力值20/pp潜力值80/p,id:Rose}];onDrop(e:any,targetArray){letindexe.dropIndex;constfromIndexe.dragFromIndex;e.dragData.item.x0;e.dragData.item.y0;constiteme.dragData.item;if(-1!index){if(-1!fromIndexindexfromIndex){index--;}targetArray.splice(index,0,fromIndex-1?item:targetArray.splice(fromIndex,1)[0]);}else{targetArray.push(item);}if(fromIndex-1){this.removeItem(item,e.dragData.parent);}}removeItem(item:any,list:Arrayany){constindexlist.map((e)e.title).indexOf(item.title);list.splice(index,1);this.labelDataObject.assign([],list);}dropEvent(item){console.log(item);constdroppedItemthis.list.map((e)e.title).indexOf(item.dragData.item.title);if(droppedItem!-1){this.list.splice(droppedItem,1);}constlabel{title:item.dragData.item.title,content:p${item.dragData.item.title}的能力/pp能力值${item.yAxisValue*this.yWeight}/pp潜力值${item.xAxisValue*this.xWeight}/p,x:item.xAxisValue,y:item.yAxisValue,progress:item.dragData.item.progress,id:item.dragData.item.title,};constlabelIndexthis.labelData.map((e)e.id).indexOf(label.id);if(labelIndex!-1){this.labelData.splice(labelIndex,1);}// Place the dragged data on the quadrant graph to displaythis.labelData.push(label);}}scss代码import~ng-devui/styles-var/devui-var.scss;section{margin-bottom:20px!important;user-select:none;}.row{overflow:hidden;}.col-sm-3{float:left;position:relative;min-height:1px;padding-right:16px;padding-left:16px;min-width:220px;width:220px;}.list-group .list-group-item{padding:0 16px;}.drag-border{border:$devui-brand dashed 1px;}.drag-handle{cursor:move;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab;}.drag-handle:active{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing;}.drag-hint-border{border:$devui-success dashed 2px;}.drag-over-border{border:$devui-warning dashed 2px;}.card{border:1px solid $devui-dividing-line;}.card .card-header{font-size:$devui-font-size-modal-title;padding:8px;}.list-group{margin-bottom:20px;padding:8px;}.list-group li{height:36px;line-height:36px;font-size:$devui-font-size-card-title;color:$devui-text;background:$devui-base-bg;box-shadow:$devui-shadow-length-base $devui-light-shadow;border-radius:$devui-border-radius;width:120px;margin:8px;text-align:center;}核心API详解输入属性属性名类型默认值说明labelDataArray{title: string, color?: string, backgroundColor?: string}-必需定义四个象限的标签和样式diagramIdstring-象限图的唯一标识符quadrantConfigsobject{}象限的额外配置选项axisConfigsobject{}坐标轴的配置view[number, number][800, 600]图表的显示尺寸 [宽度, 高度]showToolbarbooleantrue是否显示工具栏dropScopestring-拖拽作用域用于匹配可放置区域输出事件事件名参数说明dropEvent{event: DragEvent, data: any}当项目被拖拽到象限中时触发拖拽指令指令属性说明dDraggable[dragData]使元素可拖拽dragData传递拖拽数据dDroppable[dropScope]定义可放置区域dropScope与dragScope匹配使用场景与最佳实践1. 项目管理优先级矩阵// 示例重要-紧急矩阵labelData[{title:立即处理,color:#fff,backgroundColor:#f66f6a},// 第一象限{title:计划执行,color:#333,backgroundColor:#fac20a},// 第二象限{title:授权处理,color:#333,backgroundColor:#e7fcf6},// 第三象限{title:避免干扰,color:#fff,backgroundColor:#a97af8}// 第四象限];2. 员工能力评估// 示例能力-潜力评估矩阵axisConfigs{xAxis:{name:当前能力,min:0,max:10},yAxis:{name:发展潜力,min:0,max:10}};3. 产品功能优先级// 示例价值-成本矩阵labelData[{title:高价值低成本,backgroundColor:#50d4ab},// 优先开发{title:高价值高成本,backgroundColor:#a97af8},// 战略投资{title:低价值低成本,backgroundColor:#fac20a},// 酌情考虑{title:低价值高成本,backgroundColor:#f66f6a}// 避免开发]; 实用技巧与注意事项拖拽范围匹配确保dDraggable的[dragScope]与dDroppable的[dropScope]或d-quadrant-diagram的[dropScope]值相同否则拖拽操作不会生效。数据绑定拖拽数据通过[dragData]传递可以包含项目数据和源数组引用便于在dropEvent中更新数据状态。响应式设计通过[view]属性调整图表尺寸确保在不同屏幕尺寸下正常显示。性能优化当拖拽项目较多时建议使用trackBy函数优化渲染性能。样式自定义通过labelData中的color和backgroundColor属性定制每个象限的视觉样式保持与整体设计系统一致。 总结DevUI的Quadrant Diagram组件是一个功能强大且灵活的拖拽式四象限图解决方案特别适合需要交互式数据分类的应用场景。它的主要优势包括开箱即用基本配置简单快速实现四象限分类功能高度可定制支持坐标轴、样式、尺寸等多维度自定义交互友好拖拽操作直观提供完整的事件处理机制企业级设计遵循DevUI设计规范与Angular生态完美集成无论是用于项目管理、决策分析还是数据可视化这个组件都能提供专业级的用户体验和开发效率。你可以根据实际需求选择基本用法或高级配置实现最适合你业务场景的象限图应用。参考文档MateChathttps://gitcode.com/DevCloudFE/MateChatMateChat官网https://matechat.gitcode.comDevUI官网https://devui.design/home
版权声明:本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

东莞知名网站推广网件路由器登录网址

Zotero Citation插件终极指南:让Word文献引用变得简单高效 【免费下载链接】zotero-citation Make Zoteros citation in Word easier and clearer. 项目地址: https://gitcode.com/gh_mirrors/zo/zotero-citation 在学术写作的漫长旅途中,文献引用…

张小明 2026/1/2 19:07:57 网站建设

上海做网站的公司有哪些牌子网官网

🚗🔥 一根同轴线,真的扛得住 4K 吗? ——从摄像头带宽算起,聊透车载 SerDes 接口选型 从摄像头带宽算起,聊透车载 SerDes 接口怎么选 写给: 被“4K / 8MP / Gbps”绕晕的产品经理 被 SerDes lane 数量折磨的硬件工程师 以及正在做 L2+ / L3 架构选型的人 一、先说句大…

张小明 2026/1/2 19:05:46 网站建设

网站开发专业找什么工作网站后台怎么上传文章

使用pytorch进行batch_size分批训练,并使用adam+lbfgs算法 数据探索 训练过程及结果 整批次训练与分批次训练对比 绘制结果对比曲线 绘制无序曲线对比结果图 使用pytorch神经网络进行波士顿房价预测 数据探索 训练过程及结果 import numpy as np import pandas as pd impor…

张小明 2026/1/4 4:32:19 网站建设

安徽建设厅网站证件查询wordpress自然志下载

第一章:空间转录组细胞注释提速3倍的核心逻辑在处理空间转录组数据时,细胞注释的效率直接影响整体分析流程的推进速度。传统方法依赖逐点比对参考图谱,计算开销大且耗时冗长。实现提速的关键在于将注释任务从“逐细胞匹配”转变为“区域级并行…

张小明 2026/1/4 12:18:16 网站建设

大兴模版网站建设哪家好网站建设招聘兼职

Wan2.2-T2V-A14B如何应对“先因后果”的时间逻辑关系? 在AI生成内容迈向影视级叙事的今天,一个看似简单却长期困扰行业的难题浮出水面:为什么AI生成的视频里,“爆炸”总比“点火”来得更快? 这并非玩笑。许多文本到视频…

张小明 2026/1/5 2:59:58 网站建设

电子商务网站建设行情大连网站制作方法

仿写文章Prompt 【免费下载链接】韭菜的自我修养电子版资源介绍分享 《韭菜的自我修养》电子版资源介绍本仓库提供《韭菜的自我修养》一书的电子版资源下载,包括PDF、MOBI和EPUB格式,方便读者在不同设备上阅读 项目地址: https://gitcode.com/Resource…

张小明 2026/1/5 4:10:21 网站建设