index.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .task-tabs-box {
  2. position: relative;
  3. .scroll {
  4. width: 686rpx;
  5. height: 84rpx;
  6. background-color: #ffffff;
  7. z-index: 9;
  8. .box {
  9. display: flex;
  10. >.parallel:first-child {
  11. margin-left: 15rpx;
  12. }
  13. .parallel {
  14. flex-shrink: 0;
  15. position: relative;
  16. height: 64rpx;
  17. background: #EEEEEE;
  18. border-radius: 8rpx;
  19. transform: skew(-8deg, 0);
  20. margin-top: 20rpx;
  21. box-sizing: border-box;
  22. padding: 0 10rpx;
  23. margin-right: 20rpx;
  24. .mian {
  25. display: flex;
  26. align-items: center;
  27. height: 100%;
  28. padding: 0 30rpx;
  29. transform: skew(8deg, 0);
  30. .label {
  31. flex: 1;
  32. font-size: 24rpx;
  33. font-family: PingFang SC-Regular, PingFang SC;
  34. color: #666666;
  35. margin: 0 10rpx;
  36. text-align: center;
  37. }
  38. }
  39. }
  40. .active {
  41. background-color: #E7EEFF;
  42. .mian {
  43. .label {
  44. color: #3874F6;
  45. }
  46. }
  47. }
  48. .view-index {
  49. background-color: #3874F6;
  50. .mian {
  51. .label {
  52. color: #FFFFFF;
  53. }
  54. }
  55. }
  56. }
  57. }
  58. .select {
  59. position: absolute;
  60. width: 64rpx;
  61. height: 64rpx;
  62. line-height: 64rpx;
  63. text-align: center;
  64. right: -20rpx;
  65. top: 20rpx;
  66. background-color: #ffffff;
  67. transform: rotate(90deg);
  68. color: #3874F6;
  69. }
  70. }