Authored by 陈峰

Merge branch 'feature/raffle' into 'release/5.4'

适配宽度

使活动页高度,至少为窗口高度

See merge request !170
... ... @@ -35,8 +35,6 @@ const activity = (params) => {
let bgUrl = '';
let prizesList = result[0].data.prizes;
let newPrizes = [];
let same = false;
... ... @@ -56,6 +54,8 @@ const activity = (params) => {
});
// 合并名称相同奖项
let prizesList = result[0].data.prizes;
prizesList.forEach((val, index) => {
if (newPrizes == '') {
newPrizes[0] = {
... ...
... ... @@ -331,6 +331,9 @@ $(window).scroll(function() {
getOrders();
$(function() {
// 适配背景图
var winH = $(document).height();
$(".wx-act-c").height(winH + "px");
if ($('.dia-tip').length > 0) {
if(window.cookie('bindUrl') == 'http://m.yohobuy.com/passport/bind/success?type=bind') {
userId = $('.dia-tip').val();
... ...
... ... @@ -4,7 +4,7 @@
width: 100%;
overflow: hidden;
position: relative;
background-size: 100%;
background-size: 100% auto;
background-repeat: no-repeat;
.logo {
... ... @@ -95,7 +95,7 @@
.rule-list-c {
height: 198px;
overflow-y: scroll;
padding: 0 30px;
padding-left: 10px;
li {
color: #fff;
... ...