作者 李洪娟

修改

1 1
2 -body{  
3 - background: #69A0D6 url(../../images/login_bg.png) center no-repeat;  
4 - background-size: 100% 100%;  
5 -}  
6 .container { 2 .container {
7 /*background: url(../../images/login_bg.png) center no-repeat;*/ 3 /*background: url(../../images/login_bg.png) center no-repeat;*/
8 /*background-size: 100% 100%;*/ 4 /*background-size: 100% 100%;*/
@@ -12,6 +12,8 @@ @@ -12,6 +12,8 @@
12 html,body { 12 html,body {
13 display: flex; 13 display: flex;
14 flex-flow: column; 14 flex-flow: column;
  15 + background: #69A0D6 url("__TMPL__/public/mobile/images/login_bg.png") center no-repeat;
  16 + background-size: 100% 100%;
15 } 17 }
16 .container { 18 .container {
17 display: flex; 19 display: flex;
@@ -80,6 +82,9 @@ @@ -80,6 +82,9 @@
80 <script src="__TMPL__/public/mobile/js/swiper-4.3.5.min.js" type="text/javascript" charset="utf-8"></script> 82 <script src="__TMPL__/public/mobile/js/swiper-4.3.5.min.js" type="text/javascript" charset="utf-8"></script>
81 <script src="__TMPL__/public/mobile/js/common.js" type="text/javascript" charset="utf-8"></script> 83 <script src="__TMPL__/public/mobile/js/common.js" type="text/javascript" charset="utf-8"></script>
82 <script type="text/javascript"> 84 <script type="text/javascript">
  85 + var wid_height = $(window).height();
  86 + $(body).css("background-size","100%" + wid_height);
  87 +
83 $('.to_register').click(function(){ 88 $('.to_register').click(function(){
84 window.location.href = "{:url('user/Register/index')}"; 89 window.location.href = "{:url('user/Register/index')}";
85 }); 90 });