优化选择食材动效
This commit is contained in:
@@ -181,6 +181,7 @@ body {
|
||||
padding-left: 0.6266666667rem;
|
||||
}
|
||||
.wrap .game-area .select-time ul li {
|
||||
transition: all, 0.2s;
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
width: 1.84rem;
|
||||
|
@@ -291,6 +291,7 @@ body {
|
||||
padding-left: px2rem(47);
|
||||
|
||||
li {
|
||||
transition: all, 0.2s;
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
width: px2rem(138);
|
||||
@@ -1282,14 +1283,14 @@ body {
|
||||
font-size: px2rem(26);
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
white-space:nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mine-info {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
white-space:nowrap;
|
||||
white-space: nowrap;
|
||||
|
||||
img {
|
||||
width: px2rem(80);
|
||||
@@ -1314,7 +1315,7 @@ body {
|
||||
font-size: px2rem(26);
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
white-space:nowrap;
|
||||
white-space: nowrap;
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
|
@@ -82,6 +82,7 @@ const getUserPieceNum = () => {
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
$('.info-bottom').find('.fragment span').html(res.data.diamonds)
|
||||
$('.wrap .info-bottom .info-wrap .diamond-num span').text(res.data.diamonds)
|
||||
myFragment = res.data.diamonds;
|
||||
} else {
|
||||
return toastMsg(res.message)
|
||||
@@ -704,8 +705,9 @@ const sendUserDrawInfo = (itemId, num, tais) => {
|
||||
tais.data('total-num').number = parseInt(tais.data('total-num').number) + fragmentNum
|
||||
tais
|
||||
.stop(true, true)
|
||||
.animate({ scale: 1.1 }, 200)
|
||||
.animate({ scale: 1 }, 200, function () {
|
||||
.animate({ scale: 1.4,rotate:-30,}, 50)//skew(10deg, 10deg)
|
||||
.animate({ scale: 1.4,rotate:30,}, 20)//skew(10deg, 10deg)
|
||||
.animate({ scale: 1,rotate:0 }, 200, function () {
|
||||
if (lock) {
|
||||
tais.find('.select-num').html('+' + tais.data('total-num').number).hide().fadeIn(200)
|
||||
}
|
||||
@@ -1295,7 +1297,7 @@ $(function () {
|
||||
$countDown.html(countDownTime)
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
//返回页面 重新请求接口
|
||||
var hiddenProperty = 'hidden' in document ? 'hidden' :
|
||||
'webkitHidden' in document ? 'webkitHidden' :
|
||||
|
Reference in New Issue
Block a user