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

购买了网站空间如何进入普通话手抄报文字内容

购买了网站空间如何进入,普通话手抄报文字内容,wordpress 支付下载,做网站广告多少钱用于页面中展示重要的提示信息。 常见于消息提示或警告框。 1.如何使用&#xff1f; 页面中的非浮层元素&#xff0c;不会自动消失。 //Alert 组件提供四种主题&#xff0c;由type属性指定&#xff0c;默认值为info。<template><el-alerttitle"成功提示的文案&…

用于页面中展示重要的提示信息。

常见于消息提示或警告框。

1.如何使用?

页面中的非浮层元素,不会自动消失。

//Alert 组件提供四种主题,由type属性指定,默认值为info。<template><el-alerttitle="成功提示的文案"type="success"></el-alert><el-alerttitle="消息提示的文案"type="info"></el-alert><el-alerttitle="警告提示的文案"type="warning"></el-alert><el-alerttitle="错误提示的文案"type="error"></el-alert>
</template>

2.主题

Alert 组件提供了两个不同的主题:lightdark

//通过设置effect属性来改变主题,默认为light。<template><el-alerttitle="成功提示的文案"type="success"effect="dark"></el-alert><el-alerttitle="消息提示的文案"type="info"effect="dark"></el-alert><el-alerttitle="警告提示的文案"type="warning"effect="dark"></el-alert><el-alerttitle="错误提示的文案"type="error"effect="dark"></el-alert>
</template>

3.自定义关闭按钮

自定义关闭按钮为文字或其他符号。

/*在 Alert 组件中,你可以设置是否可关闭,关闭按钮的文本以及关闭时的回调函数。closable属性决定是否可关闭,接受boolean,默认为true。你可以设置close-text属性来代替右侧的关闭图标,注意:close-text必须为文本。设置close事件来设置关闭时的回调。*/<template><el-alerttitle="不可关闭的 alert"type="success":closable="false"></el-alert><el-alerttitle="自定义 close-text"type="info"close-text="知道了"></el-alert><el-alerttitle="设置了回调的 alert"type="warning"@close="hello"></el-alert>
</template><script>export default {methods: {hello() {alert('Hello World!');}}}
</script>

4.带有 icon

表示某种状态时提升可读性。

//通过设置show-icon属性来显示 Alert 的 icon,这能更有效地向用户展示你的显示意图。<template><el-alerttitle="成功提示的文案"type="success"show-icon></el-alert><el-alerttitle="消息提示的文案"type="info"show-icon></el-alert><el-alerttitle="警告提示的文案"type="warning"show-icon></el-alert><el-alerttitle="错误提示的文案"type="error"show-icon></el-alert>
</template>

5.文字居中

使用 center 属性让文字水平居中

<template><el-alerttitle="成功提示的文案"type="success"centershow-icon></el-alert><el-alerttitle="消息提示的文案"type="info"centershow-icon></el-alert><el-alerttitle="警告提示的文案"type="warning"centershow-icon></el-alert><el-alerttitle="错误提示的文案"type="error"centershow-icon></el-alert>
</template>

 6.带有辅助性文字介绍

包含标题和内容,解释更详细的警告。

//除了必填的title属性外,你可以设置description属性来帮助你更好地介绍,我们称之为辅助性文字。辅助性文字只能存放单行文本,会自动换行显示。<template><el-alerttitle="带辅助性文字介绍"type="success"description="这是一句绕口令:黑灰化肥会挥发发灰黑化肥挥发;灰黑化肥会挥发发黑灰化肥发挥。 黑灰化肥会挥发发灰黑化肥黑灰挥发化为灰……"></el-alert>
</template>

 7.带有 icon 和辅助性文字介绍

//这是一个同时具有 icon 和辅助性文字的样例。<template><el-alerttitle="成功提示的文案"type="success"description="文字说明文字说明文字说明文字说明文字说明文字说明"show-icon></el-alert><el-alerttitle="消息提示的文案"type="info"description="文字说明文字说明文字说明文字说明文字说明文字说明"show-icon></el-alert><el-alerttitle="警告提示的文案"type="warning"description="文字说明文字说明文字说明文字说明文字说明文字说明"show-icon></el-alert><el-alerttitle="错误提示的文案"type="error"description="文字说明文字说明文字说明文字说明文字说明文字说明"show-icon></el-alert>
</template>

 

http://www.pjxw.cn/news/26196.html

相关文章:

  • 顺德网站建设怎么样网站排名优化手机
  • 网站 自适应文字大小怎么做南京seo优化推广
  • 新媒体做图网站山西疫情最新情况
  • 经销商怎么做网站怎样做好销售和客户交流
  • 注册网站空间深圳百度推广竞价托管
  • 列举五种常用的网站推广方法推广seo是什么意思
  • wordpress站群的作用免费一键生成个人网站
  • 在58同城做网站有生意吗山东关键词优化联系电话
  • 广东建设行业招聘 什么网站好看的网页设计作品
  • 企业网站建设联系电话百度指数官网
  • asp.net做网站头部和尾部_都用什么来实现百度竞价app
  • 相城高端网站建设营销策略有哪些
  • 淘宝网站c 设计怎么做的百度站内搜索提升关键词排名
  • 专业的营销型网站制作企业网站设计公司
  • 合肥市城乡建设局网站黄页网
  • 专门做网站的appseo发外链工具
  • 兄弟网站制作怎样让自己的网站排名靠前
  • 外卖网站那家做的好处珠海网站建设优化
  • 网站建设期间注意事项网站运营
  • 做阿里云网站微博推广
  • 某网站网站的设计与实现颜色广告
  • 广州seo网站推广顾问凡科建站后属于自己的网站吗
  • 全网营销推广网站建设百度推广信息流有用吗
  • dede网站搬家 空间转移的方法排名轻松seo 网站推广
  • 网站建设品牌好网盘搜索
  • 慈善组织网站建设方案百度关键词搜索量查询
  • 如何免费做视频二维码永久博客网站seo
  • 工信部isp申请网站广州营销seo
  • 阿里云ncs 建设网站青岛关键词网站排名
  • 做游戏解说上传在什么网站好360网站推广登录