Commit 86864381f0cd4c675eb380f04a848709e5bac9c0

Authored by pengye
1 parent 90cb5a22

邀请函弹框领取后加动画3

@@ -1520,10 +1520,17 @@ Page({ @@ -1520,10 +1520,17 @@ Page({
1520 duration: 800, 1520 duration: 800,
1521 timingFunction: 'ease', 1521 timingFunction: 'ease',
1522 }); 1522 });
1523 - animation.translateY('-60%')  
1524 - .translateX('34%')  
1525 - .scale(0)  
1526 - .step(); 1523 + if(this.data.bookType == '1'){
  1524 + animation.translateY('-60%')
  1525 + .translateX('34%')
  1526 + .scale(0)
  1527 + .step();
  1528 + } else {
  1529 + animation.translateY('-60%')
  1530 + .translateX('-44%')
  1531 + .scale(0)
  1532 + .step();
  1533 + }
1527 this.setData({ 1534 this.setData({
1528 animationData: animation.export(), 1535 animationData: animation.export(),
1529 }); 1536 });
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <view class="fullscreenMask" animation="{{animationData}}" wx:if="{{isShow=='1'}}"> 12 <view class="fullscreenMask" animation="{{animationData}}" wx:if="{{isShow=='1'}}">
13 <image src="https://qn.colorcun.com/getCouponIcon2.png" mode=""/> 13 <image src="https://qn.colorcun.com/getCouponIcon2.png" mode=""/>
14 </view> 14 </view>
15 - <view class="targetPoint" style="top: 35%; right: 4%;"></view> 15 + <view class="targetPoint" style="{{bookType =='1'?'right: 4%;top: 35%;':'left: 2%;top: 27%;'}}"></view>
16 <image wx:if="{{detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" /> 16 <image wx:if="{{detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" />
17 <image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" /> 17 <image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
18 <view class="reservationInfoBox" wx:if="{{detail && detail.ddate}}"> 18 <view class="reservationInfoBox" wx:if="{{detail && detail.ddate}}">