fhome.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/6
  6. * Time: 下午5:49
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/other/mail.js')
  10. ?>
  11. <style>
  12. #house_form {margin:0 auto;}
  13. .layui-tab {margin:17px 0;}
  14. .layui_w_box {width:90%;margin:0 auto;}
  15. .layui_w_form {display:inline-block;vertical-align:top;width:40%;}
  16. .layui_w_form:last-child {margin-left:90px;}
  17. .layui-form-item {text-align:center;}
  18. .layui-tab-title .layui-this {color:#fff;}
  19. .layui-form-label {padding:9px 7px;width:100px;}
  20. </style>
  21. <!-- 内容主体区域 -->
  22. <!-- <div style="padding: 15px;">内容主体区域</div> -->
  23. <div class="layui_w_box">
  24. <form class="layui-form layui_w_form" action="" id="house_form">
  25. <div class="layui-row">
  26. <div class="xm_right_box"> <!-- 你的内容 10/12 -->
  27. <div class="layui-tab" lay-filter="test1">
  28. <ul class="layui-tab-title">
  29. <li class="site-demo-active layui-this" lay-id="assign_1" >邮箱发件人设置</li>
  30. </ul>
  31. <div class="layui-tab-content">
  32. <div id="assign_1" class="layui-tab-item layui-show">
  33. <div class="layui-form-item">
  34. <label class="layui-form-label">SMTP 服务器:</label>
  35. <div class="layui-input-inline" style="width:270px;">
  36. <input type="text" name="host" placeholder="请输入网站标题" autocomplete="off" class="layui-input">
  37. </div>
  38. </div>
  39. <div class="layui-form-item">
  40. <label class="layui-form-label">SMTP服务器端口号:</label>
  41. <div class="layui-input-inline" style="width:270px;">
  42. <input type="text" name="port" placeholder="请输入备案号" autocomplete="off" class="layui-input">
  43. </div>
  44. </div>
  45. <div class="layui-form-item">
  46. <label class="layui-form-label">服务器邮箱帐号:</label>
  47. <div class="layui-input-inline" style="width:270px;">
  48. <input type="text" name="username" placeholder="请输入备案号" autocomplete="off" class="layui-input">
  49. </div>
  50. </div>
  51. <div class="layui-form-item">
  52. <label class="layui-form-label">服务器邮箱密码:</label>
  53. <div class="layui-input-inline" style="width:270px;">
  54. <input type="text" name="password" placeholder="请输入备案号" autocomplete="off" class="layui-input">
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="layui-form-item xm_zjzx_Submit">
  61. <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="tijiao" >提交</button>
  62. </div>
  63. </div> <!-- 你的内容 9/12 -->
  64. </div>
  65. </form>
  66. </div>