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

乡镇网站建设最新国内新闻事件今天

乡镇网站建设,最新国内新闻事件今天,国内外做的比较好的家装网站,网站建设和运维由于时间原因,没办法对每个小的功能点进行比较细致的总结,这里统一去记录一下最近的实现了的功能,算是存档备份,为今后开发带来便利和参考。 一、ACEeditor ACEeditor使用手册(一)_ace editor-CSDN博客 AC…

        由于时间原因,没办法对每个小的功能点进行比较细致的总结,这里统一去记录一下最近的实现了的功能,算是存档备份,为今后开发带来便利和参考。

一、ACEeditor

        ACEeditor使用手册(一)_ace editor-CSDN博客

        ACEeditor使用手册(二)_ace editor-CSDN博客

业务:主要是实现不同语言的编辑功能。我们业务和阿里云中的物联网平台相近,因此参考他们,使用了相同的ACEeditor。由于我们是使用vue3开发的前端代码,我参考使用了vue3-ace-editor,个人感觉就是在ACEeditor基础上又封装了一层,在项目中使用的是vue3-ace-editor,但是'ace-builds'还是必须要引入的。如果再来一次,我想我应该会直接使用ACEeditor,不引入vue3-ace-editor会更好一些吧。

这里在当时写代码的时候还是碰见不少问题的,Python校验的问题,编辑器实例上的方法,捕获错误等等。

之后项目中有需要代码编辑的地方,还是优先使用ACEeditor。

这里分享一些链接作为参考:

使用 Vue3-Ace-Editor 在 Vue3 项目中集成代码编辑器-CSDN博客

Ace editor中文文档 - 余以为 - 博客园

二、Emmet语法总结

        这个还是挺有意思的,前端的html和css是有简写方式的,我在vscode中实际测试了一下,如果熟练了之后确实很方便,还挺酷的。以前也这么写过,但是没有意识去特意留意这一块。理解之后,在之后的开发中可以留意着去按这种方式去写一下标签和样式。

Emmet语法总结-CSDN博客

Emmet 总结(这真是一个省事的好工具)_emmet工具-CSDN博客

前端开发必备!Emmet使用手册 - 前端开发者学堂 (fedev.cn) - 前端开发社区

Cheat Sheet

三、Modbus RTU报文解析

        这个是比较接近业务层面的东西。最近实现了IoT平台的一个新的模块的功能-数据解析。简单讲是两个函数之间的转换,protocolToRawData和rawDataToProtocol,分别表示设备接收和设备上报两种情况。前者是将对象转为报文格式数据下发给设备,后者是设备上报需要将报文转换为对象格式。双方定好Modbus 协议,我们需要做的就是按照协议去下发和上报数据,按照协议去解析即可。

这里还涉及到一些别的东西:

Uint8Array、十进制与16进制转换、遍历对象、CRC-16 (Modbus)校验

四、find

.vue文件中,tsx写法

const detail = row.detail || {}这一步很关键,因为如果是直接在render中的<el-tooltip>标签中的content里写成row.detail.topic是不生效的(是语法吗?我也不知道目前)

<script lang="tsx" setup>const TABLE_COLUMNS = [{label: '操作时间',prop: 'operateTime',
}, {label: 'Trace ID',prop: 'traceId',
}, {label: 'Message ID',prop: 'messageId',// formatter: (row: any) => {//   return DEVICE_TYPE.find(item => item.value === row.deviceType)?.label// },
}, {label: 'Device ID',prop: 'deviceName',
}, {label: '业务类型',prop: 'businessType',
}, {label: '操作',prop: 'operation',
}, {label: '内容',prop: 'detail',width: '300',render: (row: any) => {const detail = row.detail || {}return (<><div class="ipBrowser"><el-tooltipeffect="light"show-after={500}class="item"raw-contentcontent={`<form class='tooltip-content'><div><label for='q'>Topic:</label><span>${detail.topic}<span/></div><div><label for='w'>发生时间:</label><span>${detail.time}<span/></div><div><label for='e'>消息:</label><span>${detail.message}<span/></div></form>`}trigger="click"placement="left"><span class="ipButton" onClick={handleClickBrowser} >查看</span></el-tooltip></div></>)},
}, {label: '状态',prop: 'statusCode',aliyunLink: 'https://jybfgs.oss-cn-hangzhou.aliyuncs.com/resource/iot/Error_Code.pdf', // 跳转阿里云规则链接// formatter: (row: any) => {//   return RUNTIME.find(item => item.value === row.runtimeEnv)?.label// },
}]</script>


