Authored by lijing

适配背景

@@ -331,6 +331,9 @@ $(window).scroll(function() { @@ -331,6 +331,9 @@ $(window).scroll(function() {
331 getOrders(); 331 getOrders();
332 332
333 $(function() { 333 $(function() {
  334 + // 适配背景图
  335 + var winH = $(document).height();
  336 + $(".wx-act-c").height(winH + "px");
334 if ($('.dia-tip').length > 0) { 337 if ($('.dia-tip').length > 0) {
335 if(window.cookie('bindUrl') == 'http://m.yohobuy.com/passport/bind/success?type=bind') { 338 if(window.cookie('bindUrl') == 'http://m.yohobuy.com/passport/bind/success?type=bind') {
336 userId = $('.dia-tip').val(); 339 userId = $('.dia-tip').val();
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 width: 100%; 4 width: 100%;
5 overflow: hidden; 5 overflow: hidden;
6 position: relative; 6 position: relative;
7 - background-size: 100%; 7 + background-size: 100% auto;
8 background-repeat: no-repeat; 8 background-repeat: no-repeat;
9 9
10 .logo { 10 .logo {
@@ -95,7 +95,7 @@ @@ -95,7 +95,7 @@
95 .rule-list-c { 95 .rule-list-c {
96 height: 198px; 96 height: 198px;
97 overflow-y: scroll; 97 overflow-y: scroll;
98 - padding: 0 30px; 98 + padding-left: 10px;
99 99
100 li { 100 li {
101 color: #fff; 101 color: #fff;