直接使用代码


图片素材


css代码

  <style></style>

HTML+JS代码

  <section class="container">
  <form action="/index.php/Home/Index/saveMessage" enctype="multipart/form-data" method="POST">
    <div class="row bg-ef ">
      <div class='col-md-6'>
        <div class="pad10">
          <input name="username" class="form-control" placeholder='姓名' required>
        </div>
        <div class="pad10">
          <input name="email" class="form-control" placeholder='电子邮件' required>
        </div>
        <div class="pad10">
          <input name="tel" class="form-control" placeholder='电话' required>
        </div>
      </div>
      <input name="pubdate" type="hidden" class="form-control" value="2021-03-26">
      <div class='col-md-6'>
        <div class='pad10'>
          <textarea class="form-control" name='content' rows="5" placeholder="留言(请简单介绍需要的帮助)"></textarea>
        </div>
      </div>

      <div class='col-md-12'>
        <div class=" pad10">
          <input type="submit" class="btn btn-info" value="提交" />
        </div>
      </div>
    </div>
  </form>
</section>
版权所有:奋达科技 备案号: 豫ICP备2021000581号-3