<script setup lang="ts">
import useUpdateManager from './composables/useUpdateManager'

useUpdateManager()
useSysStore().getSystemData()
onLaunch(() => { })
</script>

<style lang="scss">
.page-wraper {
  min-height: calc(100vh - var(--window-top));
  box-sizing: border-box;
  background: #f6f6f6;
  --them-color: #9ED605;

  .upload {
    .wd-upload__preview {
      width: 120rpx !important;
      height: 120rpx !important;
    }

    .wd-upload__status-content {
      overflow: hidden !important;
      border-radius: 32rpx !important;
    }
  }
}

.wot-theme-dark.page-wraper {
  background: #222;
}

.ios {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.header-linear {
  background: linear-gradient(180deg, var(--them-color) 0%, rgba(255, 255, 255, 0) 100%);
}

.xsb-linear {
  background: linear-gradient(179deg, rgba(190, 255, 13, 0.4) 0%, rgba(220, 255, 125, 0.2) 49%, rgba(158, 214, 5, 0) 100%);
}

/* 隐藏滚动条安卓机会出现滚动条 */
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  color: transparent;
}

.page-xsb {
  :deep() {
    .line {
      .wd-divider {
        padding: 0 !important;
        margin: 20rpx 0 20rpx 0 !important;
      }
    }
    .custom-radio{
      .wd-radio-group {
        background-color: unset !important;
      }
    }
    .wd-sort-button {
      height: 100% !important;
      line-height: 0 !important;

      .wd-sort-button__left {
        font-size: 24rpx !important;
      }
    }

    .custom-tab {
      border-radius: 28rpx 28rpx 0 0;
    }

    .notice-bar {
      padding: 0 !important;
    }

    .card-zt {
      margin: 0 !important;
      padding: 0 0 24rpx 0 !important;
    }

    .swiper-img {
      .custom-indicator-class {
        bottom: -20rpx !important;

        .wd-swiper-nav__item--dots-bar {
          background: #F0F0F0 !important;
        }

        .is-active {
          background: var(--them-color) !important;
        }
      }

    }

    .swiper .wd-swiper__item {
      height: 142rpx;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      image {
        height: 72rpx !important;
        width: 72rpx !important;
      }

      text {
        position: unset !important;
        color: #222222 !important;
        font-size: 24rpx !important;
        text-align: center;
        margin-top: 12rpx;
      }
    }
  }

}
</style>
