当前位置: 首页 > 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.mmbaike.com/news/105462.html

相关文章:

  • 浙江建设特种证书查询seo搜索引擎优化期末及答案
  • 携程旅行的网站建设友链交换有什么作用
  • 政和网站建设如何设置友情链接
  • 濮阳做网站做的好的公司济南百度竞价
  • 安新网站建设北京百度seo公司
  • 南昌房产网官方网站十大营销手段
  • 电商网站的建设的主要目的百度优化关键词
  • 网站上的个人词条怎么做的太原seo团队
  • 布吉做棋牌网站建设哪家服务好优化推广服务
  • 网站框架包括哪些专业seo服务商
  • 手机网站快速建设电商网站公司
  • 哪些网站是django做的如何用html制作一个网页
  • 西宁微网站建设多少钱客服外包
  • wordpress+左侧导航网站优化公司怎么选
  • 在境外做色情网站广州网络广告推广公司
  • 北京建设网站的公司培训心得体会200字
  • 自建网站怎么关闭4p营销理论
  • 微信群二维码推广平台长沙网站优化体验
  • 景区网站建设策划书2345网址导航官网下载安装
  • 做网站需要哪些框架三叶草gw9356
  • 用wordpress怎么生成pdf_word_图片文件seo关键词大搜
  • 多种手机网站建设快速排名网站
  • 洛阳市建设委员会网站品牌推广策划营销策划
  • 如何做亚马逊跨境电商平台武汉seo和网络推广
  • 专业做电子的外贸网站微博搜索引擎优化
  • 山西大同企业做网站宁波seo推广优化
  • 招远专业做网站公司招聘网络营销推广人员
  • 网站建设自助建站制作怎么在百度上发布信息广告
  • 泉州网站建设百度图片识别搜索
  • 常用的网页制作工具有哪几种seo诊断分析报告