步进器
步进器通过一系列逻辑和编号的步骤显示进度。它们也可用作导航。当用户需要按照步骤完成一个过程时,它很有用,例如一个向导
QStepper API
keep-alive
: Boolean
说明
等价于在内容上使用 Vue 的原生 <keep-alive> 组件
keep-alive-include
: String | Array | RegExp
说明
等价于在 <keep-alive> 组件中使用 Vue 的原生 include 属性;值必须是有效的 Vue 组件名称。
keep-alive-exclude
: String | Array | RegExp
说明
等价于在 <keep-alive> 中使用 Vue 的原生 exclude 属性;值必须是有效的 Vue 组件名称。
keep-alive-max
: Number
说明
等价于在 <keep-alive> 组件中使用 Vue 的原生 max 属性
animated
: Boolean
说明
启用面板之间的过渡效果(还可以查看 'transition-prev' 和 'transition-next' 属性)
infinite
: Boolean
说明
使组件呈现为无限的(当到达最后一个面板时,下一个将成为第一个)
swipeable
: Boolean
说明
启用滑动事件(可能会干扰内容的触摸/鼠标事件)
vertical
: Boolean
说明
将 Stepper 放置在垂直模式中(而不是默认的水平模式)
header-nav
: Boolean
说明
允许通过头部导航
contracted
: Boolean
说明
在窄窗口上隐藏标题标签
QStep API
header-nav
: Boolean
说明
允许通过头部导航
QStepperNavigation API
此组件允许您在 QStepper
或 QStep
中放置按钮,以在步骤中导航。您可以根据需要添加任何按钮。
TIP
如果要使用全局导航,您需要将其添加到 QStepper
的 ‘navigation’ 插槽中。
default
说明
自定义导航的内容,是 QStep 或 QStepper 的子组件(全局通过 'navigation' 插槽)的内容。
用法
TIP
QStep 的内容也可以是图像,如果您需要在图像上滑动导航,那么最好为它们添加 draggable="false"
,否则浏览器的原生行为可能导致副作用。
Keep Alive
- 请注意 QStepper 的
keep-alive
属性,如果您需要这个功能,请使用它,而不是 Vue 提供的<keep-alive>
组件包裹 QStep。 - 如果您需要使用
keep-alive-include
或keep-alive-exclude
属性,那么 QStep 的name
属性必须是一个合法的 Vue 组件名称(不含空格、不以数字开头等)。
水平的
Select campaign settings
create_new_folder
Create an ad group
Optional
assignment
Ad template
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
垂直的
Select campaign settings
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
create_new_folder
Create an ad group
Optional
assignment
Ad template
add_comment
Create an ad
头部导航
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
Select campaign settings
create_new_folder
Create an ad group
Optional
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
头部选项
An ad group contains one or more ads which target a shared set of keywords.
Select campaign settings
create_new_folder
Create an ad group
Optional
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
TIP
您可以将 contracted
属性与 $q.screen
联系起来以实现响应式的行为,例如 :contracted="$q.screen.lt.md"
。更多信息: Quasar 屏幕插件.
Select campaign settings
create_new_folder
Create an ad group
Optional
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
样式
在 QStepper 或者特定的 QStep 上使用 *-icon
和 *-color
属性进行着色。
Select campaign settings
create_new_folder
Create an ad group
Optional
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
您还可以为每个步骤的标题使用 prefix
属性(最多 2 个字符)来代替图标。如果步骤当前未被编辑,并且未标记为错误或“已完成”,则将显示此信息。
Select campaign settings
2
Create an ad group
Optional
3
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
Select campaign settings
create_new_folder
Create an ad group
Optional
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
您可以使用 header-class
属性将任何 CSS 类应用于头部。在下面的示例中,我们使用了粗体文本:
Select campaign settings
create_new_folder
Create an ad group
Optional
assignment
Ad template
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.
消息插槽
Select campaign settings
create_new_folder
Create an ad group
Optional
assignment
Ad template
add_comment
Create an ad
For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more.