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

企业网站收录百度知道官网入口

企业网站收录,百度知道官网入口,工商做年报网站,武汉今天新闻头条针对步骤条封装完终于清清楚楚啦 先看效果&#xff1a; 附上代码&#xff1a;使用可直接复用&#xff1a;数据是写在了当前组件中&#xff0c;如有必须&#xff0c;可以使用其中的props传值stepInfos传递相应的数据&#xff0c;根据steps步数就可以控制走到哪一步啦 <temp…

 针对步骤条封装完终于清清楚楚啦

先看效果:

附上代码:使用可直接复用:数据是写在了当前组件中,如有必须,可以使用其中的props传值stepInfos传递相应的数据,根据steps步数就可以控制走到哪一步啦

<template><view class="step-bar"><view class="step_item" v-for="(item,index) in stepInfo.list" :key="item.id"><view :class="stepInfo.step >= index+1 ? 'circle circle-active':'circle'"></view><view :class="stepInfo.step >= index+2 ? 'line line-active':'line'" v-if="index!==stepInfo.list.length-1"></view><view class="middle-box"><text:class="stepInfo.step < index+1 ? 'text1-actived':stepInfo.step == index+1?'text1-active':text1">{{item.name}}</text><text class="text2">{{item.time}}</text></view><view class="status_text":class="stepInfo.step < index+1 ? 'text1-actived':stepInfo.step == index+1?'text1-active':text1">{{item.status}}</view></view></view>
</template><script>export default {props: {// 传递步骤参数stepInfo: {type: Object,default: function() {return {list: [],step: 0}}}},data() {return {stepInfo: {step: 3,list: [{id: 1,name: '发起充值',time: '2020-12-12 12:47:56',status: '已完成'}, {id: 2,name: '处理中',time: '2020-12-12 12:47:56',status: '进行中'}, {id: 3,name: '到账成功',time: '2020-12-12 12:47:56',status: '未开始'}]}}},}
</script><style lang="scss" scoped>.step_item {position: relative;height: 144rpx;display: flex;.line {position: absolute;top: 40rpx;left: 8rpx;content: "";width: 4rpx;height: 100rpx;background-color: #E6E8EF;}.line-active {background-color: #FF2B46;}}.circle {width: 20rpx;height: 20rpx;margin-right: 40rpx;margin-top: 10rpx;border-radius: 50%;background-color: #E6E8EF;}.circle-active {background-color: #FF2B46;}.middle-box {display: flex;flex-direction: column;.text2 {color: #999999;font-size: 24rpx;}}.text1 {color: #666666;font-size: 28rpx;}.text1-active {color: #FF2B46;}.text1-actived {color: #333333;}.status_text {flex-grow: 1;display: flex;justify-content: flex-end;font-size: 28rpx;}.status_text_active {// color: #FF2B46;}
</style>

http://www.hrbkazy.com/news/4279.html

相关文章:

  • 石家庄自己怎么做网站啊好用搜索引擎排名
  • 网站永久空间服务营销理论
  • 服装店网站建设思路南宁百度首页优化
  • 株洲市建设局网站怎么让百度搜索靠前
  • 网站建设 成都今网科技网站推广在线推广
  • 福田做网站电商运营多少钱一个月
  • 织梦网站后台密码忘记西安百度推广代理商
  • 网站开发所需要的技术百度seo推广免费
  • 洛阳瀍河建设局网站东莞做网站推广
  • 北京网站策划联系电话推广引流吸引人的文案
  • 衡水做外贸网站建设宁波seo在线优化公司
  • 广元网站建设枸橼酸西地那非片的作用及功效
  • 西安做兼职网站设计百度指数分析官网
  • 网站制作费企业网站的主要类型有
  • cn域名做外贸网站安卓优化大师破解版
  • 免费企业模板网站网站建设公司哪家好?
  • 做网站需要独立ip吗外链查询
  • 北京市建设工程质量监督站网站怎么让网站快速收录
  • 做死活题网站网店代运营哪个好
  • 给网站做脚本算违法吗推广app软件
  • 石家庄 做网站房地产销售
  • 深圳罗湖企业网站建设报价广州网站推广排名
  • 贵阳网站公司网站提交入口大全
  • 成都高端网站不用流量的地图导航软件
  • 做微信网站价格免费推广广告链接
  • 辽源网站seo百度云资源搜索平台
  • 北京澳环网站设计中心网站推广途径和推广要点
  • 网站 手机 微信 app想要导航页面推广app
  • 两学一做学习教育网站做seo需要投入的成本
  • 专门做外包的网站网络热词排行榜