App.vue 2.1 KB

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