home.php 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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/setsite.js')
  10. ?>
  11. <style>
  12. #house_form {margin:0 auto;}
  13. </style>
  14. <!-- 内容主体区域 -->
  15. <!-- <div style="padding: 15px;">内容主体区域</div> -->
  16. <form class="layui-form" action="" id="house_form">
  17. <div class="layui-row">
  18. <div class="xm_right_box"> <!-- 你的内容 10/12 -->
  19. <div class="layui-tab" lay-filter="test1">
  20. <ul class="layui-tab-title">
  21. <li class="site-demo-active layui-this" lay-id="assign_1" >基本设置</li>
  22. <li class="site-demo-active" lay-id="assign_2">联系我们</li>
  23. <li class="site-demo-active" lay-id="assign_3">第三方代码</li>
  24. <!-- <li class="site-demo-active" lay-id="assign_4">第三方代码</li>-->
  25. </ul>
  26. <div class="layui-tab-content">
  27. <div id="assign_1" class="layui-tab-item layui-show">
  28. <div class="layui-form-item">
  29. <label class="layui-form-label">网站标题:</label>
  30. <div class="layui-input-inline" style="width:270px;">
  31. <input type="text" name="title" placeholder="请输入网站标题" autocomplete="off" class="layui-input">
  32. </div>
  33. </div>
  34. <div class="layui-form-item">
  35. <label class="layui-form-label">备案号:</label>
  36. <div class="layui-input-inline" style="width:270px;">
  37. <input type="text" name="record" placeholder="请输入备案号" autocomplete="off" class="layui-input">
  38. </div>
  39. </div>
  40. <div class="layui-form-item xm_pr">
  41. <div class="layui-inline">
  42. <label class="layui-form-label">网站logo:</label>
  43. <div class="layui-inline">
  44. <div class="layui-upload">
  45. <div class="layui-upload-list lay_p_relative">
  46. <img class="layui-upload-img layui_magnify" name="img" src="" id="logo_img" style="width:100px;height:80px;margin-left:10px;">
  47. <p id="demoText"></p>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <button type="button" class="layui-btn layui-btn-primary xm_xcxqTc_button" id="logo">选择图片</button>
  53. </div>
  54. <div class="layui-form-item">
  55. <label class="layui-form-label">网站关键词:</label>
  56. <div class="layui-input-inline" style="width:390px;">
  57. <textarea name="keywords" placeholder="请输入网站关键词" class="layui-textarea"></textarea>
  58. </div>
  59. </div>
  60. <div class="layui-form-item">
  61. <label class="layui-form-label">网站描述:</label>
  62. <div class="layui-input-inline" style="width:390px;">
  63. <textarea name="description" placeholder="请输入网站关键词" class="layui-textarea"></textarea>
  64. </div>
  65. </div>
  66. </div>
  67. <div id="assign_2" class="layui-tab-item">
  68. <div class="layui-form-item">
  69. <label class="layui-form-label">服务电话:</label>
  70. <div class="layui-input-inline" style="width:270px;">
  71. <input type="text" name="tel" placeholder="请输入标题" autocomplete="off" class="layui-input">
  72. </div>
  73. </div>
  74. <div class="layui-form-item">
  75. <label class="layui-form-label">E-mail:</label>
  76. <div class="layui-input-inline" style="width:270px;">
  77. <input type="text" name="email" placeholder="请输入标题" autocomplete="off" class="layui-input">
  78. </div>
  79. </div>
  80. <div class="layui-form-item">
  81. <label class="layui-form-label">工作时间:</label>
  82. <div class="layui-input-inline" style="width:270px;">
  83. <input type="text" name="operating_hours" placeholder="请输入标题" autocomplete="off" class="layui-input">
  84. </div>
  85. </div>
  86. <div class="layui-form-item xm_pr">
  87. <div class="layui-inline">
  88. <label class="layui-form-label">微信二维码:</label>
  89. <div class="layui-inline">
  90. <div class="layui-upload">
  91. <div class="layui-upload-list lay_p_relative">
  92. <img class="layui-upload-img layui_magnify" name="img" src="" id="weixin_img" style="width:100px;height:80px;margin-left:10px;">
  93. <p id="demoText"></p>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <button type="button" class="layui-btn layui-btn-primary xm_xcxqTc_button" id="weixin">选择图片</button>
  99. </div>
  100. </div>
  101. <div id="assign_3" class="layui-tab-item">
  102. <div class="layui-form-item">
  103. <label class="layui-form-label">商桥链接:</label>
  104. <div class="layui-input-inline" style="width:390px;">
  105. <textarea name="bridge_link" placeholder="请输入网站关键词" class="layui-textarea"></textarea>
  106. </div>
  107. </div>
  108. <div class="layui-form-item">
  109. <label class="layui-form-label">商桥代码:</label>
  110. <div class="layui-input-inline" style="width:390px;">
  111. <textarea name="bridge_code" placeholder="请输入网站关键词" class="layui-textarea"></textarea>
  112. </div>
  113. </div>
  114. <div class="layui-form-item">
  115. <label class="layui-form-label">统计代码:</label>
  116. <div class="layui-input-inline" style="width:390px;">
  117. <textarea name="statistics" placeholder="请输入网站关键词" class="layui-textarea"></textarea>
  118. </div>
  119. </div>
  120. <div class="layui-form-item">
  121. <label class="layui-form-label">360站长代码:</label>
  122. <div class="layui-input-inline" style="width:390px;">
  123. <textarea name="master_360" placeholder="请输入网站关键词" class="layui-textarea"></textarea>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <div class="layui-form-item xm_zjzx_Submit">
  130. <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="tijiao" >提交</button>
  131. </div>
  132. </div> <!-- 你的内容 9/12 -->
  133. </div>
  134. </form>