mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-24 10:22:36 +08:00
zui steps
This commit is contained in:
parent
b5ee51c7cf
commit
4a3650e8e7
2
dist/steps/index.wxml
vendored
2
dist/steps/index.wxml
vendored
@ -1,4 +1,4 @@
|
|||||||
<template name="steps">
|
<template name="zui-steps">
|
||||||
<view class="zui-steps zui-steps--{{ type == 'vertical' ? 'vsteps' : 'steps' }} zui-steps--{{ steps.length }}">
|
<view class="zui-steps zui-steps--{{ type == 'vertical' ? 'vsteps' : 'steps' }} zui-steps--{{ steps.length }}">
|
||||||
<view
|
<view
|
||||||
wx:for="{{ steps }}" wx:for-item="step" wx:key="unique" wx:for-index="index"
|
wx:for="{{ steps }}" wx:for-item="step" wx:key="unique" wx:for-index="index"
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
<view class="zui-panel">
|
<view class="zui-panel">
|
||||||
<view class="zui-cell">
|
<view class="zui-cell">
|
||||||
<view class="zui-cell__bd">
|
<view class="zui-cell__bd">
|
||||||
<template is="steps" data="{{ type: 'horizon', steps }}"></template>
|
<template is="zui-steps" data="{{ type: 'horizon', steps }}"></template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="zui-cell zui-cell--last-child">
|
<view class="zui-cell zui-cell--last-child">
|
||||||
<view class="zui-cell__bd">
|
<view class="zui-cell__bd">
|
||||||
<template is="steps" data="{{ type: 'vertical', steps }}"></template>
|
<template is="zui-steps" data="{{ type: 'vertical', steps }}"></template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user