vue-form-wizard实现一个多步骤填写表单效果代码
代码语言:html
所属分类:表单美化
代码描述:vue-form-wizard实现一个多步骤填写表单效果代码,包含上一步下一步。
代码标签: vue-form-wizard 多 步骤 填写 表单
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/vue-form-wizard.min.css"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/themify-icons.css"> <style> /* This is a css loader. It's not related to vue-form-wizard */ .loader, .loader:after { border-radius: 50%; width: 10em; height: 10em; } .loader { margin: 60px auto; font-size: 10px; position: relative; text-indent: -9999em; border-top: 1.1em solid rgba(255, 255, 255, 0.2); border-right: 1.1em solid rgba(255, 255, 255, 0.2); border-bottom: 1.1em solid rgba(255, 255, 255, 0.2); border-left: 1.1em solid #e74c3c; -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); -webkit-animation: load8 1.1s infinite linear; animation: load8 1.1s infinite linear; } @-webkit-keyframes load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } </style> </head> <body> <div id="app"> <div> <form-wizard @on-complete="onComplete" @on-loading="setLoading" @on-validate="handleValidation" shape="circle" color="#e74c3c"> <tab-content title="Personal details" :before-change="validateAsync" icon=&.........完整代码请登录后点击上方下载按钮下载查看
网友评论0