mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
32 lines
474 B
JavaScript
32 lines
474 B
JavaScript
import Page from '../../common/page';
|
|
|
|
Page({
|
|
data: {
|
|
active: 0,
|
|
steps: [
|
|
{
|
|
text: '步骤一',
|
|
desc: '描述信息'
|
|
},
|
|
{
|
|
text: '步骤二',
|
|
desc: '描述信息'
|
|
},
|
|
{
|
|
text: '步骤三',
|
|
desc: '描述信息'
|
|
},
|
|
{
|
|
text: '步骤四',
|
|
desc: '描述信息'
|
|
}
|
|
]
|
|
},
|
|
|
|
nextStep() {
|
|
this.setData({
|
|
active: ++this.data.active % 4
|
|
});
|
|
}
|
|
});
|