fl.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <script setup lang="ts">
  2. const { statusBarHeight, MenuButtonHeight } = storeToRefs(useSysStore())
  3. </script>
  4. <template>
  5. <view>
  6. <wd-navbar
  7. title="福利中心"
  8. :bordered="false"
  9. :z-index="99"
  10. safe-area-inset-top
  11. placeholder
  12. fixed
  13. />
  14. <scroll-view scroll-y :style="{ height: `calc(100vh - ${(statusBarHeight + MenuButtonHeight) * 4}rpx)` }">
  15. <view class="px24rpx">
  16. <view v-for="item in 20" :key="item" class="mt20rpx rounded-16rpx bg-white p24rpx">
  17. <view class="h248rpx w-full">
  18. 12
  19. </view>
  20. <view class="mt24rpx w-full">
  21. <view class="flex items-center justify-between">
  22. <view class="text-32rpx font-semibold">
  23. 新人专享活动
  24. </view>
  25. <view class="text-28rpx">
  26. 未开始
  27. </view>
  28. </view>
  29. </view>
  30. <view class="mt16rpx text-gray">
  31. 2026-01-19 14:03:59
  32. 2026-01-19 14:03:59
  33. </view>
  34. <view class="mt20rpx text-24rpx">
  35. 领取:24/4,458
  36. </view>
  37. </view>
  38. <view class="h40rpx" />
  39. </view>
  40. </scroll-view>
  41. </view>
  42. </template>
  43. <style scoped>
  44. </style>