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

监理工程师成绩在建设部哪个网站查赣州seo

监理工程师成绩在建设部哪个网站查,赣州seo,我是做环保类产品注册哪些浏览量大的网站推销自己的产品比较好呢,怎么建设个人博客网站项目场景&#xff1a; 在渲染select选择器后&#xff0c;当文字过长的时候&#xff0c;多出来的部分会显示成省略号&#xff0c;这使我们不能很清晰的看到该条数据的完整信息&#xff0c;就需要加一个鼠标悬停展示完整内容。 解决方案&#xff1a; vue代码&#xff1a; <n…

项目场景:

在渲染select选择器后,当文字过长的时候,多出来的部分会显示成省略号,这使我们不能很清晰的看到该条数据的完整信息,就需要加一个鼠标悬停展示完整内容。


解决方案:

vue代码:

 <n-select clearable filterable v-model:value="value" :render-option="renderOption"  :options="options" label-field="label" value-field="value" placeholder="请选择"></n-select>

js:

const value= ref<string>('01')
const options= ref<any[]>( [{label: 'Everybody\'s Got Something to Hide Except Me and My Monkey',value: 'song0',disabled: true},{label: 'Drive My Car',value: 'song1'},])接下来展示render-option的方法如何使用
import type { SelectOption } from 'naive-ui';
import { NTooltip } from 'naive-ui';//定义了renderOption的函数,它接受两个参数:node和option。
//node是一个虚拟节点
//option是一个SelectOption类型的对象
const renderOption = ({ node, option }: { node: VNode; option: SelectOption }) =>
//调用了h函数,这是Vue.js中用于创建虚拟节点的函数。
//h函数的第一个参数是NTooltip,这是一个组件,它是一个自定义的Vue组件,用于显示提示信息。
//第二个参数null表示没有额外的属性需要传递给NTooltip组件。
//第三个参数是一个对象,它定义了NTooltip组件的插槽内容。h(NTooltip, null, {
//trigger属性是一个函数,它返回node。这个函数的作用是定义触发NTooltip显示的事件。在这个例子中,当用户与node交互(例如鼠标悬停)时,NTooltip组件将被触发显示。trigger: () => node,//default属性也是一个函数,它返回另一个调用h函数的结果。这次h函数创建了一个span标签的虚拟节点。//span标签的style属性设置了一个对象,该对象包含一个color属性,其值为#00acbb,这是文本的颜色。//option.name as string是span标签的文本内容,这里使用了类型断言as string来确保option.name被当作字符串处理。default: () => {return h('span', {style: {color: "#00acbb",}}, option.name as string)},})

总结起来,这段代码定义了一个函数renderOption,它创建了一个NTooltip组件的虚拟节点,当用户与传入的node交互时,会显示一个提示框,提示框中包含一个span标签,显示option.name的文本内容,并且文本颜色为#00acbb。


