Skip to content
On this page

loading1 加载

加载组件一般用于页面加载完成之前展示。

基础用法

<template>
  <FLoading1 text="loading" :duration="2"></FLoading1>
</template>

参数

参数名说明类型可选值默认值
color加载组件的颜色,分别为加载组件的主颜色,背景颜色,文本颜色string[]-['#4f29f0', '#c3c8de', '#414856']
text展示文本string-
duration动画时长(秒)number-0.8