index.wxml 5.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <view class="content {{theam}}">
  2. <view class="turnTable paddingBox">
  3. <view class="prizeRule" data-name="rules" bindtap="openPrizeDetail">活动规则></view>
  4. <view class="title_pic_change" wx:if="{{tablePageInfo.titleLogo}}">
  5. <image src="{{tablePageInfo.titleLogo}}" mode="widthFix" style="width:70%"></image>
  6. </view>
  7. <view class="title_pic" wx:else></view>
  8. <view class="prize_table" style="height:{{tableSize}}px">
  9. <view class="table" style="width:{{tableSize}}px;height:{{tableSize}}px">
  10. <view class="point_radius center_public">
  11. <view class="rad" wx:for="{{9}}" wx:for-index="i" wx:key="index" style="transform: rotate({{0+40*i}}deg)">
  12. <view class="point yelloPoint"></view>
  13. <view class="point writePoint"></view>
  14. </view>
  15. </view>
  16. <view class="canvas-content center_public" style="height:calc({{tableSize}}px - 35px);width:calc({{tableSize}}px - 35px)" animation="{{animationData}}">
  17. <view class="canvas-line center_public">
  18. <view class="canvas-litem" style="" wx:for="{{awardsList}}" wx:key="unique" style="height:{{(tableSize-35)/2}}px;transform-origin:50% {{(tableSize-35)/2}}px;-webkit-transform-origin: 50% {{(tableSize-35)/2}}px;left:{{(tableSize-35)/2}}px;-webkit-transform: rotate({{item.lineTurn}});transform: rotate({{item.lineTurn}})"></view>
  19. </view>
  20. <view class="canvas-list center_public">
  21. <view class="canvas-item" wx:for="{{awardsList}}" wx:key="unique">
  22. <view class="canvas-item-text" style="-webkit-transform: rotate({{item.turn}});transform: rotate({{item.turn}});transform-origin: 50% {{(tableSize-35)/2}}px;-webkit-transform-origin: 50% {{(tableSize-35)/2}}px;width:{{360/awardsList.length*(tableSize-35)/180+10}}px">
  23. <view class="pize_name" style="font-size:{{item.showWheelLogo?'22rpx':'30rpx'}}">{{item.award}}</view>
  24. <view class="prize_pic" wx:if="{{item.showWheelLogo}}" style="width:{{360/awardsList.length*(tableSize-35)/180-20}}px;">
  25. <image src="{{item.url}}" mode="widthFix"></image>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <view bindtap="getPrize" class="canvas-btn center_public {{btnDisabled}}">
  32. <view class="InnerRing center_public {{btnDisabled}}">
  33. <text class="center_public {{btnDisabled}}">GO</text>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="logo_pic"></view>
  38. <view class="theam_pic" wx:if="{{theam=='blueContent'}}"></view>
  39. </view>
  40. <view class="drawInfo">
  41. <view>您还有 <text class="redPrize">{{tablePageInfo.actnum}}</text> 次机会</view>
  42. <view wx:if="{{tablePageInfo.showPnum}}">已有 {{tablePageInfo.attendedNum}} 人参加</view>
  43. </view>
  44. <view class="btn">
  45. <button type="warn" plain="true" bindtap="getMoreChange"><text class="icon icon-more-times"></text> 获取机会 </button>
  46. <button type="warn" plain="true" bindtap="jumpRecord"><text class="icon icon-courteous"></text> 中奖纪录 </button>
  47. <button type="warn" open-type="share"><text class="icon icon-invite-friend"></text> 邀请好友 </button>
  48. </view>
  49. </view>
  50. <view class="prize_Person_list paddingBox">
  51. <view class="bgView">
  52. <view class="list_top">
  53. <view class="person_list">中奖名单</view>
  54. <scroll-view class="scroll" scroll-y style="height: 300rpx;" enhanced="{{true}}" show-scrollbar="false" scroll-with-animation scroll-into-view="{{scrollIndex}}">
  55. <view class="person_info" id="{{'view'+index}}" wx:for="{{winPrizeList}}" wx:key="index">
  56. <view class="headImg">
  57. <image wx:if="{{item.avatar}}" src="{{item.avatar}}"></image>
  58. </view>
  59. <view class="nickName">{{item.nickname}}</view>
  60. <view class="redPrize">抽中了</view>
  61. <view class="award">{{item.title}}</view>
  62. </view>
  63. </scroll-view>
  64. </view>
  65. <view class="list_bottom"></view>
  66. </view>
  67. </view>
  68. <view class="prize_list paddingBox">
  69. <view class="person_list">奖品清单</view>
  70. <view class="prize" wx:for="{{PrizeList}}" wx:key="index" data-name="award" data-item="{{item}}" bindtap="{{item.showDetail==1?'openPrizeDetail':''}}">
  71. <view class="no1_icon" wx:if="{{index==0}}"></view>
  72. <view class="prize_info">
  73. <view class="left">
  74. <image src="{{item.logo}}"></image>
  75. </view>
  76. <view class="right">
  77. <view class="price_Ranking fontWei">{{item.title}} X{{item.showNum}}</view>
  78. <view class="price_name">{{item.mtitle}}</view>
  79. </view>
  80. </view>
  81. <view class="bottomStyle"></view>
  82. </view>
  83. <view class="list_bottom_pic">
  84. <image src="http://img.bbztx.com/image_test/upload/thumbs/20210226/logo/1614327118034040663.png" mode="widthFix"></image>
  85. </view>
  86. </view>
  87. </view>
  88. <tableStatus theam="{{theam}}" status="{{status}}" show="{{showtableStatus}}" bind:close="closeTip" bind:getMoreChange="getMoreChange"></tableStatus>
  89. <downTimer isPrizetable listData="{{winPrizeList}}" source="1" aid="c7f3a12e-fbd8-4760-b808-e3a7e8996d5a"></downTimer>
  90. <sendAddress theam="{{theam}}" show="{{showAddress}}" prizeId="{{prizeId}}" bind:close="closeTip"></sendAddress>
  91. <noticePopup theam="{{theam}}" show="{{showPrizePopup}}" prizeInfo="{{winPrizeInfo}}" bind:close="closeTip" bind:tryAgain="tryAgain" bind:inputAddress="inputAddress"></noticePopup>
  92. <activeRules theam="{{theam}}" wheelId="{{wheelId}}" show="{{showRulesPopup}}" bind:close="closeTip"></activeRules>
  93. <awardPopup theam="{{theam}}" prizeInfo="{{prizeInfo}}" show="{{showAwardPopup}}" bind:close="closeTip"></awardPopup>