index.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. page {
  2. height: 100vh;
  3. overflow: hidden;
  4. padding: 0 !important;
  5. }
  6. /* 搜索和上传按钮 */
  7. .search-and-upload {
  8. width: 750rpx;
  9. height: 104rpx;
  10. background-color: var(--primary);
  11. box-sizing: border-box;
  12. padding: 20rpx 30rpx;
  13. .con {
  14. display: flex;
  15. justify-content: space-between;
  16. width: 100%;
  17. height: 100%;
  18. }
  19. }
  20. .upload-box {
  21. position: relative;
  22. width: 190rpx;
  23. height: 100%;
  24. .upload {
  25. position: absolute;
  26. height: 64rpx;
  27. display: flex;
  28. align-items: center;
  29. line-height: 64rpx;
  30. border-radius: 32rpx;
  31. border: 1rpx solid #fff;
  32. padding: 0 20rpx !important;
  33. box-sizing: border-box;
  34. margin: 0 20rpx;
  35. font-size: 28rpx;
  36. font-family: PingFang SC-Bold, PingFang SC;
  37. font-weight: bold;
  38. color: #FFFFFF;
  39. top: -30rpx;
  40. text {
  41. margin-right: 15rpx;
  42. }
  43. }
  44. }
  45. .switch {
  46. display: flex;
  47. align-items: center;
  48. justify-content: flex-end;
  49. width: 500rpx;
  50. padding-right: 30rpx;
  51. }
  52. .main-active {
  53. color: var(--assist) !important;
  54. }
  55. .content-active {
  56. color: var(--assist) !important;
  57. }
  58. /* 未读 */
  59. .unread {
  60. width: 750rpx;
  61. height: 34rpx;
  62. text-align: center;
  63. font-size: 24rpx;
  64. font-family: PingFang SC-Regular, PingFang SC;
  65. color: #999999;
  66. margin: 12rpx 0 -5rpx 0;
  67. }