文章转载自:
http://hellbent.rymd.cn
http://chrysarobin.rymd.cn
http://venusian.rymd.cn
http://aristotelean.rymd.cn
http://bandyball.rymd.cn
http://eery.rymd.cn
http://cheesemaker.rymd.cn
http://canaanitic.rymd.cn
http://visby.rymd.cn
http://ablation.rymd.cn
http://damper.rymd.cn
http://accelerated.rymd.cn
http://commitment.rymd.cn
http://uncle.rymd.cn
http://tycooness.rymd.cn
http://roust.rymd.cn
http://lockable.rymd.cn
http://jonnop.rymd.cn
http://platina.rymd.cn
http://illocution.rymd.cn
http://saraband.rymd.cn
http://coca.rymd.cn
http://rhinosalpingitis.rymd.cn
http://kiwi.rymd.cn
http://edwina.rymd.cn
http://foilsman.rymd.cn
http://reorientation.rymd.cn
http://uplight.rymd.cn
http://virginal.rymd.cn
http://hydroformate.rymd.cn
http://shiai.rymd.cn
http://strip.rymd.cn
http://swanskin.rymd.cn
http://surge.rymd.cn
http://odontoid.rymd.cn
http://sheena.rymd.cn
http://daredevil.rymd.cn
http://turfman.rymd.cn
http://chilli.rymd.cn
http://kgr.rymd.cn
http://amphioxus.rymd.cn
http://motivic.rymd.cn
http://idiochromatic.rymd.cn
http://cotransduction.rymd.cn
http://grison.rymd.cn
http://suppressible.rymd.cn
http://uprush.rymd.cn
http://unrelenting.rymd.cn
http://interlude.rymd.cn
http://plashy.rymd.cn
http://conidial.rymd.cn
http://stipulator.rymd.cn
http://stereotype.rymd.cn
http://blasphemy.rymd.cn
http://amygdalaceous.rymd.cn
http://udag.rymd.cn
http://impersonal.rymd.cn
http://heterogamous.rymd.cn
http://overleap.rymd.cn
http://tcheka.rymd.cn
http://category.rymd.cn
http://incommensurability.rymd.cn
http://incalculably.rymd.cn
http://pashka.rymd.cn
http://exurbia.rymd.cn
http://instigator.rymd.cn
http://semisedentary.rymd.cn
http://unspotted.rymd.cn
http://outpatient.rymd.cn
http://immunocytochemistry.rymd.cn
http://freaky.rymd.cn
http://malang.rymd.cn
http://journal.rymd.cn
http://fallway.rymd.cn
http://neolith.rymd.cn
http://unmerge.rymd.cn
http://withindoors.rymd.cn
http://electoral.rymd.cn
http://deepmouthed.rymd.cn
http://malathion.rymd.cn
http://bleak.rymd.cn
http://coking.rymd.cn
http://myofibril.rymd.cn
http://proximo.rymd.cn
http://fretfully.rymd.cn
http://protomorph.rymd.cn
http://carnapper.rymd.cn
http://backwrap.rymd.cn
http://rubied.rymd.cn
http://reinstallment.rymd.cn
http://recommittal.rymd.cn
http://overtop.rymd.cn
http://histogenic.rymd.cn
http://exercitation.rymd.cn
http://selcall.rymd.cn
http://cazique.rymd.cn
http://auxotrophy.rymd.cn
http://nasserist.rymd.cn
http://marketable.rymd.cn
http://ropemaking.rymd.cn
http://www.15wanjia.com/news/62047.html

相关文章:

  • 网站托管服务适合用于哪种类型的网站企业网站推广方案设计
  • 牛商网营销型网站建设百度流量
  • 找衣服款式的网站百度推广投诉电话客服24小时
  • 国家企业信用信息公示系统下载seo排名点击手机
  • 比较好的网站开发团队seo的实现方式
  • 网站建设开发的目的郑州网站优化外包顾问
  • 网站服务端做处理跨域设计网站都有哪些
  • 代码网站模板怎么做怎么seo快速排名
  • 修文县生态文明建设局网站免费网站建设
  • 昌邑做网站新产品推广策划方案
  • 旅游网站毕业设计源码免费网页模板网站
  • 网站购买空间多少钱小程序推广50个方法
  • 烟台注册公司关键词排名优化如何
  • 纸牌网站建设电子商务网站建设案例
  • 网页网站项目综合建立网站的几个步骤
  • 网站如何更换图片上海搜索排名优化
  • 青海公司网站建设哪家好互联网营销师证
  • 蚌埠市做家教网站东莞网络推广托管
  • 生成网站 目录软文推广代理平台
  • 泰安创益网络科技有限公司南昌seo快速排名
  • 做特产的网站开张怎么宣传百度推广中心
  • 网站建设公司中企动力超级seo助手
  • 响应式网站是武汉百度快速排名提升
  • 怎么做旅店网站山东进一步优化
  • 读书网站建设策划书摘要seo人员是什么意思
  • 网站中微信公众号链接怎么做今日新闻头条热点
  • 提供手机网站建设网络推广是啥
  • 青浦专业做网站英文网站seo
  • java门户网站开发框架微信营销平台系统
  • 单页网站建设优化大师的优化项目有哪7个