login.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. {template 'common/header-base'}
  2. <style>
  3. @media screen and (max-width:767px){.login_wrap .panel.panel-default{width:90%; min-width:300px;}}
  4. @media screen and (min-width:768px){.login_wrap .panel.panel-default{width:70%;}}
  5. @media screen and (min-width:1200px){.login_wrap .panel.panel-default{width:50%;}}
  6. body {
  7. /*padding-top: 120px;
  8. padding-bottom: 40px;*/
  9. background-color: #27282d;
  10. }
  11. /*———————————————第一个卡通样式———————————————*/
  12. .footer{
  13. background:none !important;
  14. color:#666;
  15. position: fixed;
  16. bottom: 0;
  17. z-index: -100;
  18. opacity: 1;
  19. width: 100%;
  20. }
  21. .login_wrap{
  22. width: 518px;
  23. margin-left: 350px;
  24. }
  25. .sellback{
  26. width: 900px;
  27. height: 440px;
  28. background-color: white;
  29. margin: 250px auto 0px;
  30. background:url(../addons/zh_tcwq/template/images/container_bg0.png) no-repeat;
  31. }
  32. .warp_content{ width:270px; margin:0 auto; padding-top:20px;}
  33. .warp_content .title{ margin-top:38px; padding-left:40px;}
  34. .warp_content .title h3{ font-size:30px; color:#7f6f67; line-height:32px;}
  35. .warp_content .title span{
  36. background:url(../addons/zh_tcwq/template/images/txt.png) 0 2px no-repeat;
  37. height:12px;
  38. display:block;
  39. margin-top:5px;
  40. }
  41. .formInfo{ margin-top:20px; overflow:hidden;}
  42. .formInfo .formText{ margin-bottom:12px; position:relative; z-index:2;}
  43. .formInfo .formText .input-text{
  44. border:0; height:40px;
  45. padding:6px 28px 6px 42px;
  46. width:270px;
  47. border-radius:20px;
  48. background-color: #f4f4f4;
  49. }
  50. .formInfo .formText input:focus{ outline:none;box-shadow:none;}
  51. .formInfo .formText .checked{ background-position:-109px -12px;}
  52. .formInfo .formText .login-icon{
  53. background: url(../addons/zh_tcwq/template/images/login_icon.png) no-repeat;
  54. position: absolute;
  55. top: 13px;
  56. left: 17px;
  57. width: 14px;
  58. height: 13px;
  59. z-index: 9;
  60. }
  61. .formInfo .formText .login-icon-user{ background-position:-5px -8px;}
  62. .formInfo .formText .login-icon-pwd{ background-position:-3px -38px;}
  63. .formInfo .focus .login-icon-user{ background-position:-33px -8px;}
  64. .formInfo .focus .login-icon-pwd{ background-position:-31px -38px;}
  65. .formInfo .submitDiv{ font-size:0; padding-top:20px;}
  66. .formInfo .submitDiv .input-yzm{ border:0; height:28px; padding:6px 5px 6px 20px; background:#f4f4f4; border-radius:50px 0 0 50px; width:110px;}
  67. .formInfo .submitDiv .sub{ width: 135px;height: 40px;border: 0;background: #ff7c3a;color: #FFF;border-radius: 0 50px 50px 0;padding: 0;font-size: 16px;cursor: pointer;font-family: "Microsoft YaHei";}
  68. .formInfo .submitDiv .qp_sub{ width:100%; border-radius:50px;}
  69. /*———————————————第二个样式—————————————————*/
  70. .msection{
  71. width: 100%;
  72. height: 557px;
  73. background-color: white;
  74. margin-top: 165px;
  75. background:url(../addons/zh_tcwq/template/images/u11_state0.png) no-repeat;
  76. background-size: 2000px 360px;
  77. }
  78. .msecbox{width: 420px;margin: 0px auto;}
  79. .msecheader{width: 420px;height: 147px;text-align: center;margin-bottom: 20px;}
  80. .msecheader>img{width: 135px;height: 147px;}
  81. .mscontent{background-color: white;border-radius: 10px;margin: 0px auto;padding: 1px;width: 420px;height: 400px;}
  82. .msfutitle,.mstitle{text-align: center;font-family: "微软雅黑";color: #1ABC9C;margin-bottom: 0px;}
  83. .mstitle{font-size: 28px;margin-top: 35px;font-weight: bold;}
  84. .msfutitle{font-size: 20px;}
  85. .msbanner{border:1px solid #C0C0C0;padding: 5px;width: 300px;margin: 35px auto 20px;}
  86. .msbanner2>span,.msbanner>span{color: #CCCCCC;font-size: 26px;margin-left: 10px;}
  87. .msbanner2>input,.msbanner>input{width: 215px;height: 40px;margin-left: 10px;outline: none;border:none;}
  88. .msbanner2{border:1px solid #C0C0C0;padding: 5px;width: 300px;margin: 20px auto;}
  89. .msbanner3{margin: 0px auto;width: 300px;height: 50px;}
  90. .msbanner3>input{background-color: #1ABC9C;width: 300px;height: 50px;border:none;border-radius: 4px;color: white;font-size: 18px;}
  91. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  92. color: #CCCCCC;
  93. }
  94. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  95. color: #CCCCCC;
  96. }
  97. input:-ms-input-placeholder{
  98. color: #CCCCCC;
  99. }
  100. input::-webkit-input-placeholder{
  101. color: #CCCCCC;
  102. }
  103. </style>
  104. <div class="msection">
  105. <div class="msecbox">
  106. <div class="msecheader">
  107. <img src="../addons/zh_tcwq/template/images/u270.png">
  108. </div>
  109. <form action="" method="post" role="form" id="form1" onsubmit="return formcheck();">
  110. <div class="mscontent">
  111. <p class="mstitle">站长后台业务管理系统</p>
  112. <p class="msfutitle">Business Management System</p>
  113. <div class="msbanner">
  114. <span class="fa fa-user"></span>
  115. <input type="text" name="username" autocomplete="off" placeholder="请输入用户名称">
  116. </div>
  117. <div class="msbanner2">
  118. <span class="fa fa-unlock-alt"></span>
  119. <input type="password" name="password" autocomplete="off" name="" placeholder="请输入密码">
  120. </div>
  121. <div class="msbanner3">
  122. <input type="submit" id="submit" name="submit" value="登录" value="登 录" />
  123. <input name="token" value="{$_W['token']}" type="hidden" />
  124. </div>
  125. </div>
  126. </form>
  127. </div>
  128. </div>
  129. <!-- —————————————第二套——————————— -->
  130. <!-- <div class="sellback">
  131. <div class="login_wrap">
  132. <div class="warp_content">
  133. <div class="title">
  134. <h3>商家管理中心</h3>
  135. <span class="txt"></span>
  136. </div>
  137. <form action="" method="post" role="form" id="form1" onsubmit="return formcheck();">
  138. <div class="formInfo">
  139. <div class="formText">
  140. <i class="login-icon login-icon-user"></i>
  141. <input type="text" name="username" autocomplete="off" class="input-text" value="" placeholder="用户名">
  142. </div>
  143. <div class="formText">
  144. <i class="login-icon login-icon-pwd"></i>
  145. <input type="password" style="display:none"/>
  146. <input type="password" name="password" autocomplete="off" class="input-text" value="" placeholder="密 码">
  147. </div>
  148. <div class="formText submitDiv">
  149. <span class="submit_span">
  150. <input type="submit" id="submit" name="submit" value="登录" class="sub qp_sub" value="登 录" />
  151. </span>
  152. <input name="token" value="{$_W['token']}" type="hidden" />
  153. </div>
  154. </div>
  155. </form>
  156. </div> -->
  157. <!-- <h1 class="text-center">商户管理后台</h1>
  158. <form class="form_wrap" action="" method="post" role="form" id="form1" onsubmit="return formcheck();">
  159. <div class="input-group input-group-lg">
  160. <span class="input-group-addon">账号</span>
  161. <input type="text" name="username" class="form-control" placeholder="请输入账号名">
  162. </div>
  163. <div class="input-group input-group-lg">
  164. <span class="input-group-addon">密码</span>
  165. <input type="password" name="password" class="form-control" placeholder="请输入密码">
  166. </div>
  167. <button class="btn btn-lg btn-primary" type="submit" id="submit" name="submit" value="登录" style="background-color: #1ab394;border-color: #1ab394;width:100%;">登录</button>
  168. <input name="token" value="{$_W['token']}" type="hidden" />
  169. </form> -->
  170. <!-- </div>
  171. </div> -->
  172. <script>
  173. function formcheck() {
  174. if($('#remember:checked').length == 1) {
  175. cookie.set('remember-username', $(':text[name="username"]').val());
  176. } else {
  177. cookie.del('remember-username');
  178. }
  179. return true;
  180. }
  181. $('#toggle').click(function() {
  182. $('#imgverify').prop('src', '{php echo $_W['siteroot'].url("utility/code")}r='+Math.round(new Date().getTime()));
  183. return false;
  184. });
  185. // $('#form1').submit(function() {
  186. // var verify = $(':text[name="verify"]').val();
  187. // if (verify == '') {
  188. // alert('请填写验证码');
  189. // return false;
  190. // }
  191. // });
  192. </script>
  193. <div class="container-fluid footer text-center" role="footer">
  194. <div class="friend-link">
  195. {if empty($_W['setting']['copyright']['footerright'])}
  196. <a href=" ">微信开发</a>
  197. <a href="http://s.we7.cc">微信应用</a>
  198. <a href="http://bbs.we7.cc">微擎论坛</a>
  199. <a href="http://s.we7.cc">联系客服</a>
  200. {else}
  201. {$_W['setting']['copyright']['footerright']}
  202. {/if}
  203. </div>
  204. <div class="copyright">{if empty($_W['setting']['copyright']['footerleft'])}Powered by <a href="http://www.we7.cc"><b>微擎</b></a> v{IMS_VERSION} &copy; 2014-2015 <a href="http://www.we7.cc">www.we7.cc</a>{else}{$_W['setting']['copyright']['footerleft']}{/if}</div>
  205. {if !empty($_W['setting']['copyright']['icp'])}<div>备案号:<a href="http://www.miitbeian.gov.cn" target="_blank">{$_W['setting']['copyright']['icp']}</a></div>{/if}
  206. </div>
  207. {if !empty($_W['setting']['copyright']['statcode'])}{$_W['setting']['copyright']['statcode']}{/if}
  208. {if !empty($_GPC['m']) && !in_array($_GPC['m'], array('keyword', 'special', 'welcome', 'default', 'userapi')) || defined('IN_MODULE')}
  209. <script>
  210. if(typeof $.fn.tooltip != 'function' || typeof $.fn.tab != 'function' || typeof $.fn.modal != 'function' || typeof $.fn.dropdown != 'function') {
  211. require(['bootstrap']);
  212. }
  213. </script>
  214. {/if}
  215. </body>
  216. </html>