<template>
<gracePage :customHeader="false">
<!-- 页面主体 -->
<view slot="gBody" class="grace-body">
<text class="grace-title grace-margin-top">数字模式</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-bg-blue">1</text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<view class="grace-step-line grace-step-line-active"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-bg-blue">2</text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon">3</text>
<text class="grace-step-text">购买</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon">4</text>
<text class="grace-step-text">授权</text>
</view>
</view>
<text class="grace-title grace-margin-top">图标模式</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<view class="grace-step-line grace-step-line-active"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">购买</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">授权</text>
</view>
</view>
<text class="grace-title grace-margin-top">箭头分隔</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<text class="grace-step-arrow-point grace-icons grace-blue"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<text class="grace-step-arrow-point grace-icons grace-blue"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">购买</text>
</view>
<text class="grace-step-arrow-point grace-icons"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">授权</text>
</view>
</view>
</view>
</gracePage>
</template>
<script>
import gracePage from "../../graceUI/components/gracePage.vue";
export default {
data() {
return {}
},
onLoad: function () {},
methods:{},
components:{
gracePage
}
}
</script>
<style>
.grace-step-item{padding:10rpx 20rpx; width:120rpx; display:flex; flex-direction:column; align-items:center;}
.grace-step-icon{width:50rpx; font-size:22rpx; height:50rpx; text-align:center; line-height:50rpx; margin:10rpx; border-radius:100%; background-color:#F5F6F7; color:#999999;}
.grace-step-text{text-align:center; line-height:50rpx; font-size:24rpx; color:#A5A7B2;}
.grace-step-line{width:500rpx; height:45rpx; border-bottom:1px solid #A5A7B2;}
.grace-step-line-active{border-color:#3688FF;}
.grace-step-arrow-point{line-height:88rpx; text-align:center; width:700rpx; font-size:40rpx; color:#A5A7B2;}
</style>
<template>
<gracePage :customHeader="false">
<!-- 页面主体 -->
<view slot="gBody" class="grace-body">
<text class="grace-title grace-margin-top">数字模式</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-bg-blue">1</text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<view class="grace-step-line grace-step-line-active"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-bg-blue">2</text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon">3</text>
<text class="grace-step-text">购买</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon">4</text>
<text class="grace-step-text">授权</text>
</view>
</view>
<text class="grace-title grace-margin-top">图标模式</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<view class="grace-step-line grace-step-line-active"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">购买</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">授权</text>
</view>
</view>
<text class="grace-title grace-margin-top">箭头分隔</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<text class="grace-step-arrow-point grace-icons grace-blue"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<text class="grace-step-arrow-point grace-icons grace-blue"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">购买</text>
</view>
<text class="grace-step-arrow-point grace-icons"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">授权</text>
</view>
</view>
</view>
</gracePage>
</template>
<script>
import gracePage from "../../graceUI/weexComponents/gracePage.nvue";
export default {
data() {
return {}
},
onLoad: function () {},
methods:{},
components:{
gracePage
}
}
</script>
<style>
.grace-step-item{padding:10rpx 20rpx; width:120rpx; align-items:center;}
.grace-step-icon{width:50rpx; font-size:22rpx; height:50rpx; text-align:center; line-height:50rpx; margin:10rpx; border-radius:100%; background-color:#F5F6F7; color:#999999;}
.grace-step-text{text-align:center; line-height:50rpx; font-size:24rpx; color:#A5A7B2;}
.grace-step-line{width:500rpx; height:45rpx; flex:1; border-bottom-width:1px; border-bottom-style:solid; border-bottom-color:#A5A7B2;}
.grace-step-line-active{border-bottom-color:#3688FF;}
.grace-step-arrow-point{line-height:88rpx; text-align:center; width:700rpx; flex:1; font-size:40rpx; color:#A5A7B2;}
</style>
.wxml
<gracePage customHeader="{{false}}">
<!-- 页面主体 -->
<view slot="gBody" class="grace-body">
<text class="grace-title grace-margin-top">数字模式</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-bg-blue">1</text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<view class="grace-step-line grace-step-line-active"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-bg-blue">2</text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon">3</text>
<text class="grace-step-text">购买</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon">4</text>
<text class="grace-step-text">授权</text>
</view>
</view>
<text class="grace-title grace-margin-top">图标模式</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<view class="grace-step-line grace-step-line-active"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">购买</text>
</view>
<view class="grace-step-line"></view>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">授权</text>
</view>
</view>
<text class="grace-title grace-margin-top">箭头分隔</text>
<view class="grace-nowrap">
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">注册</text>
</view>
<text class="grace-step-arrow-point grace-icons grace-blue"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">验证</text>
</view>
<text class="grace-step-arrow-point grace-icons grace-blue"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons grace-bg-blue"></text>
<text class="grace-step-text grace-blue">购买</text>
</view>
<text class="grace-step-arrow-point grace-icons"></text>
<view class="grace-step-item">
<text class="grace-step-icon grace-icons"></text>
<text class="grace-step-text">授权</text>
</view>
</view>
</view>
</gracePage>.wxss
.grace-step-item{padding:10rpx 20rpx; width:120rpx; display:flex; flex-direction:column; align-items:center;}
.grace-step-icon{width:50rpx; font-size:22rpx; height:50rpx; text-align:center; line-height:50rpx; margin:10rpx; border-radius:100%; background-color:#F5F6F7; color:#999999;}
.grace-step-text{text-align:center; line-height:50rpx; font-size:24rpx; color:#A5A7B2;}
.grace-step-line{width:500rpx; height:45rpx; border-bottom:1px solid #A5A7B2;}
.grace-step-line-active{border-color:#3688FF;}
.grace-step-arrow-point{line-height:88rpx; text-align:center; width:700rpx; font-size:40rpx; color:#A5A7B2;}.json
{
"usingComponents": {
"gracePage": "../../graceUI/components/gracePage"
}
}