index.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. .search-right {
  2. padding: 0 10rpx !important;
  3. }
  4. page {
  5. width: 100vw;
  6. overflow: hidden;
  7. }
  8. .groud {
  9. width: 100%;
  10. padding: 30rpx;
  11. border-bottom: 1px solid #DDDDDD;
  12. .label {
  13. height: 40rpx;
  14. font-size: 28rpx;
  15. font-family: PingFang SC-Regular, PingFang SC;
  16. color: #333333;
  17. }
  18. .content {
  19. display: flex;
  20. flex-wrap: wrap;
  21. width: 100%;
  22. .but {
  23. width: 188rpx;
  24. height: 72rpx;
  25. background: #F5F5F5;
  26. border-radius: 8rpx;
  27. font-size: 28rpx;
  28. font-family: PingFang SC-Regular, PingFang SC;
  29. color: #333333;
  30. box-sizing: border-box;
  31. margin-right: 20rpx;
  32. margin-top: 20rpx;
  33. padding: 0;
  34. }
  35. .active {
  36. border: 1px solid #3874F6;
  37. color: #3874F6;
  38. font-weight: bold;
  39. background-color: #F5F5F5;
  40. }
  41. }
  42. .time {
  43. .partition {
  44. margin-right: 20rpx;
  45. display: flex;
  46. align-items: center;
  47. }
  48. .tbox {
  49. width: 220rpx;
  50. height: 72rpx;
  51. text-align: center;
  52. line-height: 72rpx;
  53. background: #F5F5F5;
  54. border-radius: 8rpx;
  55. font-size: 28rpx;
  56. font-family: PingFang SC-Regular, PingFang SC;
  57. color: #333333;
  58. box-sizing: border-box;
  59. margin-right: 20rpx;
  60. margin-top: 20rpx;
  61. }
  62. }
  63. }
  64. .DrawerPage {
  65. position: fixed;
  66. width: 100vw;
  67. height: 100vh;
  68. left: 0vw;
  69. background-color: #f1f1f1;
  70. transition: all 0.4s;
  71. }
  72. .DrawerPage.show {
  73. transform: scale(0.9, 0.9);
  74. left: 85vw;
  75. box-shadow: 0 0 60rpx rgba(0, 0, 0, 0.2);
  76. transform-origin: 0;
  77. }
  78. .DrawerWindow {
  79. position: absolute;
  80. width: 85vw;
  81. height: 100vh;
  82. left: 0;
  83. top: 0;
  84. transform: scale(0.9, 0.9) translateX(-100%);
  85. opacity: 0;
  86. pointer-events: none;
  87. transition: all 0.4s;
  88. }
  89. .DrawerWindow.show {
  90. transform: scale(1, 1) translateX(0%);
  91. opacity: 1;
  92. pointer-events: all;
  93. }
  94. .DrawerClose {
  95. position: absolute;
  96. width: 40vw;
  97. height: 100vh;
  98. right: 0;
  99. top: 0;
  100. color: transparent;
  101. padding-bottom: 30rpx;
  102. display: flex;
  103. align-items: flex-end;
  104. justify-content: center;
  105. background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
  106. letter-spacing: 5px;
  107. font-size: 50rpx;
  108. opacity: 0;
  109. pointer-events: none;
  110. transition: all 0.4s;
  111. }
  112. .DrawerClose.show {
  113. opacity: 1;
  114. pointer-events: all;
  115. width: 15vw;
  116. color: #fff;
  117. }
  118. .DrawerPage .cu-bar.tabbar .action button.icon {
  119. width: 64rpx;
  120. height: 64rpx;
  121. line-height: 64rpx;
  122. margin: 0;
  123. display: inline-block;
  124. }
  125. .DrawerPage .cu-bar.tabbar .action .cu-avatar {
  126. margin: 0;
  127. }
  128. .DrawerPage .nav {
  129. flex: 1;
  130. }
  131. .DrawerPage .nav .cu-item.cur {
  132. border-bottom: 0;
  133. position: relative;
  134. }
  135. .DrawerPage .nav .cu-item.cur::after {
  136. content: "";
  137. width: 10rpx;
  138. height: 10rpx;
  139. background-color: currentColor;
  140. position: absolute;
  141. bottom: 10rpx;
  142. border-radius: 10rpx;
  143. left: 0;
  144. right: 0;
  145. margin: auto;
  146. }
  147. .DrawerPage .cu-bar.tabbar .action {
  148. flex: initial;
  149. }