game.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <view class="shareGame">
  2. <button wx:if="{{authEnter}}" class="auth_enter" open-type="getUserInfo" bindgetuserinfo="getUserInfoFun"></button>
  3. <image src="/image/zuanqianxiaojiqiao_bg.png" class="bg" mode="widthFix"></image>
  4. <view class="gamecontent">
  5. <view class="gameinfo">
  6. <view class="user">
  7. <image class="icon" src="{{currentInfo.mem_avatar}}"></image>
  8. <text class="name">{{currentInfo.mem_nickname}}</text>
  9. </view>
  10. <image class="title" src="/image/fenxianghaoyouxi.png"></image>
  11. </view>
  12. <view class="game">
  13. <image src="{{result.game.icon}}"></image>
  14. </view>
  15. <view class="name">
  16. {{result.game.gamename}}
  17. </view>
  18. <view class="des">
  19. {{result.game.oneword}}
  20. </view>
  21. <text class="play" bindtap="switchTo" data-path="/pages/game/game">更多好玩,更多红包</text>
  22. <navigator class="tomore" target="miniProgram" app-id="{{result.game.mini_app_id}}" version="release" path="{{result.game.url}}">玩一玩</navigator>
  23. </view>
  24. </view>
  25. <!-- 新用户红包 -->
  26. <view class='redPackMask' wx:if="{{ShowRedPackMask}}">
  27. <view class='content {{redAnimation ? "packAnimation" : ""}}'>
  28. <image class='bg' src='/image/shouye_icon_hongbaobeijing{{getSuccess ? 2 : ""}}.png'></image>
  29. <view class='info info1' wx:if="{{getSuccess}}">
  30. <text class='info1_top'>恭喜!</text>
  31. <view class='info1_des'>现金 <text>{{redPackAward}}</text> 元已入账</view>
  32. <!-- <view class='info1_des' wx:elif="{{mpType === 'gd'}}"><text>{{redPackAward}}</text> 金币已入账</view> -->
  33. <text class='info1_tips'>满一定金额,可提现至微信</text>
  34. <button class='info1_save' bindtap='CloseRedPack'>立即查看</button>
  35. </view>
  36. <view class='info info2' wx:else>
  37. <image class='info2_avatar' src='{{redIcon}}'></image>
  38. <text class='info2_title'>{{redName}}</text>
  39. <text class='info2_des'>给你发一个红包</text>
  40. <text class='info2_text'>恭喜发财,大吉大利</text>
  41. <button class='info2_open' open-type="getUserInfo" bindgetuserinfo="getUserInfoFun">
  42. <image src='/image/hongbao2.png'></image>
  43. </button>
  44. </view>
  45. </view>
  46. </view>