review.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <s-layout :bgStyle="{ color: '#fff' }" tabbar="/pages/index/review" title="复盘">
  3. <s-empty
  4. icon="/static/cart-empty.png"
  5. text="复盘空空如也,快去逛逛吧~"
  6. />
  7. <!-- 头部 -->
  8. <!-- 内容 -->
  9. <!-- 底部 -->
  10. </s-layout>
  11. </template>
  12. <script setup>
  13. import sheep from '@/common';
  14. import { onShow } from '@dcloudio/uni-app';
  15. import { computed, reactive } from 'vue';
  16. import { isEmpty } from '@/common/helper/utils';
  17. // 隐藏原生tabBar
  18. uni.hideTabBar({
  19. fail: () => {},
  20. });
  21. const sys_navBar = sheep.$platform.navbar;
  22. const state = reactive({
  23. });
  24. onShow(() => {
  25. });
  26. </script>
  27. <style lang="scss" scoped>
  28. :deep(.ui-fixed) {
  29. height: 72rpx;
  30. }
  31. .cart-box {
  32. width: 100%;
  33. .cart-header {
  34. height: 70rpx;
  35. background-color: #f6f6f6;
  36. width: 100%;
  37. position: fixed;
  38. left: 0;
  39. top: v-bind('sys_navBar') rpx;
  40. z-index: 1000;
  41. box-sizing: border-box;
  42. }
  43. .cart-footer {
  44. height: 100rpx;
  45. background-color: #fff;
  46. .pay-btn {
  47. width: 180rpx;
  48. height: 70rpx;
  49. font-size: 28rpx;
  50. line-height: 28rpx;
  51. font-weight: 500;
  52. border-radius: 40rpx;
  53. }
  54. }
  55. .cart-content {
  56. margin-top: 70rpx;
  57. .goods-box {
  58. background-color: #fff;
  59. position: relative;
  60. }
  61. // 下架商品
  62. .down-box {
  63. position: absolute;
  64. left: 0;
  65. top: 0;
  66. width: 100%;
  67. height: 100%;
  68. background: rgba(#fff, 0.8);
  69. z-index: 2;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. color: #999;
  74. font-size: 32rpx;
  75. }
  76. }
  77. }
  78. </style>