东风启辰小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 line
8.7KB

  1. <!--pages/everyday/everyday.wxml-->
  2. <view id="everyday" class="showView">
  3. <image class="showImg" src="{{imgUrl+'/newImages/30.png'}}"></image>
  4. <image class="ruleBtn" bindtap="ruleControl" data-state="{{true}}" src="{{imgUrl+'/newIcon/1.png'}}"></image>
  5. <view class="title">集碎片,攒红包</view>
  6. <view class="menuBox">
  7. <image class="menu" src="{{imgUrl+'/star/everyday/menu.png'}}"></image>
  8. <view class="leftTitle"></view>
  9. <view class="centerTitle">{{picturlList[picturlCurrent]['fullName']}}</view>
  10. <view class="rightTitle"></view>
  11. </view>
  12. <view class="swiperBox">
  13. <swiper current="{{picturlCurrent}}" bindchange="swiperChange">
  14. <block wx:for="{{picturlList}}" wx:key="index">
  15. <swiper-item>
  16. <view class="fragmentBox">
  17. <image class="fragmentComplete" src="{{item.fullPicUrl}}"></image>
  18. <image class="fragmentComplete1" animation="{{ani1}}" wx:if="{{!item.childIdArr[0]}}" src="{{imgUrl+'/newImages/maskIcon1.png'}}"></image>
  19. <image class="fragmentComplete2" animation="{{ani2}}" wx:if="{{!item.childIdArr[1]}}" src="{{imgUrl+'/newImages/maskIcon2.png'}}"></image>
  20. <image class="fragmentComplete3" animation="{{ani3}}" wx:if="{{!item.childIdArr[2]}}" src="{{imgUrl+'/newImages/maskIcon3.png'}}"></image>
  21. <image class="fragmentComplete4" animation="{{ani4}}" wx:if="{{!item.childIdArr[3]}}" src="{{imgUrl+'/newImages/maskIcon4.png'}}"></image>
  22. <view class="lockSty lock1" wx:if="{{picturlList[picturlCurrent]['awardState']==0}}">
  23. <image wx:if="{{item.childIdArr[0]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon2.png'}}"></image>
  24. <image wx:if="{{!item.childIdArr[0]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon1.png'}}"></image>
  25. </view>
  26. <view class="lockSty lock2" wx:if="{{picturlList[picturlCurrent]['awardState']==0}}">
  27. <image wx:if="{{item.childIdArr[1]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon2.png'}}"></image>
  28. <image wx:if="{{!item.childIdArr[1]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon1.png'}}"></image>
  29. </view>
  30. <view class="lockSty lock3" wx:if="{{picturlList[picturlCurrent]['awardState']==0}}">
  31. <image wx:if="{{item.childIdArr[2]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon4.png'}}"></image>
  32. <image wx:if="{{!item.childIdArr[2]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon3.png'}}"></image>
  33. </view>
  34. <view class="lockSty lock4" wx:if="{{picturlList[picturlCurrent]['awardState']==0}}">
  35. <image wx:if="{{item.childIdArr[3]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon4.png'}}"></image>
  36. <image wx:if="{{!item.childIdArr[3]}}" class="lockIcon" src="{{imgUrl+'/newImages/lockIcon3.png'}}"></image>
  37. </view>
  38. </view>
  39. </swiper-item>
  40. </block>
  41. </swiper>
  42. <image class="arrowBtn" wx:if="{{picturlCurrent!=0}}" style="left:-30rpx;" src="{{imgUrl+'/star/everyday/arrowLeftBtn.png'}}" bindtap="prevPicturl"></image>
  43. <image class="arrowBtn" wx:if="{{picturlCurrent!=picturlList.length-1}}" style="right:-30rpx;" src="{{imgUrl+'/star/everyday/arrowRightBtn.png'}}" bindtap="nextPicturl"></image>
  44. </view>
  45. <!-- <view class="cumulativeGroup" wx:if="{{picturlList[picturlCurrent]['awardState']==0}}">您已累计登陆 {{totalSignDay}} 天</view> -->
  46. <view class="btnBox" style="width:483rpx;" wx:if="{{picturlList[picturlCurrent]['awardState']==0}}">
  47. <view class="receive">您已累计登陆 {{totalSignDay}} 天</view>
  48. </view>
  49. <view class="btnBox" style="width:483rpx;" wx:if="{{picturlList[picturlCurrent]['awardState']==1}}">
  50. <view class="receive" bindtap="receive">领取购车红包</view>
  51. </view>
  52. <view class="btnBox" style="width:483rpx;" wx:if="{{picturlList[picturlCurrent]['awardState']==-1}}">
  53. <view class="receive" style="background-color:gray;">已领取</view>
  54. </view>
  55. <!-- <view class="btnBox">
  56. <image class="starBtn" bindtap="goScout" src="{{imgUrl+'/btns/starBtn1_2.png'}}"></image>
  57. <image class="starBtn" src="{{imgUrl+'/btns/starBtn2.png'}}"></image>
  58. </view>
  59. <view class="btnBox" style="width:677rpx;" wx:if="{{picturlList[picturlCurrent]['awardState']==1}}">
  60. <view class="receive" bindtap="receive">领取购车红包</view>
  61. </view>
  62. <view class="btnBox" style="width:677rpx;" wx:if="{{picturlList[picturlCurrent]['awardState']==-1}}">
  63. <view class="receive" style="background-color:gray;">已领取</view>
  64. </view> -->
  65. <view class="mask" wx:if="{{!signState}}">
  66. <view class="newImagesGroup">
  67. <image class="newImages28" src="{{imgUrl+'/newImages/28.png'}}"></image>
  68. <view class="signText">{{signData.shortName}}</view>
  69. <image class="signPic" src="{{signData.popPicUrl}}"></image>
  70. <image class="newImages29" bindtap="signIn" src="{{imgUrl+'/newImages/29.png'}}"></image>
  71. </view>
  72. </view>
  73. <!-- <view class="mask" wx:if="{{maskShow}}">
  74. <view class="taskBox" wx:if="{{taskShow}}">
  75. <image wx:if="{{!isSign}}" class="gameRuleClose" bindtap="hiddenTask" style="top:-40rpx;right:-40rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image>
  76. <image class="everyDayTitle" src="{{imgUrl+'/images/everyDayTitle.png'}}"></image>
  77. <view class="contentBox">
  78. <view class="name" wx:if="{{!isSign}}">{{taskName}}</view>
  79. <image class="taskImg" src="{{taskImgUrl}}" wx:if="{{!isSign}}"></image>
  80. <view class="signBtnGroup">
  81. <view wx:if="{{isSign}}" bindtap="signIn">
  82. <image class="everyDaySign" src="{{imgUrl+'/images/everyDaySign.png'}}"></image>
  83. <button wx:if="{{!userData}}" class="getUserMsgBtn" open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="getUserWxMsg" style="width:100%;height:100%;min-height:0;"></button>
  84. </view>
  85. </view>
  86. <view class="btn" wx:if="{{!isSign}}">
  87. <image class="everyDaySign" src="{{imgUrl+'/images/everyDayShare.png'}}"></image>
  88. <button open-type="share" class="shareBtn" style="width:100%;height:100%;margin:0;padding:0;min-height:0;"></button>
  89. </view>
  90. </view>
  91. </view>
  92. </view> -->
  93. </view>
  94. <view class="gamaRuleFrame" wx:if="{{showRule}}">
  95. <view class="gameRuleGroup">
  96. <image class="gameRuleIcon" src="{{imgUrl+'/images/gameRuleIcon.png'}}"></image>
  97. <image class="gameRuleClose" src="{{imgUrl+'/star/closebtn.png'}}" bindtap="ruleControl" data-state="{{false}}"></image>
  98. <view class="openTask" bindtap="ruleControl" data-state="{{false}}">
  99. <image style="width:100%;height:100%;" class="everyDayOpen" src="{{imgUrl+'/images/everyDayOpen.png'}}"></image>
  100. </view>
  101. </view>
  102. </view>
  103. <view class="successPop" wx:if="{{tipWindow}}">
  104. <view class="successGroup">
  105. <image class="gameRuleClose" bindtap="closeWindow" style="top:-31rpx;right:-29rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image>
  106. <image class="successIcon" src="{{imgUrl+'/images/successIcon.png'}}"></image>
  107. <view class="titleGroup"></view>
  108. <view class="successTip">幸运满格,大奖到手</view>
  109. <image class="prizePic" src="{{getReward.awardPicUrl}}" mode="aspectFit"></image>
  110. <view class="prizeName">{{getReward.awardName}}</view>
  111. <!-- <view class="startRegister" wx:if="{{tipWindow==1}}" bindtap="receive">立即领取</view> -->
  112. <!-- <view class="startRegister" wx:if="{{tipWindow==2}}" bindtap="userRegister">立即领取</view> -->
  113. </view>
  114. </view>
  115. <view class="successPop" wx:if="{{hiddenFriendFrame}}">
  116. <view class="friendTip">
  117. <image class="gameRuleClose" bindtap="hiddenFriendTip" style="top:-31rpx;right:-29rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image>
  118. <!-- <text class="closeBtn" style="right:-40rpx;top:-40rpx;" bindtap="hiddenFriendTip"></text> -->
  119. <view class="friendTipTitle">恭喜您</view>
  120. <view class="tipText">您已经成功为 {{useShareData.nickName?useShareData.nickName:""}} 获得了</view>
  121. <view class="tipText">一片{{useShareData.taskName}}碎片</view>
  122. <view class="tipText">集齐4片即可获得一份</view>
  123. <view class="tipText">启辰星购车红包</view>
  124. <view class="joinBtn" bindtap="hiddenFriendTip">我也要玩</view>
  125. </view>
  126. </view>
  127. <view class="prizeDesc" catchtouchmove="ture" wx:if="{{isAddressShow}}">
  128. <view class="mycenterTipWindowGroup">
  129. <image class="mycenterTipWindow1" src="{{imgUrl+'/images/mycenterTipWindow1.png'}}"></image>
  130. <image bindtap="tipWindow" class="closeDescIcon" style="top:-10rpx;right:-10rpx;" src="{{imgUrl+'/images/closeDescIcon.png'}}"></image>
  131. <view class="mycenterTipBtnGroup">
  132. <image class="mycenterTipBtn" bindtap="lookAddress" src="{{imgUrl+'/images/mycenterTipBtn1.png'}}"></image>
  133. </view>
  134. </view>
  135. </view>
  136. <userMsg bindaddress="addressControl" wx:if="{{addressShow}}"></userMsg>
  137. <tabBar></tabBar>