Authored by Rock Zhang

Merge branch 'develop' into test

... ... @@ -95,11 +95,15 @@ function getShoppingKey() {
//根据页面内容重新设置通用底部的显示
function rePosFooter() {
var winH;
if ($footer.length === 0) {
return;
}
if ($('body').height() <= $(window).height() - parseInt($footer.css('height'), 0)) {
winH = Math.min($(window).height(), window.screen.availHeight);
if ($('body').height() <= winH - parseInt($footer.css('height'), 0)) {
$footer.addClass('bottom');
} else {
$footer.removeClass('bottom');
... ...
... ... @@ -31,6 +31,8 @@ chHammer.on('tap', function() {
localStorage.removeItem('historys');
$history.html('');
window.rePosFooter();
});
$input.on('input', function() {
... ... @@ -78,6 +80,8 @@ $('#search').on('touchend', function() {
$history.html(html);
$clearHistory.removeClass('hide');
window.rePosFooter();
}
}
}());
... ...
... ... @@ -103,7 +103,7 @@ function hideWeChatPay() {
var $payApps = $('.app');
$payApps.each(function(idx, app) {
if ($(app).attr('id') === 'weixin') {
if ($(app).parent().attr('id') === 'weixin') {
$(app).parent().css('display', 'none');
return false;
}
... ...
... ... @@ -84,7 +84,7 @@
display: block;
color: #b0b0b0;
font-size: 24rem / $pxConvertRem;
margin: 30rem / $pxConvertRem 0 110rem / $pxConvertRem;
margin: 30rem / $pxConvertRem 0 80rem / $pxConvertRem;
}
.walk-way {
... ... @@ -185,6 +185,12 @@
.name {
font-size: 28rem / $pxConvertRem;
max-width: 70%;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.row:nth-child(2) {
... ...
... ... @@ -36,7 +36,7 @@
> div {
width: 60rem / $pxConvertRem;
height: 60rem / $pxConvertRem;
background-image: url(http://localhost:8000/img/layout/pay-icon.png);
background-image: image-url("/img/layout/pay-icon.png");
background-size: 90%;
background-position-y: 8rem / $pxConvertRem;
background-position-x: center;
... ...
... ... @@ -20,10 +20,10 @@
display: block;
}
span{
float: left;
overflow: hidden;
}
.user-name {
float: left;
max-width: 240rem / $pxConvertRem;
text-overflow:ellipsis;
white-space:nowrap;
... ... @@ -32,6 +32,7 @@
}
.vip-icon {
float: left;
width: pxToRem(72px);
height: pxToRem(32px);
line-height: 36rem / $pxConvertRem;
... ...