LiveMoreMenu.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <template>
  2. <u-popup :show="show" @close="$emit('close')" round="20rpx" bgColor="#f3f5f9" zIndex="10076">
  3. <view class="more-actions-popup">
  4. <view class="more-action-item" @click="$emit('integral')">
  5. <image class="action-icon"
  6. src="https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com/userapp/images/order.png" />
  7. <view class="action-label">积分</view>
  8. </view>
  9. <view class="more-action-item" @click="$emit('exchange')">
  10. <image class="action-icon"
  11. src="https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com/userapp/images/points.png" />
  12. <view class="action-label">兑换好礼</view>
  13. </view>
  14. <view class="more-action-item" @click="$emit('winning-record')">
  15. <image class="action-icon"
  16. src="https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com/userapp/images/health_sel.png" />
  17. <view class="action-label">中奖记录</view>
  18. </view>
  19. </view>
  20. </u-popup>
  21. </template>
  22. <script>
  23. export default {
  24. name: 'LiveMoreMenu',
  25. props: {
  26. show: { type: Boolean, default: false }
  27. }
  28. }
  29. </script>
  30. <style scoped lang="scss">
  31. .more-actions-popup {
  32. border-radius: 20rpx 0 0 20rpx;
  33. padding: 70rpx 30rpx;
  34. display: flex;
  35. justify-content: space-between;
  36. .more-action-item {
  37. display: flex;
  38. flex-direction: column;
  39. align-items: center;
  40. .action-icon {
  41. width: 48rpx;
  42. height: 48rpx;
  43. }
  44. .action-label {
  45. color: #1e1e1e;
  46. text-align: center;
  47. margin-top: 10rpx;
  48. }
  49. }
  50. }
  51. </style>