drawCard_boxDetail.vue 825 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="container">
  3. <view class="rightButtons">
  4. <view class="button">规则</view>
  5. <view class="button" @click="toKnapsack" style="top: 44px">背包</view>
  6. <view class="button" @click="toWinningRecord" style="bottom: 0">中奖记录</view>
  7. </view>
  8. </view>
  9. </template>
  10. <script></script>
  11. <style scoped lang="scss">
  12. .container {
  13. background: #9ec8f9;
  14. overflow: inherit;
  15. .rightButtons {
  16. position: fixed;
  17. right: 0;
  18. width: 50px;
  19. height: 70vh;
  20. top: 50%;
  21. transform: translateY(-50%);
  22. .button {
  23. position: absolute;
  24. right: 0;
  25. background: rgba(255, 255, 255, 0.7);
  26. font-size: 10px;
  27. text-align: center;
  28. height: 24px;
  29. line-height: 24px;
  30. border-radius: 12px 0 0 12px;
  31. width: 46px;
  32. }
  33. }
  34. }
  35. </style>