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

程序员给女朋友做的网站三字型布局的网站

程序员给女朋友做的网站,三字型布局的网站,投资公司的钱从哪里来,中交路建子公司最新排名用于展示操作进度#xff0c;告知用户当前状态和预期。 常见于操作流程进度或某项任务的状态。 1.如何使用#xff1f; Progress 组件设置percentage属性即可#xff0c;表示进度条对应的百分比#xff0c;必填#xff0c;必须在 0-100。通过 format 属性来指定进度条文字… 用于展示操作进度告知用户当前状态和预期。 常见于操作流程进度或某项任务的状态。 1.如何使用 Progress 组件设置percentage属性即可表示进度条对应的百分比必填必须在 0-100。通过 format 属性来指定进度条文字内容。el-progress :percentage50/el-progress el-progress :percentage100 :formatformat/el-progress el-progress :percentage100 statussuccess/el-progress el-progress :percentage100 statuswarning/el-progress el-progress :percentage50 statusexception/el-progressscriptexport default {methods: {format(percentage) {return percentage 100 ? 满 : ${percentage}%;}}}; /script 2.百分比内显 百分比不占用额外控件适用于文件上传等场景。 /*Progress 组件可通过 stroke-width 属性更改进度条的高度 并可通过 text-inside 属性来将进度条描述置于进度条内部。*/el-progress :text-insidetrue :stroke-width26 :percentage70/el-progress el-progress :text-insidetrue :stroke-width24 :percentage100 statussuccess/el-progress el-progress :text-insidetrue :stroke-width22 :percentage80 statuswarning/el-progress el-progress :text-insidetrue :stroke-width20 :percentage50 statusexception/el-progress 3.自定义颜色 可以通过 color 设置进度条的颜色color 可以接受颜色字符串函数和数组。 el-progress :percentagepercentage :colorcustomColor/el-progressel-progress :percentagepercentage :colorcustomColorMethod/el-progressel-progress :percentagepercentage :colorcustomColors/el-progress divel-button-groupel-button iconel-icon-minus clickdecrease/el-buttonel-button iconel-icon-plus clickincrease/el-button/el-button-group /divscriptexport default {data() {return {percentage: 20,customColor: #409eff,customColors: [{color: #f56c6c, percentage: 20},{color: #e6a23c, percentage: 40},{color: #5cb87a, percentage: 60},{color: #1989fa, percentage: 80},{color: #6f7ad3, percentage: 100}]};},methods: {customColorMethod(percentage) {if (percentage 30) {return #909399;} else if (percentage 70) {return #e6a23c;} else {return #67c23a;}},increase() {this.percentage 10;if (this.percentage 100) {this.percentage 100;}},decrease() {this.percentage - 10;if (this.percentage 0) {this.percentage 0;}}}} /script 4.环形进度条 Progress 组件可通过 type 属性来指定使用环形进度条在环形进度条中还可以通过 width 属性来设置其大小。 el-progress typecircle :percentage0/el-progress el-progress typecircle :percentage25/el-progress el-progress typecircle :percentage100 statussuccess/el-progress el-progress typecircle :percentage70 statuswarning/el-progress el-progress typecircle :percentage50 statusexception/el-progress 5.仪表盘形进度条 通过 type 属性来指定使用仪表盘形进度条。 el-progress typedashboard :percentagepercentage :colorcolors/el-progress divel-button-groupel-button iconel-icon-minus clickdecrease/el-buttonel-button iconel-icon-plus clickincrease/el-button/el-button-group /divscriptexport default {data() {return {percentage: 10,colors: [{color: #f56c6c, percentage: 20},{color: #e6a23c, percentage: 40},{color: #5cb87a, percentage: 60},{color: #1989fa, percentage: 80},{color: #6f7ad3, percentage: 100}]};},methods: {increase() {this.percentage 10;if (this.percentage 100) {this.percentage 100;}},decrease() {this.percentage - 10;if (this.percentage 0) {this.percentage 0;}}}} /script
http://www.pierceye.com/news/49091/

相关文章:

  • 江苏省义务教育标准化建设网站美橙域名查询网站
  • 济南营销型网站建设哪家好如何搭建虚拟专用网络
  • 网站域名在哪里注册重庆公众通
  • 做网站的都是什么专业毕业的设计外贸网站建设
  • 软件开发工资一般多少大专电商网站怎样做优化才最合理
  • 网站你懂我意思正能量免费长沙优化网站
  • 怎样在阿里巴巴做网站建个网址需要多少钱
  • 织梦程序如何搭建网站wordpress阅读时间
  • 电子商务网站建设 实验分析wordpress 3d标签云
  • 网站英文地图怎么做电脑上如何做课程视频网站
  • 云南网站建设工具南通网站建设计划书
  • window2008r2网站建设视频软件制作
  • 韶关建网站wordpress运动鞋模板
  • 无锡网站建设报价明细表宁波企业制作网站
  • 网页制作官方网站上海企业在线
  • 企业网站空间买虚拟主机专业做网站推广
  • 网站后台怎么做免费私人网站建设平台
  • 周口公司做网站枣庄做网站
  • app开发企业网站建设商家联盟营销方案
  • 网站模板带手机站专业做律师网站的公司
  • 网站建设的要求青岛网站建设哪里好
  • 公司做网站 手机 电脑做前端开发需要学什么
  • 网站在谷歌怎么做排名珠海网站建设杰作
  • 百度移动网站提交codeorg免费编程网站
  • 重庆渝兴建设有限公司网站天津工程新希望官网
  • 网站管理系统改不了的网站建设优化方法
  • 安装建设手机银行移动门户网站微信商城怎么运营
  • 建立网站需要哪些东西房地产市场信息系统网站
  • 做网站为什么需要花钱建设手机银行
  • 佛山网站设计师wordpress摄影主题