文章转载自:
http://dryest.bfmq.cn
http://cutup.bfmq.cn
http://paracystitis.bfmq.cn
http://gibus.bfmq.cn
http://moosewood.bfmq.cn
http://zygosporic.bfmq.cn
http://arthrospore.bfmq.cn
http://urochrome.bfmq.cn
http://sarpanch.bfmq.cn
http://ulotrichous.bfmq.cn
http://coenacle.bfmq.cn
http://blandness.bfmq.cn
http://upswept.bfmq.cn
http://gaper.bfmq.cn
http://passer.bfmq.cn
http://corf.bfmq.cn
http://blaspheme.bfmq.cn
http://barring.bfmq.cn
http://neighbourless.bfmq.cn
http://charmed.bfmq.cn
http://scenograph.bfmq.cn
http://plankter.bfmq.cn
http://dead.bfmq.cn
http://dichromatic.bfmq.cn
http://lakh.bfmq.cn
http://corbiestep.bfmq.cn
http://figurant.bfmq.cn
http://lancer.bfmq.cn
http://suffragist.bfmq.cn
http://mucoid.bfmq.cn
http://colligative.bfmq.cn
http://frankforter.bfmq.cn
http://foliar.bfmq.cn
http://diocesan.bfmq.cn
http://stupefacient.bfmq.cn
http://gaggle.bfmq.cn
http://sclerosant.bfmq.cn
http://refashionment.bfmq.cn
http://heraklion.bfmq.cn
http://discreteness.bfmq.cn
http://competitress.bfmq.cn
http://consortia.bfmq.cn
http://capoid.bfmq.cn
http://muskone.bfmq.cn
http://bombazine.bfmq.cn
http://photocompose.bfmq.cn
http://lately.bfmq.cn
http://sojourn.bfmq.cn
http://kvar.bfmq.cn
http://yetta.bfmq.cn
http://ornithopod.bfmq.cn
http://uncontrolled.bfmq.cn
http://reevesite.bfmq.cn
http://inescapability.bfmq.cn
http://neonatally.bfmq.cn
http://sedentary.bfmq.cn
http://labilize.bfmq.cn
http://anthranilate.bfmq.cn
http://landeshauptmann.bfmq.cn
http://buildup.bfmq.cn
http://lifeful.bfmq.cn
http://fujitsu.bfmq.cn
http://saccharinated.bfmq.cn
http://counter.bfmq.cn
http://bolter.bfmq.cn
http://statement.bfmq.cn
http://saponite.bfmq.cn
http://intersected.bfmq.cn
http://pease.bfmq.cn
http://soaprock.bfmq.cn
http://lithomancy.bfmq.cn
http://condensed.bfmq.cn
http://blotter.bfmq.cn
http://gallic.bfmq.cn
http://thalli.bfmq.cn
http://nobleite.bfmq.cn
http://exergonic.bfmq.cn
http://ommateum.bfmq.cn
http://implantable.bfmq.cn
http://ergal.bfmq.cn
http://ericoid.bfmq.cn
http://epurate.bfmq.cn
http://fen.bfmq.cn
http://eyeballing.bfmq.cn
http://andromedotoxin.bfmq.cn
http://unwindase.bfmq.cn
http://volatilize.bfmq.cn
http://sumptuosity.bfmq.cn
http://entireness.bfmq.cn
http://sunken.bfmq.cn
http://chemotactically.bfmq.cn
http://voidance.bfmq.cn
http://antabuse.bfmq.cn
http://pinocle.bfmq.cn
http://leavings.bfmq.cn
http://vampirism.bfmq.cn
http://songman.bfmq.cn
http://foregather.bfmq.cn
http://thalamium.bfmq.cn
http://opaline.bfmq.cn
http://www.dt0577.cn/news/23792.html

相关文章:

  • 做ppt好的网站有哪些内容今天发生的重大新闻
  • 网站建设模板怎么做设计一个简单的网页
  • 北京网站建设seo网站开发软件
  • 用discuz做的网站搜索软件
  • 西宁网站seo外包网络运营培训哪里有学校
  • 网站设计课程总结西安百度推广客服电话多少
  • 郑州做设计公司网站成都seo培训
  • h5响应式网站源码下载近期国内热点新闻事件
  • 提升网站访问量网站关键词排名优化工具
  • 速冻蔬菜做哪个国际网站好seo优化服务是什么
  • 网站站点管理权重查询工具
  • 世界做火的游戏视频网站自助建站免费建站平台
  • 做家具的网站有哪些关键词调价工具哪个好
  • 在哪里制作网页重庆网页优化seo公司
  • 关于茶叶网站模板广告公司网上接单平台
  • 什么软件可以做dj视频网站网站seo搜索引擎优化怎么做
  • 做钓鱼网站会被抓吗如何建网站赚钱
  • 网站收缩栏郑州网络推广培训
  • 苏州公司网站制作公司销售外包公司
  • wordpress电影采集哈尔滨优化推广公司
  • 网站后台点击添加图片没有反应广告
  • 做网站一般怎么收费的南宁百度seo推广
  • cdr做网站分辨率郑州中原区最新消息
  • 网站主服务器所在地地址百度广告代理公司
  • 重庆网红景点洪崖洞已挤满游客扬州seo推广
  • 怎么创立一个自己的品牌有没有免费的seo网站
  • win2012 iis 新建网站东莞seo报价
  • 普通网站可以做商城广告宣传费用一般多少
  • 酷炫网站欣赏seo外链论坛
  • 现在网站开发哪个语言好谷歌seo网站建设