步骤条样式

<!-- 步骤条 -->
<view class="flex dotsList">
<view
class="flex align-center"
v-for="(item, index) in dotList"
:key="index"
>
<view
class="dots flex justify-center align-center"
:class="nowIndex === index ? 'activied' : ''"
@tap="dotsClick(index)"
><text>{{ item.num }}</text></view
>
<view :class="index != dotList.length - 1 ? 'lines' : ''"> </view>
</view>
</view>
nowIndex: 0,
dotList: [
{
status: 0,
num: 1,
},
{
status: 0,
num: 2,
},
{
status: 0,
num: 3,
},
],
.dotsList {
margin: 62rpx 0 0 100rpx;
.lines {
width: 181rpx;
height: 4rpx;
background-color: #d8d8d8;
}
.dots {
width: 65rpx;
height: 65rpx;
border-radius: 50%;
background-color: #d8d8d8;
font-family: PingFangSC-Medium, PingFang SC;
font-size: 33rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
}
.activied {
background-color: #5cadfb;
width: 78rpx;
height: 78rpx;
}
}