f8933977a3ee7ea47161438390c291c8.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. <?php if (!defined('THINK_PATH')) exit();?>
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8" />
  6. <title>登录 - 商家管理系统</title>
  7. <meta name="description" content="User login page" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  9. <!-- basic styles -->
  10. <link href="./Themes/Seller/Public/css/bootstrap.min.css" rel="stylesheet" />
  11. <link rel="stylesheet" href="./Themes/Seller/Public/css/font-awesome.min.css" />
  12. <!--[if IE 7]>
  13. <link rel="stylesheet" href="./Themes/Seller/Public/css/font-awesome-ie7.min.css" />
  14. <![endif]-->
  15. <!-- ace styles -->
  16. <link rel="stylesheet" href="./Themes/Seller/Public/css/ace.min.css" />
  17. <link rel="stylesheet" href="./Themes/Seller/Public/css/ace-rtl.min.css" />
  18. <link type="image/x-icon" href="/Common/image/ypci.jpg" rel="icon">
  19. <link type="image/x-icon" href="/Common/image/ypci.jpg" rel="bookmark">
  20. <!--[if lte IE 8]>
  21. <link rel="stylesheet" href="./Themes/Seller/Public/css/ace-ie.min.css" />
  22. <![endif]-->
  23. <!-- inline styles related to this page -->
  24. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  25. <!--[if lt IE 9]>
  26. <script src="./Themes/Seller/Public/js/html5shiv.js"></script>
  27. <script src="./Themes/Seller/Public/js/respond.min.js"></script>
  28. <![endif]-->
  29. </head>
  30. <style>
  31. .btn-group-vertical>.btn-group:after, .btn-group-vertical>.btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .container-fluid:after, .container-fluid:before, .container:after, .container:before, .dl-horizontal dd:after, .dl-horizontal dd:before, .form-horizontal .form-group:after, .form-horizontal .form-group:before, .modal-footer:after, .modal-footer:before, .modal-header:after, .modal-header:before, .nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .panel-body:after, .panel-body:before, .row:after, .row:before {
  32. content: " ";
  33. display: table;
  34. }
  35. .panel {
  36. margin-bottom: 20px;
  37. background-color: #fff;
  38. border: 1px solid transparent;
  39. border-radius: 4px;
  40. box-shadow: 0 1px 1px rgba(0,0,0,.05);
  41. }
  42. .panel-default {
  43. border-color: #ddd;
  44. }
  45. .panel {
  46. margin-top: 20px;
  47. border: 1px solid #e2e2e2;
  48. background: #fff;
  49. }
  50. .panel-body {
  51. padding: 15px;
  52. }
  53. .page-header {
  54. padding-bottom: 9px;
  55. margin: 40px 0 20px;
  56. border-bottom: 1px solid #eee;
  57. }
  58. .nav_logo {
  59. background: url(/Common/image/pdd_small.png) no-repeat;
  60. }
  61. .nav_logo, .nav_logo_p {
  62. display: inline-block;
  63. width: 250px;
  64. height: 32px;
  65. margin-bottom: -5px;
  66. font: 0/0 a;
  67. }
  68. .form-group {
  69. margin-bottom: 15px;
  70. }
  71. .form-horizontal .form-group {
  72. margin-left: -15px;
  73. margin-right: -15px;
  74. }
  75. .input-group {
  76. position: relative;
  77. display: table;
  78. border-collapse: separate;
  79. }
  80. .input-group-addon, .input-group-btn, .input-group .form-control {
  81. display: table-cell;
  82. }
  83. .input-group-addon, .input-group-btn {
  84. width: 1%;
  85. white-space: nowrap;
  86. vertical-align: middle;
  87. }
  88. .input-group-btn {
  89. font-size: 0;
  90. white-space: nowrap;
  91. }
  92. .input-group-btn, .input-group-btn>.btn {
  93. position: relative;
  94. }
  95. .form-control, output {
  96. display: block;
  97. font-size: 14px;
  98. line-height: 1.42857143;
  99. color: #555;
  100. }
  101. .form-control {
  102. width: 100%;
  103. height: 34px;
  104. padding: 6px 12px;
  105. background-color: #fff;
  106. background-image: none;
  107. border: 1px solid #ccc;
  108. border-radius: 4px;
  109. box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  110. -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  111. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  112. }
  113. .input-group .form-control {
  114. position: relative;
  115. z-index: 2;
  116. float: left;
  117. width: 100%;
  118. margin-bottom: 0;
  119. }
  120. .btn {
  121. display: inline-block;
  122. margin-bottom: 0;
  123. font-weight: 400;
  124. text-align: center;
  125. vertical-align: middle;
  126. touch-action: manipulation;
  127. cursor: pointer;
  128. background-image: none;
  129. border: 1px solid transparent;
  130. white-space: nowrap;
  131. padding: 6px 12px;
  132. font-size: 14px;
  133. line-height: 1.42857143;
  134. border-radius: 4px;
  135. -webkit-user-select: none;
  136. -moz-user-select: none;
  137. -ms-user-select: none;
  138. user-select: none;
  139. }
  140. .btn-default {
  141. color: #333;
  142. background-color: #fff !important;
  143. border-color: #ccc;
  144. }
  145. .input-group-btn, .input-group-btn>.btn {
  146. position: relative;
  147. }
  148. .input-group-btn:first-child>.btn, .input-group-btn:first-child>.btn-group {
  149. margin-right: -1px;
  150. }
  151. .glyphicon {
  152. color: #333;
  153. position: relative;
  154. top: 1px;
  155. display: inline-block;
  156. font-family: Glyphicons Halflings;
  157. font-style: normal;
  158. font-weight: 400;
  159. line-height: 1;
  160. -webkit-font-smoothing: antialiased;
  161. -moz-osx-font-smoothing: grayscale;
  162. }
  163. .glyphicon-user:before {
  164. content: "\E008";
  165. }
  166. .glyphicon-lock:before {
  167. content: "\E033";
  168. }
  169. .btn-block {
  170. display: block;
  171. width: 100%;
  172. }
  173. .btn.disabled, .btn[disabled], fieldset[disabled] .btn {
  174. cursor: not-allowed;
  175. opacity: .65;
  176. filter: alpha(opacity=65);
  177. box-shadow: none;
  178. }
  179. .has-success .form-control:focus {
  180. border-color: #2b542c;
  181. box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;
  182. }
  183. .input-group .form-control:focus {
  184. z-index: 3;
  185. }
  186. .nav_logo {
  187. background: url(/Common/image/pdd_small2.png) no-repeat;
  188. }
  189. </style>
  190. <body class="login-layout">
  191. <div class="main-container">
  192. <div class="main-content" style="margin:150px auto;">
  193. <div class="container">
  194. <div class="row">
  195. <!-- panel begin -->
  196. <div class="col-md-offset-1 col-md-10 row panel panel-default" style="padding:20px 40px 80px;">
  197. <div class="panel-body" data-reactid=".0.0.0.0.0.1:$0">
  198. <div class="col-md-6" data-reactid=".0.0.0.0.0.1:$0.0">
  199. <?php if(!empty($seller_backimage)){ ?>
  200. <img src="Uploads/image/<?php echo $seller_backimage; ?>" data-reactid=".0.0.0.0.0.1:$0.0.0">
  201. <?php }else { ?>
  202. <img src="/Common/image/pdd.png" data-reactid=".0.0.0.0.0.1:$0.0.0">
  203. <?php } ?>
  204. </div>
  205. <form action="<?php echo U('login');?>" method="post" class="form-horizontal col-md-6" data-reactid=".0.0.0.0.0.1:$0.1">
  206. <div style="text-align:center;" class="page-header" data-reactid=".0.0.0.0.0.1:$0.1.0">
  207. <h1 data-reactid=".0.0.0.0.0.1:$0.1.0.0">
  208. <?php if(!empty($admin_xxximage)){ ?>
  209. <a href="#Login" style="background:url(Uploads/image/<?php echo $admin_xxximage; ?>) no-repeat 0 0;" class="nav_logo" data-reactid=".0.0.0.0.0.1:$0.1.0.0.0"></a>
  210. <?php }else { ?>
  211. <a href="#Login" class="nav_logo" data-reactid=".0.0.0.0.0.1:$0.1.0.0.0"></a>
  212. <?php } ?>
  213. </h1>
  214. </div>
  215. <div data-reactid=".0.0.0.0.0.1:$0.1.1"></div>
  216. <div style="margin:0px 60px;" data-reactid=".0.0.0.0.0.1:$0.1.2">
  217. <div class="form-group" data-reactid=".0.0.0.0.0.1:$0.1.2.0">
  218. <div class="input-group" data-reactid=".0.0.0.0.0.1:$0.1.2.0.1:$input-group">
  219. <span class="input-group-btn" data-reactid=".0.0.0.0.0.1:$0.1.2.0.1:$input-group.1">
  220. <button type="button" tabindex="-1" class="btn btn-default" data-reactid=".0.0.0.0.0.1:$0.1.2.0.1:$input-group.1.0">
  221. <span class="glyphicon glyphicon-user" data-reactid=".0.0.0.0.0.1:$0.1.2.0.1:$input-group.1.0.0"></span>
  222. </button>
  223. </span>
  224. <input type="text" placeholder="请输入用户名或手机号" class="form-control" name="username" >
  225. </div>
  226. </div>
  227. <div class="form-group" data-reactid=".0.0.0.0.0.1:$0.1.2.1">
  228. <div class="input-group" data-reactid=".0.0.0.0.0.1:$0.1.2.1.1:$input-group">
  229. <span class="input-group-btn" data-reactid=".0.0.0.0.0.1:$0.1.2.1.1:$input-group.1">
  230. <button type="button" tabindex="-1" class="btn btn-default" data-reactid=".0.0.0.0.0.1:$0.1.2.1.1:$input-group.1.0">
  231. <span class="glyphicon glyphicon-lock" data-reactid=".0.0.0.0.0.1:$0.1.2.1.1:$input-group.1.0.0"></span>
  232. </button>
  233. </span>
  234. <input placeholder="密码" type="password" class="form-control" name="password" >
  235. </div>
  236. </div>
  237. <div data-reactid=".0.0.0.0.0.1:$0.1.2.2">
  238. <button type="submit" class="btn-block btn" data-reactid=".0.0.0.0.0.1:$0.1.2.2.0">登录</button>
  239. <br/>
  240. <div class="check-tips" style="color:red;"></div>
  241. </div>
  242. </div>
  243. </form>
  244. </div>
  245. </div>
  246. <!-- panel end -->
  247. </div><!-- /.row -->
  248. </div>
  249. </div>
  250. </div><!-- /.main-container -->
  251. <div style="text-align:center; color:#ffffff;"><?php echo ($technical_support); ?></div>
  252. <div style="text-align:center; padding-bottom: 50px; color:#ffffff;">备案号:<a href="//beian.miit.gov.cn/" target="_blank" style="color:#ffffff;"><?php echo ($record_number); ?></a> </div>
  253. <!-- basic scripts -->
  254. <script src="/Common/js/jquery/jquery-2.0.3.min.js"></script>
  255. <!-- inline scripts related to this page -->
  256. <script type="text/javascript">
  257. function show_box(id) {
  258. jQuery('.widget-box.visible').removeClass('visible');
  259. jQuery('#'+id).addClass('visible');
  260. }
  261. </script>
  262. <script type="text/javascript">
  263. //表单提交
  264. $("form").submit(function(){
  265. var self = $(this);
  266. $.post(self.attr("action"), self.serialize(), success, "json");
  267. return false;
  268. function success(data){
  269. if(data.status){
  270. window.location.href = data.url;
  271. } else {
  272. self.find(".check-tips").text(data.info);
  273. $('.check-tips').fadeIn();
  274. setTimeout("$('.check-tips').fadeOut()",3000)
  275. }
  276. }
  277. });
  278. </script>
  279. </body>
  280. </html>