App.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <script setup lang="ts">
  2. import useUpdateManager from './composables/useUpdateManager'
  3. useUpdateManager()
  4. useSysStore().getSystemData()
  5. onLaunch(() => { })
  6. </script>
  7. <style lang="scss">
  8. .page-wraper {
  9. min-height: calc(100vh - var(--window-top));
  10. box-sizing: border-box;
  11. background: #f6f6f6;
  12. --them-color: #9ED605;
  13. .upload {
  14. .wd-upload__preview {
  15. width: 120rpx !important;
  16. height: 120rpx !important;
  17. }
  18. .wd-upload__status-content {
  19. overflow: hidden !important;
  20. border-radius: 32rpx !important;
  21. }
  22. }
  23. }
  24. .wot-theme-dark.page-wraper {
  25. background: #222;
  26. }
  27. .ios {
  28. padding-bottom: constant(safe-area-inset-bottom);
  29. padding-bottom: env(safe-area-inset-bottom);
  30. }
  31. .header-linear {
  32. background: linear-gradient(180deg, var(--them-color) 0%, rgba(255, 255, 255, 0) 100%);
  33. }
  34. .xsb-linear {
  35. background: linear-gradient(179deg, rgba(190, 255, 13, 0.4) 0%, rgba(220, 255, 125, 0.2) 49%, rgba(158, 214, 5, 0) 100%);
  36. }
  37. /* 隐藏滚动条安卓机会出现滚动条 */
  38. ::-webkit-scrollbar {
  39. display: none;
  40. width: 0;
  41. height: 0;
  42. color: transparent;
  43. }
  44. .page-xsb {
  45. :deep() {
  46. .line {
  47. .wd-divider {
  48. padding: 0 !important;
  49. margin: 20rpx 0 20rpx 0 !important;
  50. }
  51. }
  52. .custom-radio{
  53. .wd-radio-group {
  54. background-color: unset !important;
  55. }
  56. }
  57. .wd-sort-button {
  58. height: 100% !important;
  59. line-height: 0 !important;
  60. .wd-sort-button__left {
  61. font-size: 24rpx !important;
  62. }
  63. }
  64. .custom-tab {
  65. border-radius: 28rpx 28rpx 0 0;
  66. }
  67. .notice-bar {
  68. padding: 0 !important;
  69. }
  70. .card-zt {
  71. margin: 0 !important;
  72. padding: 0 0 24rpx 0 !important;
  73. }
  74. .swiper-img {
  75. .custom-indicator-class {
  76. bottom: -20rpx !important;
  77. .wd-swiper-nav__item--dots-bar {
  78. background: #F0F0F0 !important;
  79. }
  80. .is-active {
  81. background: var(--them-color) !important;
  82. }
  83. }
  84. }
  85. .swiper .wd-swiper__item {
  86. height: 142rpx;
  87. flex-direction: column;
  88. align-items: center;
  89. justify-content: center;
  90. image {
  91. height: 72rpx !important;
  92. width: 72rpx !important;
  93. }
  94. text {
  95. position: unset !important;
  96. color: #222222 !important;
  97. font-size: 24rpx !important;
  98. text-align: center;
  99. margin-top: 12rpx;
  100. }
  101. }
  102. }
  103. }
  104. </style>