vue+bootstrap实现自适应刷新暂存form表单数据的表单效果代码
代码语言:html
所属分类:表单美化
代码描述:vue+bootstrap实现自适应刷新暂存form表单数据的表单效果代码
代码标签: vue bootstrap 自适应 刷新 暂存 form 表单 数据
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html> <html lang="zxx"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.4.3.1.min.css"> <style> #contact-area { padding:110px 0 120px; } .contact-box { -webkit-box-shadow:0 0 10px rgba(0,0,0,0.1); box-shadow:0 0 10px rgba(0,0,0,0.1); padding:50px 50px 35px; background-color:#fff; border-radius:6px; } .contact-box input { height:50px; border:1px solid #f7f6f5; font-size:15px; background-color:#f7f6f5; font-weight:500 } .contact-box textarea { border:1px solid #f7f6f5; padding-top:10px; background-color:#f7f6f5; font-size:15px; font-weight:500 } .contact-box button { background-color:#325eff; border:0; color:#fff; padding:10px 30px; border-radius:4px; cursor:pointer; outline:0; font-weight:500; font-size:15px } .contact-box button:hover { background-color:#0f39cf; } </style> </head> <body> <div id="app"> <section id="contact-area"> <div class="container"> <!--end section heading--> <div class="row"> <div class="col-lg-10 offset-lg-1"> <!--start contact form--> <div class="contact-box text-center"> <form id="ajax-contact" action="contact.php" method="post"> <div class="form-group row"> <div class="col-lg-6"><input type="text" class="form-control" id="name" name="name" v-model="mess.username" placeholder="姓名*" required></div> <div class="col-lg-6"><input type="email" class="form-control" .........完整代码请登录后点击上方下载按钮下载查看
网友评论0